终端一体化运控平台
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

89 рядки
3.8 KiB

  1. <UserControl x:Class="BPASmartClient.JXJFoodBigStation.View.ManualFlowView"
  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:pry="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:vm="clr-namespace:BPASmartClient.JXJFoodBigStation.ViewModel"
  8. mc:Ignorable="d"
  9. d:DesignHeight="1080" d:DesignWidth="1920">
  10. <UserControl.DataContext>
  11. <vm:ManualFlowViewModel />
  12. </UserControl.DataContext>
  13. <Grid Margin="10">
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="100" />
  16. <RowDefinition Height="1*" />
  17. </Grid.RowDefinitions>
  18. <!--#region 表格标题栏设置-->
  19. <Grid>
  20. <StackPanel Orientation="Horizontal" HorizontalAlignment="left" VerticalAlignment="Center">
  21. <Button
  22. Width="200"
  23. Height="40"
  24. Margin="5,0,5,0"
  25. Command="{Binding Tray1InPlace}"
  26. Content="AGV到达工位1"
  27. FontSize="20"
  28. Panel.ZIndex="0"
  29. Style="{StaticResource ImageButtonStyle}"></Button>
  30. <Button
  31. Width="200"
  32. Height="40"
  33. Margin="5,0,5,0"
  34. Command="{Binding Tray2InPlace}"
  35. Content="AGV到达工位2"
  36. FontSize="20"
  37. Panel.ZIndex="0"
  38. Style="{StaticResource ImageButtonStyle}"></Button>
  39. <Button
  40. Width="200"
  41. Height="40"
  42. Margin="5,0,5,0"
  43. Command="{Binding Tray3InPlace}"
  44. Content="AGV到达工位3"
  45. FontSize="20"
  46. Panel.ZIndex="0"
  47. Style="{StaticResource ImageButtonStyle}"></Button>
  48. <Button
  49. Width="200"
  50. Height="40"
  51. Margin="5,0,5,0"
  52. Command="{Binding Tray4InPlace}"
  53. Content="AGV到达工位4"
  54. FontSize="20"
  55. Panel.ZIndex="0"
  56. Style="{StaticResource ImageButtonStyle}"></Button>
  57. <Button
  58. Width="200"
  59. Height="40"
  60. Margin="5,0,5,0"
  61. Command="{Binding Tray5InPlace}"
  62. Content="AGV到达工位5"
  63. FontSize="20"
  64. Panel.ZIndex="0"
  65. Style="{StaticResource ImageButtonStyle}"></Button>
  66. <Button
  67. Width="200"
  68. Height="40"
  69. Margin="5,0,5,0"
  70. Command="{Binding ClearTrayInPlace}"
  71. Content="清楚AGV到位信号"
  72. FontSize="20"
  73. Panel.ZIndex="0"
  74. Style="{StaticResource ImageButtonStyle}"></Button>
  75. </StackPanel>
  76. </Grid>
  77. <Grid Grid.Row="1">
  78. <WrapPanel>
  79. <TextBlock Text="心跳:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
  80. <TextBlock Text="{Binding Heartbeat}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="10"></TextBlock>
  81. </WrapPanel>
  82. </Grid>
  83. </Grid>
  84. </UserControl>