添加load腔顶升和闸板阀代码
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -701,6 +701,18 @@ namespace SicUI.Client.Models.Platform.TM
|
||||
[Subscription("LoadLock.Status")]
|
||||
public string LLStatus { get; set; }
|
||||
|
||||
[Subscription("LoadLock.LLLift.UpSensor")]
|
||||
public bool LoadLiftUpSensor { get; set; }
|
||||
|
||||
[Subscription("LoadLock.LLLift.DownSensor")]
|
||||
public bool LoadLiftDownSensor { get; set; }
|
||||
|
||||
[Subscription("LoadLock.LoadLockLSideDoor.OpenFeedback")]
|
||||
public bool LoadLockLSideDoorOpenSensor { get; set; }
|
||||
|
||||
[Subscription("LoadLock.LoadLockLSideDoor.CloseFeedback")]
|
||||
public bool LoadLockLSideDoorCloseSensor { get; set; }
|
||||
|
||||
[Subscription("LoadLock.LidState")]
|
||||
public string LLLidState { get; set; }
|
||||
|
||||
@@ -1028,14 +1040,17 @@ namespace SicUI.Client.Models.Platform.TM
|
||||
|
||||
TMProvider.Instance.Purge(module);
|
||||
}
|
||||
public void LiftUp(string module)
|
||||
|
||||
public void LLLiftUp()
|
||||
{
|
||||
TMProvider.Instance.LiftUp(module);
|
||||
InvokeClient.Instance.Service.DoOperation($"LoadLock.LLLift.MoveUp");
|
||||
}
|
||||
public void LiftDown(string module)
|
||||
|
||||
public void LLLiftDown()
|
||||
{
|
||||
TMProvider.Instance.LiftDown(module);
|
||||
InvokeClient.Instance.Service.DoOperation($"LoadLock.LLLift.MoveDown");
|
||||
}
|
||||
|
||||
public void OpenDoor(string module)
|
||||
{
|
||||
TMProvider.Instance.OpenDoor(module);
|
||||
@@ -1126,7 +1141,14 @@ namespace SicUI.Client.Models.Platform.TM
|
||||
InvokeClient.Instance.Service.DoOperation($"LoadLock.LoadLidLock.MoveDown");
|
||||
}
|
||||
|
||||
|
||||
public void LoadOpenSlitValve()
|
||||
{
|
||||
InvokeClient.Instance.Service.DoOperation($"LoadLock.OpenSlitValve");
|
||||
}
|
||||
public void LoadCloseSlitValve()
|
||||
{
|
||||
InvokeClient.Instance.Service.DoOperation($"LoadLock.CloseSlitValve");
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ConfinementRing
|
||||
@@ -1153,34 +1175,5 @@ namespace SicUI.Client.Models.Platform.TM
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region EFEM
|
||||
[Subscription("EFEM.Status")]
|
||||
public string EFEMStatus { get; set; }
|
||||
|
||||
|
||||
[Subscription("EFEM.IsOnline")]
|
||||
public bool EFEMIsOnline { get; set; }
|
||||
public bool EFEMIsOffline => !EFEMIsOnline;
|
||||
|
||||
public bool IsEFEMEnableManualOperation => !EFEMIsOnline && EFEMStatus == "Idle";
|
||||
|
||||
public void EFEMHomeRoutine(string module)
|
||||
{
|
||||
InvokeClient.Instance.Service.DoOperation($"{module}.Home");
|
||||
}
|
||||
public void EFEMAbortRoutine(string module)
|
||||
{
|
||||
InvokeClient.Instance.Service.DoOperation($"{module}.Abort");
|
||||
}
|
||||
public void SetModuleOnline(string module)
|
||||
{
|
||||
InvokeClient.Instance.Service.DoOperation($"{module}.SetOnline");
|
||||
}
|
||||
public void SetModuleOffline(string module)
|
||||
{
|
||||
InvokeClient.Instance.Service.DoOperation($"{module}.SetOffline");
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user