Slave104real.h
上传用户:tengfei
上传日期:2014-02-20
资源大小:423k
文件大小:1k
- #ifndef _Slave104real_
- #define _Slave104real_
- #include "Slave104.h"
- class CSlave104_DemoDlg;
- class CSlave104real:public CSlave104
- {
- public:
- CSlave104real();
- ~CSlave104real();
-
- virtual void On_init_ASDU_process();
- virtual void On_init_Link_process();
- virtual void On_init_Sock_process();
- virtual void On_RecvMsg(_BYTE *msgbuf,_int len );//显示接收报文
- virtual void On_SendMsg(_BYTE *msgbuf,_int len);//显示发送报文
- virtual void On_ErrorMsg(char *msgbuf);
- virtual BYTE On_C_SC_select(WORD point ,BYTE status);
- virtual void On_C_SC_operate(WORD point ,BYTE status);
- virtual BYTE On_C_DC_select(WORD point ,BYTE status);
- virtual void On_C_DC_operate(WORD point ,BYTE status);
- virtual BYTE On_C_RC_select(WORD point ,BYTE status);
- virtual void On_C_RC_operate(WORD point ,BYTE status);
- virtual BYTE On_C_BO_select(WORD point ,DWORD status);
- virtual void On_C_BO_operate(WORD point ,DWORD status);
- virtual void On_C_SE_NA_operate(WORD point ,WORD status);
- virtual void On_C_SE_NB_operate(WORD point ,WORD value);
- virtual void On_C_SE_NC_operate(WORD point ,float value);
- virtual void On_C_SE_ND_operate(WORD point ,WORD value);
- CSlave104_DemoDlg *dlg;
- };
- #endif