|
- <UserControl x:Class="BPASmartClient.MorkTM.View.Debug"
- 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:BPASmartClient.MorkTM.View"
- xmlns:vm="clr-namespace:BPASmartClient.MorkTM.ViewModel"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="1000"
- Name="调试界面">
- <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 Width="*"/>
- <ColumnDefinition Width="*"/>
-
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="2*"/>
- <RowDefinition Height="2*"/>
- <RowDefinition Height="10*"/>
- <RowDefinition Height="10*"/>
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="出料口" Margin="10,0"/>
- <ComboBox ItemsSource="{Binding Materials}" Width="80" Margin="20,0"/>
- <TextBlock Text="出料量" Margin="40,0,10,0"/>
- <TextBox Text="{Binding MaertialsWight}" Width="60" Margin="10,0"/>
- <Button Content="出料" Margin="40,0" Command="{Binding OutMaterials}"/>
- </StackPanel>
-
- <Button Grid.Column="1"
- Width="120" Margin="20,0" HorizontalAlignment="Left"
- Content="转盘转动" Command="{Binding TurnOn}"/>
- <Border BorderBrush="White" BorderThickness="2" Grid.Column="0" Grid.Row="1" Grid.RowSpan="2"/>
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
- <TextBlock Text="奶茶" Margin="20,0"/>
- <ComboBox ItemsSource="{Binding}" Width="120"/>
- </StackPanel>
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
-
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="4*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Viewbox Stretch="Fill">
-
- </Viewbox>
- <Button Content="制作"
- Grid.Row="3" Grid.ColumnSpan="4"
- HorizontalAlignment="Center"/>
- </Grid>
-
-
- </Grid>
- </UserControl>
|