#ifndef IEC103_SRV_YJ_123_INCLUDED #define IEC103_SRV_YJ_123_INCLUDED //如果是发布程序,定义本宏 //#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