Example #1
0
 void Reader_OnApiException(Core.ErrInfo e)
 {
     if (e.Ei.ErrCode == "FF22")
     {
         showMsg(e.Ei.ErrMsg);
     }
     else if (e.Ei.ErrCode == "FF24")//
     {
         showMsg(e.Ei.ErrMsg);
     }
 }
Example #2
0
 private static void Reader_OnApiException(Core.ErrInfo e)
 {
     if (e.Ei.ErrCode == "FF22")
     {
         Logger.Error(e.Ei.ErrMsg);
         if (isTryReconnNet)
         {
             ReConn();
         }
     }
     else if (e.Ei.ErrCode == "FF24")//发现连接作废,不作断网恢复尝试
     {
         Logger.Error(e.Ei.ErrMsg);
         isTryReconnNet = false;
     }
 }
Example #3
0
 void Reader_OnApiException(Core.ErrInfo e)
 {
     if (e.Ei.ErrCode == "FF22")
     {
         changeCtrlEnable("disconn");
         showMsg(e.Ei.ErrMsg);
         if (isTryReconnNet)
         {
             ReConn();
         }
     }
     else if (e.Ei.ErrCode == "FF24")//发现连接作废,不作断网恢复尝试
     {
         isTryReconnNet = false;
         changeCtrlEnable("disconn");
         showMsg(e.Ei.ErrMsg);
     }
 }