40 lines
2.3 KiB
XML
40 lines
2.3 KiB
XML
<UserControl x:Class="MainShell.Manual.View.WaferAngleAdjustmentView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:MainShell.Manual.View" xmlns:mw="http://www.maxwell-gp.com/"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ContentControl Content="{Binding CameraAxisViewModel}" />
|
|
<GroupBox Grid.Column="1" Header="{DynamicResource WaferAngleAdjustment}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Vertical" Margin="5">
|
|
<GroupBox Style="{StaticResource GroupBoxSecondary}" MinHeight="120" Header="{DynamicResource WaferAngleResult}">
|
|
<StackPanel Margin="5" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
<mw:NumberBox IsReadOnly="True" Value="{Binding SubstrateAngle}" Width="120"/>
|
|
</StackPanel>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1">
|
|
<!-- 开始按钮:运行时禁用 -->
|
|
<Button Content="{DynamicResource Start}" Click="{mw:Action StartProcess}" Style="{StaticResource StartButtonStyle}" Margin="5"
|
|
IsEnabled="{Binding Runner.IsRunning, Converter={StaticResource boolToInversionConverter}}" />
|
|
<!-- 停止按钮:仅运行时启用 -->
|
|
<Button Content="{DynamicResource Stop}" Click="{mw:Action StopProcess}" Style="{StaticResource StopButtonStyle }" Margin="5"
|
|
IsEnabled="{Binding Runner.IsRunning}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</UserControl>
|