终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

Debug.xaml 2.9 KiB

2 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <UserControl x:Class="BPASmartClient.MorkTM.View.Debug"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.MorkTM.View"
  7. xmlns:vm="clr-namespace:BPASmartClient.MorkTM.ViewModel"
  8. mc:Ignorable="d"
  9. d:DesignHeight="800" d:DesignWidth="1000"
  10. Name="调试界面">
  11. <UserControl.DataContext>
  12. <vm:DebugViewModel/>
  13. </UserControl.DataContext>
  14. <UserControl.Resources>
  15. <ResourceDictionary>
  16. <ResourceDictionary.MergedDictionaries>
  17. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  18. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  19. </ResourceDictionary.MergedDictionaries>
  20. </ResourceDictionary>
  21. </UserControl.Resources>
  22. <Grid>
  23. <Grid.ColumnDefinitions>
  24. <ColumnDefinition Width="*"/>
  25. <ColumnDefinition Width="*"/>
  26. </Grid.ColumnDefinitions>
  27. <Grid.RowDefinitions>
  28. <RowDefinition Height="2*"/>
  29. <RowDefinition Height="2*"/>
  30. <RowDefinition Height="10*"/>
  31. <RowDefinition Height="10*"/>
  32. </Grid.RowDefinitions>
  33. <StackPanel Orientation="Horizontal">
  34. <TextBlock Text="出料口" Margin="10,0"/>
  35. <ComboBox ItemsSource="{Binding Materials}" Width="80" Margin="20,0"/>
  36. <TextBlock Text="出料量" Margin="40,0,10,0"/>
  37. <TextBox Text="{Binding MaertialsWight}" Width="60" Margin="10,0"/>
  38. <Button Content="出料" Margin="40,0" Command="{Binding OutMaterials}"/>
  39. </StackPanel>
  40. <Button Grid.Column="1"
  41. Width="120" Margin="20,0" HorizontalAlignment="Left"
  42. Content="转盘转动" Command="{Binding TurnOn}"/>
  43. <Border BorderBrush="White" BorderThickness="2" Grid.Column="0" Grid.Row="1" Grid.RowSpan="2"/>
  44. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  45. <TextBlock Text="奶茶" Margin="20,0"/>
  46. <ComboBox ItemsSource="{Binding}" Width="120"/>
  47. </StackPanel>
  48. <Grid Grid.Row="2">
  49. <Grid.ColumnDefinitions>
  50. <ColumnDefinition Width="*"/>
  51. </Grid.ColumnDefinitions>
  52. <Grid.RowDefinitions>
  53. <RowDefinition Height="4*"/>
  54. <RowDefinition Height="*"/>
  55. </Grid.RowDefinitions>
  56. <Viewbox Stretch="Fill">
  57. </Viewbox>
  58. <Button Content="制作"
  59. Grid.Row="3" Grid.ColumnSpan="4"
  60. HorizontalAlignment="Center"/>
  61. </Grid>
  62. </Grid>
  63. </UserControl>