map/das-dn/hostiec104/host_iec104.h

23 lines
623 B
C
Raw Permalink Normal View History

2024-07-08 10:27:17 +08:00
#ifndef _ZJD_HOST_IEC104_PROCESS_H_
#define _ZJD_HOST_IEC104_PROCESS_H_
#include "iec104.h"
class CHostIEC104Process : public CIEC104Process
{
public:
CHostIEC104Process();
virtual ~CHostIEC104Process();
public:
BOOLEAN OnPreCreate(int id);
BOOLEAN OnCreated(int id);
BOOLEAN Run(void);
BOOLEAN OnTimer(void);
BOOLEAN OnIFrameReceived(WORD ns, WORD nr, BYTE* pBuf, int count, int ord);
BOOLEAN OnUFrameReceived(BOOLEAN STARTDT_ACT, BOOLEAN STARTDT_CON, BOOLEAN STOPDT_ACT, BOOLEAN STOPDT_CON, BOOLEAN TESTFR_ACT, BOOLEAN TESTFR_CON, int ord);
};
#endif //_ZJD_HOST_IEC104_PROCESS_H_