diff --git a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs index a23109c..68f5545 100644 --- a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs +++ b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs @@ -167,6 +167,7 @@ namespace SlnMesnac.WPF.Page machineStatusDtos.ForEach(x => MachineWarnCollection(x)); + realtimeStatusList.ForEach(x => x.UpdateTime = DateTime.Now); dmsRealtimeStatusService.Update(realtimeStatusList); } @@ -863,6 +864,7 @@ namespace SlnMesnac.WPF.Page /// private bool StopMachine(int stopLevel = 0) { + bool result = false; plc.writeBoolByAddress(baseBusiness.GetPlcAddressByConfigKey("拆包机远程启动"), false);