终端一体化运控平台
Não pode escolher mais do que 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.
 
 
 

95 linhas
7.3 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. </WrapPanel>
  40. </GroupBox>
  41. <GroupBox Header="菜品选择" FontSize="15" Foreground="Aqua" Grid.Row="1" Margin="0,0,0,40" VerticalAlignment="Top" Height="100">
  42. <WrapPanel Orientation="Horizontal" Height="52" VerticalAlignment="Center" >
  43. <Button Content="手撕包菜" Command="{Binding ShreddCabbage}" Margin="10,0,10,0"></Button>
  44. <Button Content="盐煎肉" Command="{Binding FryPork}" Margin="10,0,10,0"></Button>
  45. <Button Content="酱烧杏鲍菇" Command="{Binding XingBaoGu}" Margin="10,0,10,0"></Button>
  46. </WrapPanel>
  47. </GroupBox>
  48. <StackPanel Orientation="Vertical" Grid.Row="2">
  49. <GroupBox Header="机器人控制" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="95">
  50. <WrapPanel Orientation="Horizontal" Grid.RowSpan="2" VerticalAlignment="Top" Margin="0,5,0,0" >
  51. <Button Content="取锅" Command="{Binding TakePot}" Margin="10,0,10,0"></Button>
  52. <!--<Button Content="取锅复位" Command="{Binding TakePotReset}" Margin="10,0,10,0"></Button>-->
  53. <Button Content="取料" Command="{Binding TakeMaterial}" Margin="10,0,10,0"></Button>
  54. <Button Content="出餐" Command="{Binding OutMeal}" Margin="10,0,10,0"></Button>
  55. </WrapPanel>
  56. </GroupBox>
  57. <GroupBox Header="炒锅1" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="140">
  58. <WrapPanel VerticalAlignment="Top" Margin="0,5,0,0">
  59. <Button Content="注油" Command="{Binding AddOil}" Margin="10,0,10,0"></Button>
  60. <Button Content="加热关闭" Command="{Binding TempTurnOff}" Margin="10,0,10,0"></Button>
  61. <Button Content="加热1挡" Command="{Binding OneBlock}" Margin="10,0,10,0"></Button>
  62. <Button Content="加热2挡" Command="{Binding TwoBlock}" Margin="10,0,10,0"></Button>
  63. <Button Content="加热3挡" Command="{Binding ThreeBlock}" Margin="10,0,10,0"></Button>
  64. <Button Content="翻炒机关闭" Command="{Binding OverTurnOff}" Margin="10,0,10,0" Cursor="Hand"></Button>
  65. <Button Content="翻炒机上升" Command="{Binding OverGoOn}" Margin="10,0,15,0" Cursor="Hand"></Button>
  66. <Button Content="翻炒机下降" Command="{Binding OverGoDown}" Margin="10,0,10,0"></Button>
  67. <Button Content="翻炒机1挡" Command="{Binding OverOneBlock}" Margin="10,0,10,0"></Button>
  68. <Button Content="翻炒机2挡" Command="{Binding OverTwoBlock}" Margin="10,0,10,0"></Button>
  69. <Button Content="翻炒机3挡" Command="{Binding OverThreeBlock}" Margin="10,0,10,0"></Button>
  70. </WrapPanel>
  71. </GroupBox>
  72. <GroupBox Header="炒锅2" FontSize="15" Foreground="Aqua" VerticalAlignment="Center" Height="140">
  73. <WrapPanel VerticalAlignment="Top" Margin="0,5,0,0">
  74. <Button Content="注油" Command="{Binding SecAddOil}" Margin="10,0,10,0"></Button>
  75. <Button Content="加热关闭" Command="{Binding SecTempTurnOff}" Margin="10,0,10,0"></Button>
  76. <Button Content="加热1挡" Command="{Binding SecOneBlock}" Margin="10,0,10,0"></Button>
  77. <Button Content="加热2挡" Command="{Binding SecTwoBlock}" Margin="10,0,10,0"></Button>
  78. <Button Content="加热3挡" Command="{Binding SecThreeBlock}" Margin="10,0,10,0"></Button>
  79. <Button Content="翻炒机关闭" Command="{Binding SecOverTurnOff}" Margin="10,0,10,0" Cursor="Hand"></Button>
  80. <Button Content="翻炒机上升" Command="{Binding SecOverGoOn}" Margin="10,0,15,0" Cursor="Hand"></Button>
  81. <Button Content="翻炒机下降" Command="{Binding SecOverGoDown}" Margin="10,0,10,0"></Button>
  82. <Button Content="翻炒机1挡" Command="{Binding SecOverOneBlock}" Margin="10,0,10,0"></Button>
  83. <Button Content="翻炒机2挡" Command="{Binding SecOverTwoBlock}" Margin="10,0,10,0"></Button>
  84. <Button Content="翻炒机3挡" Command="{Binding SecOverThreeBlock}" Margin="10,0,10,0"></Button>
  85. </WrapPanel>
  86. </GroupBox>
  87. </StackPanel>
  88. </Grid>
  89. </UserControl>