This commit is contained in:
Admin 2026-03-21 16:22:57 +08:00
parent 499be07abb
commit 10361cbd0a
2 changed files with 18 additions and 3 deletions

View File

@ -19,8 +19,8 @@
<mah:MetroWindow.RightWindowCommands>
<mah:WindowCommands>
<CheckBox Content="流线直通模式" IsChecked="{Binding ZhiTongMode}"></CheckBox>
<CheckBox Content="单机模式" IsChecked="{Binding OfflineMode}"></CheckBox>
<CheckBox Content="空跑模式" IsChecked="{Binding CurrentMachine.RunningMode}"></CheckBox>
<!--<CheckBox Content="单机模式" IsChecked="{Binding OfflineMode}"></CheckBox>-->
<!--<CheckBox Content="空跑模式" IsChecked="{Binding CurrentMachine.RunningMode}"></CheckBox>-->
<!--<CheckBox Content="联机空跑" IsChecked="{Binding RunningModePlas}"></CheckBox>-->
<!--<ComboBox Grid.Row="4" Grid.Column="5" VerticalContentAlignment="Center" Margin="1" Text="请选择串口" ItemsSource="{Binding LightCOM.ComPortList}" SelectedItem="{Binding SerialProt}"/>-->
<Button Content="切换主题" Click="SubjectSwitch" ></Button>

View File

@ -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
{