commCPU_SUPV/code/user/inc/iec103_srv_yj.h

36 lines
1007 B
C
Raw Permalink Normal View History

2025-04-30 16:24:29 +08:00
#ifndef IEC103_SRV_YJ_123_INCLUDED
#define IEC103_SRV_YJ_123_INCLUDED
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬶<EFBFBD><F2A3ACB6><EFBFBD><E5B1BE>
//#define IEC60870_RELEASE
#include "general_defines.h"
#include "iec103_service_srv.h"
#ifdef __cplusplus
extern "C" {
#endif
/************************************************************************/
ST_RET iec103_srv_yj_init( IEC103_SERVICE_SRV_SERIAL *iec103_srv_yj );
ST_RET iec103_srv_yj_release( IEC103_SERVICE_SRV_SERIAL *iec103_srv_yj );
ST_RET iec103_srv_yj_handle( IEC103_SERVICE_SRV_SERIAL *iec103_srv_yj );
ST_RET iec103_srv_yj_asdu_send( int linkIndex, unsigned char *asdu, int asduLen, IEC103_I_ASDU_TYPE type );
ST_RET iec103_srv_yj_return_get_para( ST_INT linkIndex, ST_RET result, ST_UCHAR dstDev,
const UNION_FLOAT *dzBuff, const ST_UCHAR *dzType, ST_UCHAR dzNum );
ST_RET iec103_srv_yj_return_set_para( ST_INT linkIndex, ST_RET result, ST_UCHAR dstDev );
/************************************************************************/
#ifdef __cplusplus
}
#endif
#endif