public FormCloudDllDemo() { InitializeComponent(); FConnAck_CBF = new TUSR_ConnAckEvent(ConnAck_CBF); FSubscribeAck_CBF = new TUSR_SubscribeAckEvent(SubscribeAck_CBF); FUnSubscribeAck_CBF = new TUSR_UnSubscribeAckEvent(UnSubscribeAck_CBF); FPubAck_CBF = new TUSR_PubAckEvent(PubAck_CBF); FRcvParsedDataPointPush_CBF = new TUSR_RcvParsedEvent(RcvParsedDataPointPush_CBF); FRcvParsedDevStatusPush_CBF = new TUSR_RcvParsedEvent(RcvParsedDevStatusPush_CBF); FRcvParsedDevAlarmPush_CBF = new TUSR_RcvParsedEvent(RcvParsedDevAlarmPush_CBF); FRcvParsedOptionResponseReturn_CBF = new TUSR_RcvParsedEvent(RcvParsedOptionResponseReturn_CBF); FRcvRawFromDev_CBF = new TUSR_RcvRawFromDevEvent(RcvRawFromDev_CBF); }
/// <summary> /// 设置 接收设备原始数据流 回调函数 【云交换机】 /// </summary> /// <param name="OnRcvRawFromDev"></param> /// <returns></returns> public static extern bool USR_OnRcvRawFromDev(TUSR_RcvRawFromDevEvent OnRcvRawFromDev);