C00225155-02/C00225155/MegaRobo.C00225155/MegaRobo.C00225155App/DevicesViews/HamiltonDebugView.xaml

82 lines
7.3 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<UserControl x:Class="MegaRobo.C00225155App.DevicesViews.HamiltonDebugView"
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:MegaRobo.C00225155App.DevicesViews"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d" DataContext="{Binding HamiltonDebugVM, Source={StaticResource vmLocator}}"
d:DesignHeight="550" d:DesignWidth="900" Width="900" Height="550">
<Border BorderBrush="Black" BorderThickness="1,0,1,1">
<Grid Background="WhiteSmoke">
<Grid.RowDefinitions>
<RowDefinition Height="45"/>
<RowDefinition Height="100"/>
<RowDefinition Height="120"/>
<RowDefinition Height="120"/>
<RowDefinition Height="120"/>
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="White" BorderBrush="#1778e9" BorderThickness="0,1,0,1">
<Label Content="移液枪___Can通讯" Margin="10,0" FontSize="18" Foreground="Black"/>
</Border>
<GroupBox Grid.Row="1" Header="扫码枪" Foreground="#1778e9" BorderThickness="2" BorderBrush="Gray" Margin="20,0,20,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal">
<Button Content="配置站触发扫码:" Width="120" Height="40" FontSize="15" Foreground="Black" Style="{StaticResource okBtnStyle }" Margin="5" Command="{Binding Path=RunCommand}" CommandParameter="Scan_Config"/>
<Border BorderBrush="#FF85BBEB" BorderThickness="1" CornerRadius="2" Width="200" Margin="0" Height="40">
<TextBlock Text="{Binding Scanner1Result,Mode=TwoWay}" />
</Border>
</StackPanel>
<StackPanel Grid.Column="1" Orientation="Horizontal">
<Button Content="检测站触发扫码:" Width="120" Height="40" Foreground="Black" FontSize="15" Style="{StaticResource okBtnStyle }" Margin="5" Command="{Binding Path=RunCommand}" CommandParameter="Scan_Detect"/>
<Border BorderBrush="#FF85BBEB" BorderThickness="1" CornerRadius="2" Width="200" Margin="0" Height="40">
<TextBlock Text="{Binding Scanner2Result,Mode=TwoWay}" />
</Border>
</StackPanel>
</Grid>
</GroupBox>
<GroupBox Grid.Row="2" Header="配置站--1ml移液枪" Foreground="#1778e9" BorderThickness="2" BorderBrush="Gray" Margin="20,0,20,0">
<WrapPanel Orientation="Horizontal" Margin="0,30,0,0">
<Button Style="{StaticResource btnMenu1}" Content="初始化" Width="80" Command="{Binding InitPipeCommand}" CommandParameter="1ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="加载枪头" Width="80" Command="{Binding PickUpCommand}" CommandParameter="1ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="卸载枪头" Width="80" Command="{Binding DiscardCommand}" CommandParameter="1ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="吸液" Width="80" Command="{Binding GunAspirationCommand}" CommandParameter="1ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="分液" Width="80" Command="{Binding GunDispensingCommand}" CommandParameter="1ml"></Button>
<TextBlock Style="{StaticResource txtBlockStyle}" Text="Z坐标" Width="60" Margin="20,0,0,0"/>
<TextBox Text="{Binding Pos1,Mode=TwoWay}" Width="110" HorizontalContentAlignment="Center"/>
<Button Style="{StaticResource btnMenu1}" Content="1mlZ轴移动" Width="100" Command="{Binding ZMoveCommand}" CommandParameter="1ml"></Button>
</WrapPanel>
</GroupBox>
<GroupBox Grid.Row="3" Header="配置站--5ml移液枪" Foreground="#1778e9" BorderThickness="2" BorderBrush="Gray" Margin="20,0,20,5">
<WrapPanel Orientation="Horizontal" Margin="0,30,0,0">
<Button Style="{StaticResource btnMenu1}" Content="初始化" Width="80" Command="{Binding InitPipeCommand}" CommandParameter="5ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="加载枪头" Width="80" Command="{Binding PickUpCommand}" CommandParameter="5ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="卸载枪头" Width="80" Command="{Binding DiscardCommand}" CommandParameter="5ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="吸液" Width="80" Command="{Binding GunAspirationCommand}" CommandParameter="5ml"></Button>
<Button Style="{StaticResource btnMenu1}" Content="分液" Width="80" Command="{Binding GunDispensingCommand}" CommandParameter="5ml"></Button>
<TextBlock Style="{StaticResource txtBlockStyle}" Text="Z坐标" Width="60" Margin="20,0,0,0"/>
<TextBox Text="{Binding Pos,Mode=TwoWay}" Width="110" HorizontalContentAlignment="Center" />
<Button Style="{StaticResource btnMenu1}" Content="5mlZ轴移动" Width="100" Command="{Binding ZMoveCommand}" CommandParameter="5ml"></Button>
</WrapPanel>
</GroupBox>
<GroupBox Grid.Row="4" Header="检测站--5ml移液枪" Foreground="#1778e9" BorderThickness="2" BorderBrush="Gray" Margin="20,0,20,5">
<WrapPanel Orientation="Horizontal" Margin="0,30,0,0">
<Button Style="{StaticResource btnMenu1}" Content="初始化" Width="80" Command="{Binding InitPipeCommand}" CommandParameter="5ml_Detect"></Button>
<Button Style="{StaticResource btnMenu1}" Content="加载枪头" Width="80" Command="{Binding PickUpCommand}" CommandParameter="5ml_Detect"></Button>
<Button Style="{StaticResource btnMenu1}" Content="卸载枪头" Width="80" Command="{Binding DiscardCommand}" CommandParameter="5ml_Detect"></Button>
<Button Style="{StaticResource btnMenu1}" Content="吸液" Width="80" Command="{Binding GunAspirationCommand}" CommandParameter="5ml_Detect"></Button>
<Button Style="{StaticResource btnMenu1}" Content="分液" Width="80" Command="{Binding GunDispensingCommand}" CommandParameter="5ml_Detect"></Button>
<TextBlock Style="{StaticResource txtBlockStyle}" Text="Z坐标" Width="60" Margin="20,0,0,0"/>
<TextBox Text="{Binding Pos3,Mode=TwoWay}" Width="110" HorizontalContentAlignment="Center" />
<Button Style="{StaticResource btnMenu1}" Content="5mlZ轴移动" Width="100" Command="{Binding ZMoveCommand}" CommandParameter="5ml_Detect"></Button>
</WrapPanel>
</GroupBox>
</Grid>
</Border>
</UserControl>