添加load腔顶升和闸板阀代码

This commit is contained in:
SIC1016\caipeilun
2026-08-14 18:22:33 +08:00
parent 4f3e308d3d
commit f763c30701
8 changed files with 396 additions and 102 deletions
+150 -33
View File
@@ -1321,6 +1321,7 @@
<RowDefinition Height="32" />
<RowDefinition Height="32" />
<RowDefinition Height="32" />
<RowDefinition Height="32" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
@@ -1729,46 +1730,162 @@
</Border>
<Border
Grid.Row="6"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
Grid.Row="6"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
lex:ResxLocalizationProvider.DefaultDictionary="lang_tmview"
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_CoolingTime}"
TextWrapping="Wrap" />
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_Door}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="6"
Grid.Column="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{Binding LoadCoolingTime, StringFormat=0.0}"
TextAlignment="Center"
TextWrapping="Wrap" />
Grid.Row="6"
Grid.Column="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<TextBlock Margin="0,7,0,0"
VerticalAlignment="Top"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="LeftSide"
TextAlignment="Center"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="6"
Grid.Column="2"
Padding="5,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal" />
Grid.Row="6"
Grid.Column="2"
Padding="5,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal">
<Button
Width="80"
Height="25"
Margin="10,0"
HorizontalAlignment="Left"
Content="{lex:Loc ID_BTN_Open_Content}"
IsEnabled="{Binding IsLLEnableManualOperation}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LoadOpenSlitValve" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<deviceControl:AITSensor
HorizontalAlignment="Center"
VerticalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LoadLockLSideDoorOpenSensor}" />
<Button
Width="80"
Height="25"
Margin="10,0"
HorizontalAlignment="Left"
Content="{lex:Loc ID_BTN_Close_Content}"
IsEnabled="{Binding IsLLEnableManualOperation}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LoadCloseSlitValve" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<deviceControl:AITSensor
HorizontalAlignment="Center"
VerticalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LoadLockLSideDoorCloseSensor}" />
</StackPanel>
</Border>
<Border
Grid.Row="7"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_Lift}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="7"
Grid.Column="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text=""
TextAlignment="Center"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="7"
Grid.Column="2"
Padding="5,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal">
<deviceControl:AITSensor
Margin="10,0,0,0"
HorizontalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LoadLiftUpSensor}" />
<Button
Width="80"
Height="24"
Margin="10,0"
HorizontalAlignment="Left"
lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
Content="{lex:Loc ID_BTN_Up_Content}"
IsEnabled="{Binding IsLLEnableManualOperation}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LLLiftUp" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<deviceControl:AITSensor
Margin="60,0,0,0"
HorizontalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LoadLiftDownSensor}" />
<Button
Width="80"
Height="24"
Margin="10,0"
HorizontalAlignment="Left"
lex:ResxLocalizationProvider.DefaultDictionary="lang_efemview"
Content="{lex:Loc ID_BTN_Down_Content}"
IsEnabled="{Binding IsLLEnableManualOperation}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LLLiftDown" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</StackPanel>
</Border>
</Grid>
</StackPanel>