You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
247 lines
22 KiB
247 lines
22 KiB
<UserControl x:Class="Gumming.ControlDEVManualView"
|
|
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"
|
|
mc:Ignorable="d"
|
|
xmlns:local="clr-namespace:Gumming"
|
|
xmlns:tool="clr-namespace:GummingCommon;assembly=GummingCommon"
|
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
d:DesignHeight="700" d:DesignWidth="1000"
|
|
Background="Transparent"
|
|
x:Name="rootControl">
|
|
<UserControl.Resources>
|
|
<tool:RadioButtonConverter x:Key="RadioConverter"/>
|
|
<tool:BooleanToOpacityConverter x:Key="OpacityConverter"/>
|
|
<tool:EditorTextConverter x:Key="TextBrushConverter"/>
|
|
<tool:EditorBorderConverter x:Key="BorderBrushConverter"/>
|
|
<tool:PathTypeToThemeConverter x:Key="PathTypeConverter"/>
|
|
<tool:StepStyleConverter x:Key="StepStyleConverter"/>
|
|
<tool:TagStyleConverter x:Key="TagStyleConverter"/>
|
|
<tool:ValveImageConverter x:Key="ValveImageConverter"/>
|
|
<tool:ChengPianImageConverter x:Key="ChengPianImageConverter"/>
|
|
<tool:CupImageConverter x:Key="CupImageConverter"/>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="400"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Image Source="/Gumming;component/Resource/controlDEV.png" Stretch="Fill" Width="400" Height="400">
|
|
</Image>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="40"></RowDefinition>
|
|
<RowDefinition Height="100"></RowDefinition>
|
|
<RowDefinition Height="260"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Image Grid.Row="2" Grid.Column="1" Source="{Binding Path=MainAxisIOStatus2,Converter={StaticResource ChengPianImageConverter}}" Stretch="Fill" Width="80" Height="100"></Image>
|
|
</Grid>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="220"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="40"></RowDefinition>
|
|
<RowDefinition Height="100"></RowDefinition>
|
|
<RowDefinition Height="260"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Image Grid.Row="2" Grid.Column="1" Source="{Binding Path=CupStatus2,Converter={StaticResource CupImageConverter}}" Stretch="Fill" Width="220" Height="100"></Image>
|
|
</Grid>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="50"></ColumnDefinition>
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
<ColumnDefinition Width="180"></ColumnDefinition>
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
<ColumnDefinition Width="50"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="325"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Grid.Row="1" Grid.Column="1" Text="BSR液" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="N2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="DI" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<TextBlock Grid.Row="1" Grid.Column="5" Text="DEV1" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}"></TextBlock>
|
|
<TextBlock Grid.Row="2" Grid.Column="5" Text="DEV2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<Image Grid.Row="1" Grid.Column="2" Source="{Binding Path=BSRIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="2" Grid.Column="2" Source="{Binding Path=N2IOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="3" Grid.Column="2" Source="{Binding Path=DIIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="1" Grid.Column="4" Source="{Binding Path=DEVIO1Status,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="2" Grid.Column="4" Source="{Binding Path=DEVIO2Status,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
</Grid>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="50"></ColumnDefinition>
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
<ColumnDefinition Width="50"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="150"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
<RowDefinition Height="115"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="承片台" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="遮挡窗" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Text="捕捉杯" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
<TextBlock Grid.Row="6" Grid.Column="1" Text="真空" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
|
|
|
|
<Image Grid.Row="2" Grid.Column="2" Source="{Binding Path=MainAxisIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="3" Grid.Column="2" Source="{Binding Path=WindowStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="4" Grid.Column="2" Source="{Binding Path=CupStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
<Image Grid.Row="6" Grid.Column="2" Source="{Binding Path=AttractIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
|
|
</Grid>
|
|
<Grid Grid.Column="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="245"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="45"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="145"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="45"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" BorderThickness="1" BorderBrush="{DynamicResource BlackBrushNormal}">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Text="电机控制" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="主轴转速" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBox Grid.Row="2" Grid.Column="2" Text="{Binding MainAxisRPM,StringFormat=F1}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="14" IsReadOnly="True"></TextBox>
|
|
<TextBlock Grid.Row="2" Grid.Column="4" Text="rpm" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBlock Grid.Row="2" Grid.Column="4" Text="ALM" HorizontalAlignment="Right" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBox Grid.Row="2" Grid.Column="6" Text="{Binding MainAxisALM}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="14" IsReadOnly="True"></TextBox>
|
|
<TextBlock Grid.Row="4" Grid.Column="2" Text="RPM" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBlock Grid.Row="4" Grid.Column="4" Text="ACC(ms)" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBlock Grid.Row="4" Grid.Column="6" Text="DEC(ms)" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<TextBlock Grid.Row="6" Grid.Column="0" Text="主轴设置" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<local:FloatBox Grid.Row="6" Grid.Column="2" Text="{Binding AxisSpeed, UpdateSourceTrigger=LostFocus, StringFormat=F1}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="14" LostFocus="AxisSpeed_LostFocus"></local:FloatBox>
|
|
<local:IntBox Grid.Row="6" Grid.Column="4" Text="{Binding AxisAcc, UpdateSourceTrigger=LostFocus, StringFormat=F0}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="14" LostFocus="AxisAcc_LostFocus"></local:IntBox>
|
|
<local:IntBox Grid.Row="6" Grid.Column="6" Text="{Binding AxisDec, UpdateSourceTrigger=LostFocus, StringFormat=F0}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="14" LostFocus="AxisDec_LostFocus"></local:IntBox>
|
|
<TextBlock Grid.Row="8" Grid.Column="0" Text="主轴旋转" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="8" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=SVONStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding SVONStatus}" Command="{Binding SVONCommand}" Content="SVON"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="8" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=RUNStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding RUNStatus}" Command="{Binding RUNCommand}" Content="RUN" PreviewMouseDown="Run_PreviewMouseDown" PreviewMouseUp="Run_PreviewMouseUp"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="8" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=HOMEStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding HOMEStatus}" Command="{Binding HOMECommand}" Content="HOME"></Button>
|
|
|
|
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="10" Grid.Column="2" Margin="2" FontSize="15" Style="{DynamicResource CommonIconButton}" Command="{Binding DevArmCommand}" Content="显影臂控制"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="10" Grid.Column="4" Margin="2" FontSize="15" Style="{DynamicResource CommonIconButton}" Command="{Binding DIN2ArmCommand}" Content="漂洗臂控制"></Button>
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="2" BorderThickness="1" BorderBrush="{DynamicResource BlackBrushNormal}">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Text="气缸控制" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="0" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=MainAxisIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding MainAxisIOStatus}" Command="{Binding MainAxisIOCommand}" Content="承片台"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="0" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=WindowStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding WindowStatus}" Command="{Binding WindowCommand}" Content="遮挡窗"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="0" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=CupStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding CupStatus}" Command="{Binding CupCommand}" Content="捕捉杯"></Button>
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="4" BorderThickness="1" BorderBrush="{DynamicResource BlackBrushNormal}">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="10"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Text="阀控制" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="0" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=AttractIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding AttractIOStatus}" Command="{Binding AttractCommand}" Content="吸片真空"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="0" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=BSRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding BSRIOStatus}" Command="{Binding BSRIOCommand}" Content="背清BSR"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=DEVIO1Status,Converter={StaticResource TagStyleConverter}}" Tag="{Binding DEVIO1Status}" Command="{Binding DEVIO1Command}" Content="显影液1"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=DEVIO2Status,Converter={StaticResource TagStyleConverter}}" Tag="{Binding DEVIO2Status}" Command="{Binding DEVIO2Command}" Content="显影液2"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="4" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=DIIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding DIIOStatus}" Command="{Binding DIIOCommand}" Content="DI"></Button>
|
|
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="4" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=N2IOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding N2IOStatus}" Command="{Binding N2IOCommand}" Content="N2"></Button>
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="6" BorderThickness="1" BorderBrush="{DynamicResource BlackBrushNormal}">
|
|
<Grid Margin="5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
<ColumnDefinition Width="10"></ColumnDefinition>
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Grid.Row="0" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=PrepareStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding PrepareStatus}" Command="{Binding PrepareCommand}" IsEnabled="{Binding ProgressEnabled}" Content="准备"></Button>
|
|
<Button Grid.Row="0" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=TerminateStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding TerminateStatus}" Command="{Binding TerminateCommand}" Content="终止"></Button>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|