www.pudn.com > 200311301927570.rar > Lable.h


// Lable.h: interface for the CLable class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_LABLE_H__0642F935_7C70_41C9_ABD4_0A6E5962698A__INCLUDED_) 
#define AFX_LABLE_H__0642F935_7C70_41C9_ABD4_0A6E5962698A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class AFX_EXT_CLASS CLable   
{ 
public: 
	CLable(); 
	virtual ~CLable(); 
public: 
	static CString GetProvider(CString Lable); 
	static CString GetStatusStr(CString Lable); 
	static CString GetGateIdStr(CString Lable); 
	static bool GetNeedReport(CString Lable); 
	static CString GetFeecodeStr(CString Lable); 
	static CString GetFeetypeStr(CString Lable); 
	static CString GetMsgIdStr(CString Lable); 
	static CString GetProvinceStr(CString Lable); 
	static int GetType(CString Lable); 
 
	static  __int64 GetGateId(CString Lable); 
	static	int GetFeecode(CString Lable);//计费代码 
	static	int GetFeetype(CString Lable);//收费类型 
	static	CString GetFeePhone(CString Lable);//收费手机号码 
	static	CString GetDestId(CString Lable);//目标手机号 
	static	int GetMsgId(CString Lable);//系统消息编号 
	static	CString GetValidTime(CString Lable);//有效时间 
	static	CString GetSevId(CString Lable);//服务号 
	static	CString GetSrcId(CString Lable);//源号码 
	static	int GetProvinceCode(CString Lable); 
	static	int GetPortNum(CString Lable); 
	static  CString SwitchSevId(CString sevid); 
 
	static BYTE GetCodeType(const CString strLable); 
	static BYTE GetFormatType(int nMsgFormatInLable); 
	static	int GetMsgFormat(CString Lable); 
 
	static	bool LableDestPhone(CString &Lable, CString Phone); 
	static	bool LableFeePhone(CString &Lable, CString phone); 
	static	bool LableFeecode(CString &Lable, int price); 
	static	bool LableSourcePhone(CString &Lable,CString SourcePhone); 
	static	bool LableFeetype(CString &Lable,CString Feetype); 
	static	bool LableProvince(CString &Lable,int Province); 
	static	bool LableService(CString &Lable,CString Service); 
}; 
 
#endif // !defined(AFX_LABLE_H__0642F935_7C70_41C9_ABD4_0A6E5962698A__INCLUDED_)