186 lines
7.9 KiB
XML
186 lines
7.9 KiB
XML
<UserControl
|
|
x:Class="WeldingCommon.Views.UCTestDevice"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:aurorauicomponent="clr-namespace:AuroraUIComponent;assembly=AuroraUIComponent"
|
|
xmlns:behavior="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:WeldingCommon.Views"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:usercontrols="clr-namespace:AuroraUIComponent.UserControls;assembly=AuroraUIComponent"
|
|
xmlns:view="clr-namespace:Aurora.View;assembly=Aurora" x:Name="ucTestDevice"
|
|
d:DataContext="{d:DesignInstance Type=local:UCTestDeviceViewModel}"
|
|
d:DesignHeight="800" d:DesignWidth="1200" mc:Ignorable="d">
|
|
<behavior:Interaction.Triggers>
|
|
<behavior:PropertyChangedTrigger Binding="{Binding IsVisible, ElementName=ucManualFlatnessMeasure}">
|
|
<behavior:InvokeCommandAction Command="{Binding CMD_VisibleChanged}" CommandParameter="{Binding IsVisible, ElementName=ucManualFlatnessMeasure}" />
|
|
</behavior:PropertyChangedTrigger>
|
|
</behavior:Interaction.Triggers>
|
|
|
|
<Grid Margin="10">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="1*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<!-- CAS -->
|
|
<GroupBox
|
|
Grid.Column="0" Margin="5" Header="CAS"
|
|
IsEnabled="{Binding CASEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding CASMethodList}"
|
|
SelectedItem="{Binding Selected_CASMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_CAS}"
|
|
CommandParameter="{Binding Selected_CASMethod}"
|
|
Content="Run Selected CAS Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- Cell Tracker -->
|
|
<GroupBox
|
|
Grid.Column="1" Margin="5" Header="CellTracker"
|
|
IsEnabled="{Binding CellTrackerEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding CellTrackerMethodList}"
|
|
SelectedItem="{Binding Selected_CellTrackerMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_CellTracker}"
|
|
CommandParameter="{Binding Selected_CellTrackerMethod}"
|
|
Content="Run Selected CellTracker Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- IO Device -->
|
|
<GroupBox
|
|
Grid.Column="2" Margin="5" Header="IO Device"
|
|
IsEnabled="{Binding IODeviceEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding IODeviceMethodList}"
|
|
SelectedItem="{Binding Selected_IODeviceMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_IODevice}"
|
|
CommandParameter="{Binding Selected_IODeviceMethod}"
|
|
Content="Run Selected IO Device Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- Laser -->
|
|
<GroupBox
|
|
Grid.Column="3" Margin="5" Header="Laser"
|
|
IsEnabled="{Binding LaserEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding LaserMethodList}"
|
|
SelectedItem="{Binding Selected_LaserMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_Laser}"
|
|
CommandParameter="{Binding Selected_LaserMethod}"
|
|
Content="Run Selected Laser Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- Scanner -->
|
|
<GroupBox
|
|
Grid.Row="1" Grid.Column="0" Margin="5" Header="Scanner"
|
|
IsEnabled="{Binding ScannerEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding ScannerMethodList}"
|
|
SelectedItem="{Binding Selected_ScannerMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_Scanner}"
|
|
CommandParameter="{Binding Selected_ScannerMethod}"
|
|
Content="Run Selected Scanner Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- LBAD -->
|
|
<GroupBox
|
|
Grid.Row="1" Grid.Column="1" Margin="5" Header="LBAD"
|
|
IsEnabled="{Binding LBADEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding LBADMethodList}"
|
|
SelectedItem="{Binding Selected_LBADMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_LBAD}"
|
|
CommandParameter="{Binding Selected_LBADMethod}"
|
|
Content="Run Selected LBAD Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- AJIN : MotionBoard -->
|
|
<GroupBox
|
|
Grid.Row="1" Grid.Column="2" Margin="5" Header="AJIN Device"
|
|
IsEnabled="{Binding AJINDeviceEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding AJINDeviceMethodList}"
|
|
SelectedItem="{Binding Selected_AJINDeviceMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_AJINDevice}"
|
|
CommandParameter="{Binding Selected_AJINDeviceMethod}"
|
|
Content="Run Selected AJIN Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
<!-- OCT -->
|
|
<GroupBox
|
|
Grid.Row="1" Grid.Column="3" Margin="5" Header="OCT"
|
|
IsEnabled="{Binding OCTEnabled}"
|
|
Style="{StaticResource StGroupBox2nd}">
|
|
<StackPanel>
|
|
<ComboBox
|
|
Height="40" Margin="3"
|
|
ItemsSource="{Binding OCTMethodList}"
|
|
SelectedItem="{Binding Selected_OCTMethod}" />
|
|
<Button
|
|
Height="40" Margin="3"
|
|
Command="{Binding CMD_TestDevice_OCT}"
|
|
CommandParameter="{Binding Selected_OCTMethod}"
|
|
Content="Run Selected OCT Method"
|
|
Style="{StaticResource StButtonAccentBlue}" />
|
|
</StackPanel>
|
|
</GroupBox>
|
|
|
|
|
|
</Grid>
|
|
</UserControl>
|