首次上传
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
||||
{
|
||||
/// <summary>
|
||||
/// PMHeaterView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class PMHeaterView : UserControl
|
||||
{
|
||||
public PMHeaterView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
||||
{
|
||||
/// <summary>
|
||||
/// PMProcessView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class PMProcessView : UserControl
|
||||
{
|
||||
public PMProcessView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void BtnLockRecipe_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
recipeLocker.Lock();
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,635 @@
|
||||
<Window
|
||||
x:Class="MECF.Framework.UI.Client.CenterViews.Modules.PM.ProcessMonitorView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:lex="http://wpflocalizeextension.codeplex.com"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Width="600"
|
||||
Height="380"
|
||||
lex:LocalizeDictionary.DesignCulture="zh"
|
||||
lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
|
||||
lex:ResxLocalizationProvider.DefaultDictionary="lang_messagebox"
|
||||
Topmost="True"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
mc:Ignorable="d">
|
||||
<Window.Resources>
|
||||
<Style TargetType="TextBlock">
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="TextAlignment" Value="Center" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="TextWrapping" Value="Wrap" />
|
||||
<Setter Property="Margin" Value="3" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Border">
|
||||
<Setter Property="Background" Value="{DynamicResource Table_BG_Title}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Table_BD}" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="InfBorder" TargetType="Border">
|
||||
<Setter Property="Background" Value="{DynamicResource Table_BG_Content}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Table_BD}" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
</Style>
|
||||
</Window.Resources>
|
||||
<Viewbox Margin="2" Stretch="Fill">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="85" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="5" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="5" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="100" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="100" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="90" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Grid Grid.ColumnSpan="6">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="25" />
|
||||
<RowDefinition Height="5" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="100" />
|
||||
<ColumnDefinition />
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Border
|
||||
Grid.ColumnSpan="2"
|
||||
Background="#FF243664"
|
||||
CornerRadius="8,8,0,0">
|
||||
<TextBlock
|
||||
Padding="8,0,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontSize="14"
|
||||
FontWeight="Bold"
|
||||
Foreground="White"
|
||||
Text="{lex:Loc ID_TXT_Process_Monitor}" />
|
||||
</Border>
|
||||
|
||||
|
||||
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="1,0,1,1">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
FontFamily="Arial"
|
||||
FontSize="14"
|
||||
FontWeight="Bold"
|
||||
Text="PM1" />
|
||||
<TextBlock
|
||||
lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
|
||||
FontFamily="Arial"
|
||||
FontSize="14"
|
||||
FontWeight="Bold"
|
||||
Text="{lex:Loc ID_TXT_Recipe}" />
|
||||
</StackPanel>
|
||||
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock HorizontalAlignment="Left" Text="{Binding Pm1Monitor.RecipeName}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="1,0,1,1">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
FontFamily="Arial"
|
||||
FontSize="14"
|
||||
FontWeight="Bold"
|
||||
Text="PM2" />
|
||||
<TextBlock
|
||||
lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
|
||||
FontFamily="Arial"
|
||||
FontSize="14"
|
||||
FontWeight="Bold"
|
||||
Text="{lex:Loc ID_TXT_Recipe}" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock HorizontalAlignment="Left" Text="{Binding Pm2Monitor.RecipeName}" />
|
||||
</Border>
|
||||
|
||||
|
||||
<!--<Border
|
||||
Grid.Column="1"
|
||||
CornerRadius="0,10,0,0"
|
||||
Background="#FF243664"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock
|
||||
Text="{Binding Pm1Monitor.RecipeName}" FontSize="14" Foreground="White" HorizontalAlignment="Left" Padding="8,0,0,0"/>
|
||||
</Border>-->
|
||||
<!--<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Background="#FF243664"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock
|
||||
Text="{Binding Pm2Monitor.RecipeName}" FontSize="14" Foreground="White" HorizontalAlignment="Left" Padding="8,0,0,0"/>
|
||||
</Border>-->
|
||||
|
||||
</Grid>
|
||||
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="1,1,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Model_Name}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,1,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="PM1" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,1,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="PM2" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Step_NO}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.StepNumber}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.Column="2"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.StepNumber}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="3"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,1,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Model_Name}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="4"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,1,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="PM1" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="5"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,1,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="PM2" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.Column="3"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Step_Name}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.Column="4"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.StepName}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.Column="5"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.StepName}" />
|
||||
</Border>
|
||||
|
||||
|
||||
<Border
|
||||
Grid.Row="3"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Step_Time}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.StepTime}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.StepTime}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="3"
|
||||
Grid.Column="3"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Recipe_Time}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="3"
|
||||
Grid.Column="4"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.RecipeTime}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="3"
|
||||
Grid.Column="5"
|
||||
Padding="5,1,0,1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.RecipeTime}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="4"
|
||||
Grid.ColumnSpan="6"
|
||||
Background="{DynamicResource Table_BG_Content}"
|
||||
BorderBrush="{DynamicResource Table_BD}"
|
||||
BorderThickness="1,0,1,1"
|
||||
SnapsToDevicePixels="True" />
|
||||
|
||||
<!-- PSU/SCR Mode -->
|
||||
<Border
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_PSU_Mode}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
BorderThickness="0,0,1,1"
|
||||
SnapsToDevicePixels="True"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.PsuMode}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
BorderThickness="0,0,1,1"
|
||||
SnapsToDevicePixels="True"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.PsuMode}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="5"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_SCR_Mode}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="5"
|
||||
Grid.Column="4"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.ScrMode}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="5"
|
||||
Grid.Column="5"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.ScrMode}" />
|
||||
</Border>
|
||||
<!-- 底部三区功率 -->
|
||||
<Border
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Power_Inner}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.PSU1Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="6"
|
||||
Grid.Column="2"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.PSU1Power}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="6"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Power_Upper}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="6"
|
||||
Grid.Column="4"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.SCR1Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="6"
|
||||
Grid.Column="5"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.SCR1Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Power_Middle}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.PSU2Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="7"
|
||||
Grid.Column="2"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.PSU2Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="7"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Power_Middle}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="7"
|
||||
Grid.Column="4"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.SCR2Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="7"
|
||||
Grid.Column="5"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.SCR2Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Power_Outer}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.PSU3Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="8"
|
||||
Grid.Column="2"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.PSU3Power}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="8"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Power_Lower}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="8"
|
||||
Grid.Column="4"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.SCR3Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="8"
|
||||
Grid.Column="5"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.SCR3Power}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="9"
|
||||
Grid.ColumnSpan="6"
|
||||
Background="{DynamicResource Table_BG_Content}"
|
||||
BorderBrush="{DynamicResource Table_BD}"
|
||||
BorderThickness="1,0,1,1" />
|
||||
|
||||
|
||||
<!-- SCR功率 -->
|
||||
|
||||
|
||||
<!-- 底部三区温度 -->
|
||||
|
||||
<!--<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="Pyro Lower" />
|
||||
</Border>-->
|
||||
<!--<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
Style="{StaticResource InfBorder}"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{Binding Pm1Monitor.SCRL3InputTemp}" />
|
||||
</Border>-->
|
||||
<!--<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="2"
|
||||
Style="{StaticResource InfBorder}"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock Text="{Binding Pm2Monitor.SCRL3InputTemp}" />
|
||||
</Border>-->
|
||||
<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock lex:ResxLocalizationProvider.DefaultDictionary="lang_common" Text="{lex:Loc ID_TXT_Pressure}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="4"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.ChamberPressureFeedback}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="5"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.ChamberPressureFeedback}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Pyro_Middle}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.L2InputTemp}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="10"
|
||||
Grid.Column="2"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.L2InputTemp}" />
|
||||
</Border>
|
||||
|
||||
<Border
|
||||
Grid.Row="11"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontSize="11"
|
||||
Foreground="{DynamicResource FG_Black}"
|
||||
Text="{lex:Loc ID_TXT_Rotate_Speed}"
|
||||
TextWrapping="Wrap" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="11"
|
||||
Grid.Column="4"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.ActualSpeedFeedback}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="11"
|
||||
Grid.Column="5"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.ActualSpeedFeedback}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="11"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="{lex:Loc ID_TXT_Pyro_Outer}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="11"
|
||||
Grid.Column="1"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm1Monitor.L3InputTemp}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="11"
|
||||
Grid.Column="2"
|
||||
BorderThickness="0,0,1,1"
|
||||
Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="{Binding Pm2Monitor.L3InputTemp}" />
|
||||
</Border>
|
||||
|
||||
<!--<Border
|
||||
Grid.Row="12"
|
||||
Grid.Column="3"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontSize="11"
|
||||
Foreground="{DynamicResource FG_Black}"
|
||||
Text=""
|
||||
TextWrapping="Wrap" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="12"
|
||||
Grid.Column="4"
|
||||
Style="{StaticResource InfBorder}"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="12"
|
||||
Grid.Column="5"
|
||||
Style="{StaticResource InfBorder}"
|
||||
BorderThickness="0,0,1,1">
|
||||
<TextBlock />
|
||||
</Border>-->
|
||||
<!-- 腔体压力 转速 -->
|
||||
|
||||
|
||||
|
||||
</Grid>
|
||||
</Viewbox>
|
||||
</Window>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
||||
{
|
||||
/// <summary>
|
||||
/// ProcessMonitorView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class ProcessMonitorView : Window
|
||||
{
|
||||
public ProcessMonitorView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,212 @@
|
||||
using Aitex.Core.Util;
|
||||
using Aitex.Core.Common.DeviceData;
|
||||
using MECF.Framework.UI.Client.ClientBase;
|
||||
using System;
|
||||
using Aitex.Core.RT.Device.PmDevices;
|
||||
|
||||
namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
||||
{
|
||||
public class ProcessMonitorViewModel : SicModuleUIViewModelBase
|
||||
{
|
||||
|
||||
public ProcessMonitorViewModel()
|
||||
{
|
||||
Pm1Monitor = new MonitorModel() { SystemName = "PM1" };
|
||||
Pm2Monitor = new MonitorModel() { SystemName = "PM2" };
|
||||
|
||||
|
||||
}
|
||||
|
||||
public MonitorModel Pm1Monitor { get; set; }
|
||||
public MonitorModel Pm2Monitor { get; }
|
||||
|
||||
|
||||
protected override void OnInitialize()
|
||||
{
|
||||
base.OnInitialize();
|
||||
|
||||
Pm1Monitor.SubscribeKeys();
|
||||
Pm2Monitor.SubscribeKeys();
|
||||
}
|
||||
|
||||
protected override void OnActivate()
|
||||
{
|
||||
base.OnActivate();
|
||||
|
||||
Pm1Monitor.EnableTimer(true);
|
||||
Pm2Monitor.EnableTimer(true);
|
||||
}
|
||||
|
||||
protected override void OnDeactivate(bool close)
|
||||
{
|
||||
base.OnDeactivate(close);
|
||||
|
||||
Pm1Monitor.EnableTimer(false);
|
||||
Pm2Monitor.EnableTimer(false);
|
||||
}
|
||||
}
|
||||
public class MonitorModel : SicModuleUIViewModelBase, ISupportMultipleSystem
|
||||
{
|
||||
public string TargetModule { get; set; }
|
||||
|
||||
|
||||
[Subscription("SelectedRecipeName")]
|
||||
public string RecipeName { get; set; }
|
||||
|
||||
[Subscription("RecipeStepNumber")]
|
||||
public int RecipeStepNumber { get; set; }
|
||||
|
||||
[Subscription("RecipeStepName")]
|
||||
public string RecipeStepName { get; set; }
|
||||
|
||||
[Subscription("RecipeStepElapseTime")]
|
||||
public int RecipeStepElapseTime { get; set; }
|
||||
|
||||
[Subscription("RecipeStepTime")]
|
||||
public int RecipeStepTime { get; set; }
|
||||
|
||||
[Subscription("RecipeTotalElapseTime")]
|
||||
public int RecipeTotalElapseTime { get; set; }
|
||||
|
||||
[Subscription("RecipeTotalTime")]
|
||||
public int RecipeTotalTime { get; set; }
|
||||
|
||||
[Subscription("TC1.HeaterModeSetPoint")]
|
||||
public float TC1HeaterMode { get; set; }
|
||||
|
||||
[Subscription("TC2.HeaterModeSetPoint")]
|
||||
public float TC2HeaterMode { get; set; }
|
||||
|
||||
[Subscription("SCR1.PowerFeedBack")]
|
||||
public float SCR1Power { get; set; }
|
||||
|
||||
[Subscription("SCR2.PowerFeedBack")]
|
||||
public float SCR2Power { get; set; }
|
||||
|
||||
[Subscription("SCR3.PowerFeedBack")]
|
||||
public float SCR3Power { get; set; }
|
||||
|
||||
[Subscription("PSU1.OutputPowerFeedBack")]
|
||||
public float PSU1Power { get; set; }
|
||||
|
||||
[Subscription("PSU2.OutputPowerFeedBack")]
|
||||
public float PSU2Power { get; set; }
|
||||
|
||||
[Subscription("PSU3.OutputPowerFeedBack")]
|
||||
public float PSU3Power { get; set; }
|
||||
|
||||
[Subscription("TC1.L2InputTempSetPoint")]
|
||||
public float L2InputTemp { get; set; }
|
||||
|
||||
[Subscription("TC1.L3InputTempSetPoint")]
|
||||
public float L3InputTemp { get; set; }
|
||||
|
||||
[Subscription("TC2.L3InputTempSetPoint")]
|
||||
public float SCRL3InputTemp { get; set; }
|
||||
|
||||
[Subscription("PMServo.ActualSpeedFeedback")]
|
||||
public float ActualSpeedFeedback { get; set; }
|
||||
|
||||
[Subscription("PT1.DeviceData")]
|
||||
public AITPressureMeterData ChamPress { get; set; }
|
||||
|
||||
[Subscription("TC1.TempCtrlTCIN")]
|
||||
public float PM1Temprature { get; set; }
|
||||
|
||||
[Subscription("Status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
public bool IsPMProcess => Status == "Process" || Status == "PostProcess" || Status == "Paused" ||
|
||||
Status == "PMMacroPause" || Status == "PMMacro" || Status == "PostPMMacro";
|
||||
|
||||
public bool IsPreProcess => Status == "PreProcess" || Status == "PrePMMacro";
|
||||
|
||||
public string StepNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IsPMProcess)
|
||||
{
|
||||
return $"{RecipeStepNumber}";
|
||||
}
|
||||
else if (IsPreProcess)
|
||||
{
|
||||
return "0";
|
||||
}
|
||||
return "--";
|
||||
|
||||
}
|
||||
set
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public string StepName
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IsPMProcess)
|
||||
{
|
||||
return $"{RecipeStepName}";
|
||||
}
|
||||
else if (IsPreProcess)
|
||||
{
|
||||
return "0";
|
||||
}
|
||||
return "--";
|
||||
}
|
||||
}
|
||||
|
||||
public string StepTime
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IsPMProcess)
|
||||
{
|
||||
return $"{RecipeStepElapseTime}/{RecipeStepTime}";
|
||||
}
|
||||
else if (IsPreProcess)
|
||||
{
|
||||
return "0";
|
||||
}
|
||||
return "--";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public string RecipeTime
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IsPMProcess)
|
||||
{
|
||||
return $"{RecipeTotalElapseTime}/{RecipeTotalTime}";
|
||||
}
|
||||
else if (IsPreProcess)
|
||||
{
|
||||
return "0";
|
||||
}
|
||||
return "--";
|
||||
}
|
||||
}
|
||||
|
||||
public string PsuMode
|
||||
{
|
||||
get
|
||||
{
|
||||
return Enum.GetName(typeof(HeatStrategy), Convert.ToInt32(TC1HeaterMode));
|
||||
}
|
||||
}
|
||||
|
||||
public string ScrMode
|
||||
{
|
||||
get
|
||||
{
|
||||
return Enum.GetName(typeof(HeatStrategy), Convert.ToInt32(TC2HeaterMode));
|
||||
}
|
||||
}
|
||||
|
||||
public string ChamberPressureFeedback => ChamPress?.FeedBack.ToString(ChamPress?.FormatString);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
||||
{
|
||||
public class ShowCloseMonitorWinEvent
|
||||
{
|
||||
public ShowCloseMonitorWinEvent(bool isShow)
|
||||
{
|
||||
IsShow = isShow;
|
||||
}
|
||||
|
||||
public bool IsShow { get; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user