终端一体化运控平台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

96 linhas
7.4 KiB

  1. <UserControl x:Class="BPASmartClient.MorkF.View.DebugView"
  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.MorkF.View"
  7. mc:Ignorable="d"
  8. d:DesignHeight="600" d:DesignWidth="1300">
  9. <UserControl.Resources>
  10. <ResourceDictionary>
  11. <ResourceDictionary.MergedDictionaries>
  12. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  13. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  14. </ResourceDictionary.MergedDictionaries>
  15. </ResourceDictionary>
  16. </UserControl.Resources>
  17. <Grid>
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="120" ></RowDefinition>
  20. <RowDefinition Height="100"></RowDefinition>
  21. <RowDefinition></RowDefinition>
  22. </Grid.RowDefinitions>
  23. <GroupBox Header="设备控制" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="120">
  24. <WrapPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="0,5,0,0">
  25. <Button Content="初始化" Command="{Binding PlcInite}" Margin="10,0,10,0" Cursor="Hand"></Button>
  26. <Button Content="模拟订单" Command="{Binding SimulateOrder}" Margin="10,0,10,0" Cursor="Hand"></Button>
  27. <Button Content="自动模式" Command="{ Binding AutoModel}" Margin="10,0,10,0" Cursor="Hand"></Button>
  28. <Button Content="手动模式" Command="{Binding ManualModel}" Margin="10,0,10,0"></Button>
  29. <Button Content="打开抽风" Command="{Binding OpenExhaust}" Margin="10,0,10,0"></Button>
  30. <Button Content="关闭抽风" Command="{Binding CloaseExhaust}" Margin="10,0,10,0"></Button>
  31. <Button Content="料仓1" Command="{Binding MaterialOne}" Margin="10,0,10,0"></Button>
  32. <Button Content="料仓2" Command="{Binding MaterialTwo}" Margin="10,0,10,0"></Button>
  33. <Button Content="料仓3" Command="{Binding MaterialThree}" Margin="10,0,10,0"></Button>
  34. <Button Content="料仓4" Command="{Binding MaterialFour}" Margin="10,0,10,0"></Button>
  35. <Button Content="料仓5" Command="{Binding MaterialFive}" Margin="10,0,10,0"></Button>
  36. <Button Content="供盘" Command="{Binding OutPlate}" Margin="10,0,10,0"></Button>
  37. <Button Content="清洗模组1启动" Command="{Binding StartQXOne}" Margin="10,0,10,0"></Button>
  38. <Button Content="清洗模组2启动" Command="{Binding StartQXTwo}" Margin="10,10,10,0" Cursor="Hand"></Button>
  39. <CheckBox Name="checkValue" Content="运行模拟订单程序" Margin="10,10,10,0" IsChecked="{Binding SimOrderEnable}"></CheckBox>
  40. </WrapPanel>
  41. </GroupBox>
  42. <GroupBox Header="菜品选择" FontSize="15" Foreground="Aqua" Grid.Row="1" Margin="0,0,0,40" VerticalAlignment="Top" Height="100">
  43. <WrapPanel Orientation="Horizontal" Height="52" VerticalAlignment="Center" >
  44. <Button Content="手撕包菜" Command="{Binding ShreddCabbage}" Margin="10,0,10,0"></Button>
  45. <Button Content="盐煎肉" Command="{Binding FryPork}" Margin="10,0,10,0"></Button>
  46. <Button Content="酱烧杏鲍菇" Command="{Binding XingBaoGu}" Margin="10,0,10,0"></Button>
  47. </WrapPanel>
  48. </GroupBox>
  49. <StackPanel Orientation="Vertical" Grid.Row="2">
  50. <GroupBox Header="机器人控制" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="95">
  51. <WrapPanel Orientation="Horizontal" Grid.RowSpan="2" VerticalAlignment="Top" Margin="0,5,0,0" >
  52. <Button Content="取锅" Command="{Binding TakePot}" Margin="10,0,10,0"></Button>
  53. <!--<Button Content="取锅复位" Command="{Binding TakePotReset}" Margin="10,0,10,0"></Button>-->
  54. <Button Content="取料" Command="{Binding TakeMaterial}" Margin="10,0,10,0"></Button>
  55. <Button Content="出餐" Command="{Binding OutMeal}" Margin="10,0,10,0"></Button>
  56. </WrapPanel>
  57. </GroupBox>
  58. <GroupBox Header="炒锅1" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="140">
  59. <WrapPanel VerticalAlignment="Top" Margin="0,5,0,0">
  60. <Button Content="注油" Command="{Binding AddOil}" Margin="10,0,10,0"></Button>
  61. <Button Content="加热关闭" Command="{Binding TempTurnOff}" Margin="10,0,10,0"></Button>
  62. <Button Content="加热1挡" Command="{Binding OneBlock}" Margin="10,0,10,0"></Button>
  63. <Button Content="加热2挡" Command="{Binding TwoBlock}" Margin="10,0,10,0"></Button>
  64. <Button Content="加热3挡" Command="{Binding ThreeBlock}" Margin="10,0,10,0"></Button>
  65. <Button Content="翻炒机关闭" Command="{Binding OverTurnOff}" Margin="10,0,10,0" Cursor="Hand"></Button>
  66. <Button Content="翻炒机上升" Command="{Binding OverGoOn}" Margin="10,0,15,0" Cursor="Hand"></Button>
  67. <Button Content="翻炒机下降" Command="{Binding OverGoDown}" Margin="10,0,10,0"></Button>
  68. <Button Content="翻炒机1挡" Command="{Binding OverOneBlock}" Margin="10,0,10,0"></Button>
  69. <Button Content="翻炒机2挡" Command="{Binding OverTwoBlock}" Margin="10,0,10,0"></Button>
  70. <Button Content="翻炒机3挡" Command="{Binding OverThreeBlock}" Margin="10,0,10,0"></Button>
  71. </WrapPanel>
  72. </GroupBox>
  73. <GroupBox Header="炒锅2" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="140">
  74. <WrapPanel VerticalAlignment="Top" Margin="0,5,0,0">
  75. <Button Content="注油" Command="{Binding SecAddOil}" Margin="10,0,10,0"></Button>
  76. <Button Content="加热关闭" Command="{Binding SecTempTurnOff}" Margin="10,0,10,0"></Button>
  77. <Button Content="加热1挡" Command="{Binding SecOneBlock}" Margin="10,0,10,0"></Button>
  78. <Button Content="加热2挡" Command="{Binding SecTwoBlock}" Margin="10,0,10,0"></Button>
  79. <Button Content="加热3挡" Command="{Binding SecThreeBlock}" Margin="10,0,10,0"></Button>
  80. <Button Content="翻炒机关闭" Command="{Binding SecOverTurnOff}" Margin="10,0,10,0" Cursor="Hand"></Button>
  81. <Button Content="翻炒机上升" Command="{Binding SecOverGoOn}" Margin="10,0,15,0" Cursor="Hand"></Button>
  82. <Button Content="翻炒机下降" Command="{Binding SecOverGoDown}" Margin="10,0,10,0"></Button>
  83. <Button Content="翻炒机1挡" Command="{Binding SecOverOneBlock}" Margin="10,0,10,0"></Button>
  84. <Button Content="翻炒机2挡" Command="{Binding SecOverTwoBlock}" Margin="10,0,10,0"></Button>
  85. <Button Content="翻炒机3挡" Command="{Binding SecOverThreeBlock}" Margin="10,0,10,0"></Button>
  86. </WrapPanel>
  87. </GroupBox>
  88. </StackPanel>
  89. </Grid>
  90. </UserControl>