2023-06-08 17:34:02 +08:00
|
|
|
|
<UserControl
|
|
|
|
|
x:Class="SicUI.Models.PMs.PMMfcRorView"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:cal="http://www.caliburn.org"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
|
|
|
|
|
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
|
|
|
|
xmlns:local="clr-namespace:SicUI.Models.PMs"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
d:DesignHeight="800"
|
|
|
|
|
d:DesignWidth="1000"
|
|
|
|
|
mc:Ignorable="d">
|
2023-06-05 14:39:23 +08:00
|
|
|
|
<UserControl.Resources>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
|
<Setter Property="FontSize" Value="15" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
|
|
|
<Setter Property="Margin" Value="3" />
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Left" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<Style TargetType="Border">
|
|
|
|
|
<Setter Property="Background" Value="#FFD0DEEB" />
|
|
|
|
|
<Setter Property="BorderBrush" Value="Gray" />
|
|
|
|
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="1,0,1,1" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="InfBorder" TargetType="Border">
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<Setter Property="Background" Value="White" />
|
|
|
|
|
<Setter Property="BorderBrush" Value="Gray" />
|
|
|
|
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="0,0,1,1" />
|
|
|
|
|
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Style>
|
|
|
|
|
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<Style TargetType="TextBox">
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="FontSize" Value="15" />
|
|
|
|
|
<Setter Property="Margin" Value="3" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<ColumnDefinition Width="400" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<RowDefinition Height="280" />
|
|
|
|
|
<RowDefinition Height="220" />
|
|
|
|
|
<RowDefinition />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<StackPanel
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Width="320"
|
|
|
|
|
Margin="5"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Height="30"
|
|
|
|
|
Background="#FF243664"
|
|
|
|
|
BorderThickness="0"
|
|
|
|
|
CornerRadius="8,8,0,0">
|
|
|
|
|
<TextBlock
|
|
|
|
|
Padding="8,0,0,0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="13"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Text="基准MFC" />
|
|
|
|
|
</Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<StackPanel Width="200" HorizontalAlignment="Left">
|
2023-06-05 14:39:23 +08:00
|
|
|
|
<Border BorderThickness="1,0,1,1">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="基准MFC" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="压力P1(mbar)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="压力P2(mbar)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="压力P3(mbar)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="压力P4(mbar)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="反应腔平均压差(mbar/ts)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="MFC实际流量(sccm)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<TextBlock Text="MFC设定流量(sccm)" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Width="120" HorizontalAlignment="Left">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<Border Background="#FFD6D6D6" BorderThickness="0,0,1,1">
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.Name}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.Pressure1}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.Pressure2}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.Pressure3}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.Pressure4}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.MeanDifferencePressure}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.ActualFlow}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding StandardMfcRorData.SetFlow}" />
|
|
|
|
|
</Border>
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
Width="320"
|
|
|
|
|
Margin="5"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
|
Height="30"
|
|
|
|
|
Background="#FF243664"
|
2023-06-07 10:10:59 +08:00
|
|
|
|
BorderThickness="0"
|
2023-06-08 17:34:02 +08:00
|
|
|
|
CornerRadius="8,8,0,0">
|
|
|
|
|
<TextBlock
|
|
|
|
|
Padding="8,0,0,0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="13"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Text="Set" />
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<StackPanel Width="200" HorizontalAlignment="Left">
|
|
|
|
|
<Border>
|
|
|
|
|
<TextBlock Text="反应腔温度(K)" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
|
|
|
|
<TextBlock Text="压力记录时间间隔(s)" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
|
|
|
|
<TextBlock Text="设定流量(sccm)" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
|
|
|
|
<TextBlock Text="设定为标准MFC" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
|
|
|
|
<TextBlock Text="MFC量程(sccm)" />
|
|
|
|
|
</Border>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Width="120">
|
|
|
|
|
<Border Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBox Text="{Binding SelectedMfcRorData.Temperature}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBox Text="{Binding SelectedMfcRorData.Interval}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBox Text="{Binding SelectedMfcRorData.SetFlow,StringFormat=0}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border>
|
|
|
|
|
<CheckBox
|
|
|
|
|
Margin="5"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsChecked="{Binding SelectedMfcRorData.IsStandardMfc}" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
|
|
|
<TextBlock Text="{Binding SelectedMfcRorData.Scale}" />
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Height="20" />
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
Margin="5"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Border
|
|
|
|
|
Width="320"
|
2023-06-07 10:10:59 +08:00
|
|
|
|
Margin="0,0,0,10"
|
|
|
|
|
HorizontalAlignment="Left"
|
2023-06-08 17:34:02 +08:00
|
|
|
|
BorderThickness="0"
|
|
|
|
|
CornerRadius="8,8,0,0">
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
|
<Border
|
|
|
|
|
Background="#FF243664"
|
|
|
|
|
BorderThickness="0"
|
|
|
|
|
CornerRadius="8,8,0,0">
|
|
|
|
|
<TextBlock
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="13"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Text="Set" />
|
|
|
|
|
</Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
|
|
|
<ComboBox
|
2023-06-08 17:34:02 +08:00
|
|
|
|
Width="120"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="5,5,0,5"
|
|
|
|
|
FontSize="15"
|
|
|
|
|
ItemsSource="{Binding MfcList}"
|
|
|
|
|
SelectedItem="{Binding SelectedMfcRorData.Name}">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="SelectionChanged">
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<cal:ActionMessage MethodName="MfcSelectionChanged" />
|
2023-06-07 10:10:59 +08:00
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
|
|
|
|
|
<Button
|
2023-06-08 17:34:02 +08:00
|
|
|
|
Width="80"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="15,5,0,5"
|
|
|
|
|
Content="Save">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="Click">
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<cal:ActionMessage MethodName="Save" />
|
2023-06-07 10:10:59 +08:00
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</Button>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<Button
|
2023-06-08 17:34:02 +08:00
|
|
|
|
Width="80"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="15,5,0,5"
|
|
|
|
|
Content="Start">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="Click">
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<cal:ActionMessage MethodName="StartMfcRor" />
|
2023-06-07 10:10:59 +08:00
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</Button>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
|
2023-06-07 10:10:59 +08:00
|
|
|
|
</StackPanel>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
|
2023-06-07 10:10:59 +08:00
|
|
|
|
</StackPanel>
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Border>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<Border
|
|
|
|
|
Width="320"
|
|
|
|
|
Margin="0,10,0,0"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
BorderThickness="1,0,1,1"
|
|
|
|
|
CornerRadius="8,8,0,0">
|
|
|
|
|
<StackPanel Width="302" Orientation="Horizontal">
|
|
|
|
|
<StackPanel Margin="0,15">
|
|
|
|
|
<StackPanel Height="40" Orientation="Horizontal">
|
|
|
|
|
<TextBlock Width="75" Text="Start Time" />
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<WindowsFormsHost
|
2023-06-05 14:39:23 +08:00
|
|
|
|
Width="170"
|
|
|
|
|
Height="22"
|
2023-06-07 10:10:59 +08:00
|
|
|
|
Margin="20,0,0,0"
|
2023-06-05 14:39:23 +08:00
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontFamily="Arial"
|
|
|
|
|
FontSize="14">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<forms:DateTimePicker
|
2023-06-05 14:39:23 +08:00
|
|
|
|
CustomFormat="yyyy/MM/dd HH:mm:ss"
|
|
|
|
|
Format="Custom"
|
2023-06-07 10:10:59 +08:00
|
|
|
|
Value="2023-1-1" />
|
|
|
|
|
</WindowsFormsHost>
|
|
|
|
|
</StackPanel>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<StackPanel
|
|
|
|
|
Height="40"
|
|
|
|
|
Margin="0,5,0,0"
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<TextBlock Width="75" Text="End Time" />
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<WindowsFormsHost
|
2023-06-05 14:39:23 +08:00
|
|
|
|
Width="170"
|
|
|
|
|
Height="22"
|
2023-06-07 10:10:59 +08:00
|
|
|
|
Margin="20,0,0,0"
|
2023-06-05 14:39:23 +08:00
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontFamily="Arial"
|
|
|
|
|
FontSize="14">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<forms:DateTimePicker
|
2023-06-05 14:39:23 +08:00
|
|
|
|
x:Name="wfTimeTo"
|
|
|
|
|
CustomFormat="yyyy/MM/dd HH:mm:ss"
|
|
|
|
|
Format="Custom"
|
2023-06-07 10:10:59 +08:00
|
|
|
|
Value="2023-1-1" />
|
|
|
|
|
</WindowsFormsHost>
|
|
|
|
|
</StackPanel>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<StackPanel Margin="5" Orientation="Horizontal">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<Button
|
2023-06-08 17:34:02 +08:00
|
|
|
|
Width="100"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="5,0,5,0"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
Content="Query">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
|
|
<cal:ActionMessage MethodName="Query">
|
|
|
|
|
<cal:ActionMessage.Parameters>
|
|
|
|
|
<cal:Parameter Value="123" />
|
|
|
|
|
</cal:ActionMessage.Parameters>
|
|
|
|
|
</cal:ActionMessage>
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button
|
2023-06-08 17:34:02 +08:00
|
|
|
|
Width="100"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="40,0,0,0"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
Content="Append"
|
|
|
|
|
ToolTip="Append selected items to current chart">
|
2023-06-07 10:10:59 +08:00
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
|
|
<cal:ActionMessage MethodName="Query">
|
|
|
|
|
<cal:ActionMessage.Parameters>
|
|
|
|
|
<cal:Parameter Value="123" />
|
|
|
|
|
</cal:ActionMessage.Parameters>
|
|
|
|
|
</cal:ActionMessage>
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</Button>
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
2023-06-07 10:10:59 +08:00
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
</StackPanel>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.RowSpan="2"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
Margin="10,5,0,0">
|
2023-06-05 14:39:23 +08:00
|
|
|
|
<Grid.RowDefinitions>
|
2023-06-08 17:34:02 +08:00
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition Height="300" />
|
2023-06-05 14:39:23 +08:00
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|