src/Bro.Process/ProcessControl.cs
@@ -208,11 +208,18 @@ d.OnLog -= OnDeviceLog; d.OnLog += OnDeviceLog; d.OnExceptionOccured = OnDeviceExceptionRaised; d.StateChange(DeviceState.DSInit); d.StateChange(DeviceState.DSOpen); } }); } private void OnDeviceExceptionRaised(DateTime dt, Exception ex) { LogAsync(dt, "设备异常", ex.GetExceptionMessage()); } #endregion #region Close