Пример #1
0
    public override void DoInWraper(Msg msg)
    {
        var _rsCode = msg.GetParam(BaseCodeMap.BaseParam.RS_CODE);

        if (_rsCode != null)
        {
            short rsCode = short.Parse(_rsCode.ToString());
            if (rsCode == BaseCodeMap.BaseRsCode.TIME_OUT)
            {
                logReport.OnWarningReport("cmd:" + msg.Cmd + " timeOut," + DateTime.Now);
                netService.Close();
            }
        }
    }