protected void ReplyTimeOutHandler(object sender, TcpIpEventArgs e) { TcpIpExceptionEventArgs excptionArg = e as TcpIpExceptionEventArgs; if (e == null) { return; } scApp.AlarmBLL.onMainAlarm(SCAppConstants.MainAlarmCode.VH_WAIT_REPLY_TIME_OUT_0_1_2 , eqpt.VEHICLE_ID , e.iPacketID , e.iSeqNum); }
protected void SendErrorHandler(object sender, TcpIpEventArgs e) { TcpIpExceptionEventArgs excptionArg = e as TcpIpExceptionEventArgs; if (e == null) { return; } scApp.AlarmBLL.onMainAlarm(SCAppConstants.MainAlarmCode.VH_SEND_MSG_ERROR_0_1_2 , eqpt.VEHICLE_ID , e.iPacketID , e.iSeqNum); }