www.pudn.com > IEC104MasterSlave.rar > Master104.h, change:2013-04-16,size:847b


#ifndef _MASTER104_ 
#define _MASTER104_ 
 
#include "IEC104Master.h" 
 
// 
//	Class Master104 Implement Callbacks 
// 
class CNAIEC104MasterDlg; 
class Master104:public CIEC104Master 
{ 
public: 
	Master104(){}; 
	~Master104(){}; 
 
	void OnRxAsduMsg(BYTE *msgbuf, unsigned int len ); 
	void OnTxMsg(BYTE *msgbuf, unsigned int len); 
	void OnRxMsg(BYTE *msgbuf, unsigned int len); 
	void OnErrorMsg(int code, char *msgbuf); 
	BOOL GetIsResponseUTest(); 
	BOOL GetIsResponseIFrame(); 
	BOOL GetIsResponseS(); 
 
	void onUpdateWnd(); 
	void onCloseLink(); 
 
	void OnRxSinglePoint(unsigned int asdu, unsigned long address, 
		bool value, bool valid, bool blocked, FILETIME time); 
	void OnRxMeasuredValue(unsigned int asdu, unsigned long address, 
		float value, bool valid, bool blocked, FILETIME time); 
 
	CNAIEC104MasterDlg *dlg; 
}; 
#endif