MoS2/App/SicUI/Models/Maintenances/TM/Device2View.xaml

842 lines
32 KiB
Plaintext
Raw Normal View History

2026-08-13 22:07:07 +08:00
<UserControl
x:Class="SicUI.Client.Models.Platform.TM.Device2View"
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:controls="clr-namespace:SicUI.Controls"
xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:lex="http://wpflocalizeextension.codeplex.com"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:unitControls="clr-namespace:MECF.Framework.UI.Client.Ctrlib.UnitControls;assembly=MECF.Framework.UI.Client"
xmlns:Release="clr-namespace:VMControls.WPF.Release;assembly=VMControls.WPF.Release"
d:DesignHeight="800"
d:DesignWidth="1980"
lex:LocalizeDictionary.DesignCulture="en"
lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
lex:ResxLocalizationProvider.DefaultDictionary="lang_common"
mc:Ignorable="d">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="500" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid Grid.Column="0" Margin="0 0 5 0">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="80" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="80" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="80" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="24" />
<RowDefinition Height="32" />
<RowDefinition Height="32" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition Height="40" />
<RowDefinition/>
</Grid.RowDefinitions>
<Label
Grid.ColumnSpan="6"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Content="Load Rotation"
Style="{DynamicResource Table_TitleStyle}" />
<Border
Grid.Row="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_Busy}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="1"
Grid.Column="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LdRotationIsBusy}" />
</Border>
<Border
Grid.Row="1"
Grid.Column="2"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_Servo_On}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="1"
Grid.Column="3"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LdRotationIsServoOn}" />
</Border>
<Border
Grid.Row="1"
Grid.Column="4"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_Done}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="1"
Grid.Column="5"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LdRotationIsServoDone}" />
</Border>
<Border
Grid.Row="2"
Grid.Column="0"
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_deviceview"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_WaferPlaced}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="2"
Grid.Column="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
VerticalAlignment="Center"
CustomColorOff="Gray"
CustomColorOn="Lime"
DeviceData="{Binding LoadWaferPlaced}"
IsCustomRender="True" />
</Border>
<Border
Grid.Row="2"
Grid.Column="2"
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_deviceview"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_TrayHomeSensor}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="2"
Grid.Column="3"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
VerticalAlignment="Center"
CustomColorOff="Gray"
CustomColorOn="Lime"
DeviceData="{Binding LoadTraySensor}"
IsCustomRender="True" />
</Border>
<Border
Grid.Row="2"
Grid.Column="4"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Title}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_Error}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="2"
Grid.Column="5"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
GreenColor="True"
LightOnValue="{Binding LdRotationIsServoError}" />
</Border>
<Border
Grid.Row="5"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="{lex:Loc ID_BTN_RelativeHome_Content}"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationRelativeHome" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="5"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
Content="Offset"
IsEnabled="{Binding LdRotationBtnEnable}"
Visibility="Hidden">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationRelativeHomeOffset" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="5"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="80"
Height="30"
HorizontalAlignment="Center"
Content="{lex:Loc ID_BTN_Stop_Content}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationStop" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="6"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="{lex:Loc ID_BTN_JogCW_Content}"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationJogCW">
<cal:Parameter Value="{Binding Path=Text, ElementName=LdStationJogDegree}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="6"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal">
<TextBox
x:Name="LdStationJogDegree"
MinWidth="90"
Margin="10,10,10,9.6"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Text="0.00" />
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="°" />
</StackPanel>
</Border>
<Border
Grid.Row="6"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="80"
Height="30"
HorizontalAlignment="Center"
Content="{lex:Loc ID_BTN_ServoOn_Content}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationServoOn" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="7"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="{lex:Loc ID_BTN_JogCCW_Content}"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationJogCCW">
<cal:Parameter Value="{Binding Path=Text, ElementName=LdStationJogDegree}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="7"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
<Border
Grid.Row="7"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="80"
Height="30"
HorizontalAlignment="Center"
Content="{lex:Loc ID_BTN_Reset_Content}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationReset" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="3"
Grid.Column="0"
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_deviceview"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_CurrentPos}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="3"
Grid.Column="1"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{Binding LdRotationCurPos, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="3"
Grid.Column="2"
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_deviceview"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc ID_TXT_TrayPresence}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="3"
Grid.Column="3"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
VerticalAlignment="Center"
CustomColorOff="Gray"
CustomColorOn="Lime"
DeviceData="{Binding LoadTrayPresence}"
IsCustomRender="True" />
</Border>
<Border
Grid.Row="2"
Grid.Column="3"
Padding="5,1,0,1"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="0,0,0,1">
<deviceControl:AITSensor
HorizontalAlignment="Center"
VerticalAlignment="Center"
CustomColorOff="Gray"
CustomColorOn="Lime"
DeviceData="{Binding LoadTrayHomeSensor}"
IsCustomRender="True" />
</Border>
<Border
Grid.Row="3"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
<Border
Grid.Row="4"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="{lex:Loc ID_BTN_MoveOneCircle_Content}"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationMoveOneCircle" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="4"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
<Border
Grid.Row="4"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
<Border
Grid.Row="8"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="{lex:Loc ID_BTN_CCDPos1_Content}"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationMoveCCD1Pos" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="8"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{Binding LdCCD1Degree, StringFormat={}{0:F1}}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="8"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
<Border
Grid.Row="9"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="{lex:Loc ID_BTN_CCDPos2_Content}"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationMoveCCD2Pos" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="9"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{Binding LdCCD2Degree, StringFormat={}{0:F1}}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="9"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
<Border
Grid.Row="10"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<Button
Width="130"
Height="30"
HorizontalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_deviceview"
Content="CCDPos3"
IsEnabled="{Binding LdRotationBtnEnable}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="LdRotationMoveCCD3Pos" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Border>
<Border
Grid.Row="10"
Grid.Column="2"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{Binding LdCCD3Degree, StringFormat={}{0:F1}}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="10"
Grid.Column="4"
Grid.ColumnSpan="2"
Background="{DynamicResource Table_BG_Content}"
BorderBrush="{DynamicResource Table_BD}"
BorderThickness="1,0,1,1" />
</Grid>
<controls:CameraControl IsEnabled="{ Binding LdRotationBtnEnable}" Grid.Row="1" Margin="0 5 0 0"/>
</Grid>
<Grid Grid.Column="1" Grid.Row="0" Margin="5 0">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
<RowDefinition Height="40"/>
</Grid.RowDefinitions>
<Label HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="视觉检测" Style="{DynamicResource Table_TitleStyle}" />
<Release:VmRenderControl Grid.Row="1" IImageSource="{Binding OutputRanderImage}" />
<Border Grid.Row="2" Background="{DynamicResource Table_BG_Content}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="350"/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Padding="5,1,0,1" Background="{DynamicResource Table_BG_Title}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal" Grid.Column="0">
<TextBlock Grid.Row="2" Margin="12 3" VerticalAlignment="Center" Text="Load:"/>
<deviceControl:AITSensor HorizontalAlignment="Center" GreenColor="True" LightOnValue="{Binding VMIsLoad}" />
<TextBlock Grid.Row="2" Margin="12 3" VerticalAlignment="Center" Text="Processing:"/>
<deviceControl:AITSensor HorizontalAlignment="Center" GreenColor="True" LightOnValue="{Binding VMIsProcessing}" />
<Button Content="重载程式" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="ReloadSolution">
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</StackPanel>
</Border>
<Border Grid.Column="1" Padding="5,1,0,1" Background="{DynamicResource Table_BG_Content}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal">
<TextBlock Grid.Row="2" Width="70" Margin="12 3" VerticalAlignment="Center" Text="放晶圆检测"/>
<Button Content="测试本地照片" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="TestLocalFile">
<cal:Parameter Value="UIWaferPlaceCheck"/>
<cal:Parameter Value="false"/>
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button Content="测试当前照片" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="TestCCD">
<cal:Parameter Value="UIWaferPlaceCheck"/>
<cal:Parameter Value="false"/>
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button Content="设此为模板" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="SetSample">
<cal:Parameter Value="UIWaferPlaceCheck"/>
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</StackPanel>
</Border>
<Border Grid.Column="2" Padding="5,1,0,1" Background="{DynamicResource Table_BG_Content}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal" Grid.Column="2">
<TextBlock Grid.Row="2" Width="70" Margin="12 3" VerticalAlignment="Center" Text="组合检测"/>
<CheckBox x:Name="cbx6inch" VerticalAlignment="Center">
<TextBlock Text="6寸平边"/>
</CheckBox>
<Button Content="测试本地照片" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="TestLocalFile">
<cal:Parameter Value="UIGroupCheck"/>
<cal:Parameter Value="{Binding ElementName=cbx6inch,Path=IsChecked}"/>
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button Content="测试当前照片" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="TestCCD">
<cal:Parameter Value="UIGroupCheck"/>
<cal:Parameter Value="{Binding ElementName=cbx6inch,Path=IsChecked}"/>
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button Content="设此为模板" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="SetSample">
<cal:Parameter Value="GroupCheck"/>
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</StackPanel>
</Border>
</Grid>
</Border>
</Grid>
<!--<Grid Grid.Column="2" Grid.Row="0" Margin="5 0">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="500"/>
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<Label HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="组合检测" Style="{DynamicResource Table_TitleStyle}" />
<Release:VmRenderControl Grid.Row="1" IImageSource="{Binding OutputRanderImage}"/>
<Border Grid.Row="2" Background="{DynamicResource Table_BG_Content}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1">
<StackPanel Orientation="Horizontal">
-->
<!--<TextBlock Grid.Row="2" Width="50" Margin="12 3" VerticalAlignment="Center" Text="Func"/>-->
<!--
<Button Content="TestLocalFile" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="TestLocalFile"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button Content="TestCCD" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="TestCCD">
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button Content="SetSample" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="SetSample"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
-->
<!--<Button Content="ReloadSolution" Width="100" Height="30" Margin="12 3">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="ReloadSolution"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>-->
<!--
<TextBlock Grid.Row="2" Margin="12 3" VerticalAlignment="Center" Text="Load:"/>
<deviceControl:AITSensor HorizontalAlignment="Center" GreenColor="True" LightOnValue="{Binding VMIsLoad}" />
<TextBlock Grid.Row="2" Margin="12 3" VerticalAlignment="Center" Text="Processing:"/>
<deviceControl:AITSensor HorizontalAlignment="Center" GreenColor="True" LightOnValue="{Binding VMIsProcessing}" />
</StackPanel>
</Border>
</Grid>-->
</Grid>
</UserControl>