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