예제 #1
0
 private void OpenRFID(ICmdHost _host)
 {
     try
     {
         bool state = _host.Start();
     }
     catch (Exception ex)
     {
         _log.Error("RFID启动失败", ex);
     }
 }
예제 #2
0
 private bool OpenRFID(ICmdHost _host)
 {
     try
     {
         return(_host.Start());
     }
     catch (Exception ex)
     {
         Log.Error(ex, "RFID启动失败");
         return(false);
     }
 }