|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <UserControl x:Class="BPASmartClient.MorkT_BarCounter.View.DebugView"
- 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:vm="clr-namespace:BPASmartClient.MorkT_BarCounter.ViewModel"
- mc:Ignorable="d"
- Name="测试界面"
- d:DesignHeight="500" d:DesignWidth="1000" Unloaded="Dubug_Unloaded">
- <UserControl.DataContext>
- <vm:DebugViewModel/>
- </UserControl.DataContext>
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <WrapPanel>
- <TextBlock Grid.Column="0" Height="22" Width="100" FontSize="14">机器人执行程序:</TextBlock>
- <TextBox Margin="10" Width="80" Text="{Binding JakaRobotProgram}"></TextBox>
- <Button Margin="10" Content="启动" Width="50" Command="{Binding RobotControlCommand}"></Button>
- </WrapPanel>
- <WrapPanel Grid.Column="1">
- <TextBlock Grid.Column="0" Height="22" Width="100" FontSize="14">咖啡机执行程序:</TextBlock>
- <TextBox Margin="10" Width="80" Text="{Binding CoffeeKind}"></TextBox>
- <Button Margin="10" Content="启动" Width="50" Command="{Binding CoffeeControlCommand}"></Button>
- </WrapPanel>
- <Grid Grid.Column="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <WrapPanel Grid.Row="0" Grid.Column="0" >
- <TextBlock Width="80" FontSize="14">通道1的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[0]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="0" Grid.Column="1" >
- <TextBlock Width="80" FontSize="14">通道2的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[1]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="1" Grid.Column="0" >
- <TextBlock Width="80" FontSize="14">通道3的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[2]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="1" Grid.Column="1" >
- <TextBlock Width="80" FontSize="14">通道4的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[3]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="2" Grid.Column="0" >
- <TextBlock Width="80" FontSize="14">通道5的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[4]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="2" Grid.Column="1" >
- <TextBlock Width="80" FontSize="14">通道6的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[5]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="3" Grid.Column="0" >
- <TextBlock Width="80" FontSize="14">通道7的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[6]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="3" Grid.Column="1" >
- <TextBlock Width="80" FontSize="14">通道8的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[7]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="4" Grid.Column="0" >
- <TextBlock Width="80" FontSize="14">通道9的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[8]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="4" Grid.Column="1" >
- <TextBlock Width="80" FontSize="14">通道10的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[9]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="5" Grid.Column="0" >
- <TextBlock Width="80" FontSize="14">通道11的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[10]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="5" Grid.Column="1" >
- <TextBlock Width="80" FontSize="14">通道12的值:</TextBlock>
- <TextBox Margin="2" Width="50" Text="{Binding CH_Value[11]}"></TextBox>
- </WrapPanel>
- <WrapPanel Grid.Row="6" Grid.ColumnSpan="2" >
- <TextBlock Height="22" Width="100" FontSize="14">味魔方执行程序:</TextBlock>
- <Button Margin="2" Content="启动" Width="50" Command="{Binding MikeTeaCupControlCommand}"></Button>
- <Button Margin="2" Content="保存参数" Width="60" Command="{Binding MikeTeaCupSetParCommand}"></Button>
- </WrapPanel>
- </Grid>
-
- </Grid>
- </UserControl>
|