diff --git a/FeiYu/MainWindow.xaml b/FeiYu/MainWindow.xaml index 4bc3619..1effb92 100644 --- a/FeiYu/MainWindow.xaml +++ b/FeiYu/MainWindow.xaml @@ -19,8 +19,8 @@ - - + + diff --git a/ViewModel/MainWindowVM.cs b/ViewModel/MainWindowVM.cs index 28c757b..4eb6aab 100644 --- a/ViewModel/MainWindowVM.cs +++ b/ViewModel/MainWindowVM.cs @@ -5359,7 +5359,7 @@ namespace ViewModel NextStationSend.Request = false; //回复出料信号 MyFlow.OutCmd.Switchs = false; //流线 MyFlow.RunTime = DateTime.Now; - ExcepNoStopClear($"<后站交互>后站撤销要料回复超时"); + } else if (MyFlow.RunTime.AddSeconds(10) < DateTime.Now) { @@ -5367,6 +5367,12 @@ namespace ViewModel ExcepNoStop($"<后站交互>后站撤销要料回复超时"); NextStationSend.Request = true; //回复出料信号 MyFlow.OutCmd.Switchs = true; //流线 + + if (MyFlow.OutSignal.LightUp == false) { + + ProduceLineList[1].State.StatusBackground = ColorStr.White; + MyFlow.OutCmd.Switchs = false; //流线 + } } else { @@ -5376,6 +5382,8 @@ namespace ViewModel if (ProduceLineList[1].State.StatusBackground == ColorStr.White) { + MyFlow.OutCmd.Switchs = false; //流线 + ExcepNoStopClear($"<后站交互>后站撤销要料回复超时"); NextStationSend.Request = false; //回复出料信号 MyFlow.RunStep = GengralProcessEnum.Start; MyFlow.RunTime = DateTime.Now; @@ -5463,6 +5471,13 @@ namespace ViewModel ExcepNoStop($"<后站交互>后站撤销要料回复超时"); NextStationSend.RequestCache = true; //回复出料信号 MyFlow.OutCmd.Switchs = true; //流线 + + if (MyFlow.OutSignal.LightUp == false) + { + + ProduceLineList[1].State.StatusBackground = ColorStr.White; + MyFlow.OutCmd.Switchs = false; //流线 + } } else {