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.

250 lines
25 KiB

<UserControl x:Class="Gumming.ControlCOTManualView"
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"/>
</UserControl.Resources>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="10"></ColumnDefinition>
<ColumnDefinition Width="400"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Image Source="/Gumming;component/Resource/controlCOT.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="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="350"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1" Grid.Column="1" Text="EBR液" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
<TextBlock Grid.Row="2" Grid.Column="1" Text="BSR液" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
<TextBlock Grid.Row="1" Grid.Column="5" Text="PR1" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}"></TextBlock>
<TextBlock Grid.Row="2" Grid.Column="5" Text="PR2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
<Image Grid.Row="1" Grid.Column="2" Source="{Binding Path=EBRIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
<Image Grid.Row="2" Grid.Column="2" Source="{Binding Path=BSRIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
<Image Grid.Row="1" Grid.Column="4" Source="{Binding Path=Pr1IOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
<Image Grid.Row="2" Grid.Column="4" Source="{Binding Path=Pr2IOStatus,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="50"></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="5" Grid.Column="1" Text="真空" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
<TextBlock Grid.Row="2" Grid.Column="5" Text="胶臂" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
<TextBlock Grid.Row="3" Grid.Column="5" Text="去边臂" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="2" FontSize="14" Style="{DynamicResource YellowLabel}" ></TextBlock>
<TextBlock Grid.Row="5" Grid.Column="5" Text="CCR" 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="5" Grid.Column="2" Source="{Binding Path=AttractIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
<Image Grid.Row="2" Grid.Column="4" Source="{Binding Path=PrArmIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
<Image Grid.Row="3" Grid.Column="4" Source="{Binding Path=EbrArmIOStatus,Converter={StaticResource ValveImageConverter}}" Stretch="Fill" Width="30" Height="20"></Image>
<Image Grid.Row="5" Grid.Column="4" Source="{Binding Path=CCRIOStatus,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="85"></RowDefinition>
<RowDefinition Height="10"></RowDefinition>
<RowDefinition Height="215"></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" Background="#EFEFEF"></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 PrArmCommand}" Content="胶臂控制"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="10" Grid.Column="4" Margin="2" FontSize="15" Style="{DynamicResource CommonIconButton}" Command="{Binding EbrArmCommand}" Content="去边臂控制"></Button>
</Grid>
</Border>
<Border Grid.Row="2" BorderThickness="1" BorderBrush="{DynamicResource BlackBrushNormal}">
<Grid Margin="5">
<Grid.RowDefinitions>
<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=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=PrArmIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding PrArmIOStatus}" Command="{Binding PrArmIOCommand}" Content="胶臂升降"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="0" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=EbrArmIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding EbrArmIOStatus}" Command="{Binding EbrArmIOCommand}" Content="去边臂升降"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=WindowStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding WindowStatus}" Command="{Binding WindowCommand}" 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>
<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="0" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=EBRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding EBRIOStatus}" Command="{Binding EBRIOCommand}" Content="去边液EBR"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=EBRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding EBRIOStatus}" Command="{Binding EBRIOCommand}" Content="胶盘清洗CCR"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=EBRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding EBRIOStatus}" Command="{Binding EBRIOCommand}" Content="排风EXH"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=EBRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding EBRIOStatus}" Command="{Binding EBRIOCommand}" Content="胶头清洗"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="4" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=EBRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding EBRIOStatus}" Command="{Binding EBRIOCommand}" Content="胶头吹干"></Button>
<TextBlock Grid.Row="6" Grid.Column="0" Text="胶阀控制" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="6" Grid.Column="2" Margin="2" FontSize="15" Style="{DynamicResource CommonIconButton}" Command="{Binding PR1Command}" Content="PR1打胶"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="6" Grid.Column="4" Margin="2" FontSize="15" Style="{DynamicResource CommonIconButton}" Command="{Binding PR2Command}" Content="PR2打胶"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="6" Grid.Column="6" Margin="2" FontSize="15" Style="{DynamicResource CommonIconButton}" Command="{Binding PR3Command}" Content="PR3打胶"></Button>
<!--<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="2" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=CCRIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding CCRIOStatus}" Command="{Binding CCRCommand}" Content="CCR"></Button>-->
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="8" Grid.Column="2" Margin="2" FontSize="15" Style="{Binding Path=PR1YeIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding PR1YeIOStatus}" Command="{Binding PR1YeIOCommand}" Content="PR1吸胶"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="8" Grid.Column="4" Margin="2" FontSize="15" Style="{Binding Path=PR2YeIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding PR2YeIOStatus}" Command="{Binding PR2YeIOCommand}" Content="PR2吸胶"></Button>
<Button IsEnabled="{Binding ProgressEnabled}" Grid.Row="8" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=PR2YeIOStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding PR2YeIOStatus}" Command="{Binding PR2YeIOCommand}" Content="PR3吸胶"></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>
<TextBlock Grid.Row="0" Grid.Column="0" Text="工位操作" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="2" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
<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>
<Button Grid.Row="0" Grid.Column="6" Margin="2" FontSize="15" Style="{Binding Path=TerminateStatus,Converter={StaticResource TagStyleConverter}}" Tag="{Binding TerminateStatus}" Command="{Binding TerminateCommand}" Content="初始化"></Button>
</Grid>
</Border>
</Grid>
</Grid>
</UserControl>