RecipeCommand.xaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <UserControl x:Class="SummaryModule.Pops.Main.RecipeCommand"
  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:SummaryModule.Pops.Main"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <UserControl.Resources>
  10. <ResourceDictionary >
  11. <ResourceDictionary.MergedDictionaries>
  12. <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
  13. </ResourceDictionary.MergedDictionaries>
  14. </ResourceDictionary>
  15. </UserControl.Resources>
  16. <Grid Margin="16">
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition/>
  19. <ColumnDefinition Width="64"/>
  20. <ColumnDefinition/>
  21. <ColumnDefinition Width="64"/>
  22. <ColumnDefinition/>
  23. </Grid.ColumnDefinitions>
  24. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1">
  25. <Grid Margin="8">
  26. <Grid.RowDefinitions>
  27. <RowDefinition/>
  28. <RowDefinition Height="16"/>
  29. <RowDefinition/>
  30. <RowDefinition Height="16"/>
  31. <RowDefinition/>
  32. </Grid.RowDefinitions>
  33. <Button Style="{StaticResource FunctionButton}" Height="96" Margin="8,0">
  34. <StackPanel>
  35. <TextBlock FontSize="32" HorizontalAlignment="Center">Abort</TextBlock>
  36. <TextBlock FontSize="14" HorizontalAlignment="Center">Abort Recipe begins</TextBlock>
  37. <TextBlock FontSize="14" HorizontalAlignment="Center">And mode shifts to abort</TextBlock>
  38. </StackPanel>
  39. </Button>
  40. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Grid.Row="2">
  41. <StackPanel>
  42. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96">
  43. <StackPanel>
  44. <TextBlock FontSize="32" HorizontalAlignment="Center">Idel</TextBlock>
  45. <TextBlock FontSize="14" HorizontalAlignment="Center">Idle recipe begins</TextBlock>
  46. <TextBlock FontSize="14" HorizontalAlignment="Center">Mode shifts to idel</TextBlock>
  47. </StackPanel>
  48. </Button>
  49. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96">
  50. <StackPanel>
  51. <TextBlock FontSize="32" HorizontalAlignment="Center">Standby</TextBlock>
  52. <TextBlock FontSize="14" HorizontalAlignment="Center">Mode shifts to abort</TextBlock>
  53. </StackPanel>
  54. </Button>
  55. </StackPanel>
  56. </Border>
  57. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Grid.Row="4">
  58. <StackPanel>
  59. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96">
  60. <StackPanel>
  61. <TextBlock FontSize="32" HorizontalAlignment="Center">Start</TextBlock>
  62. <TextBlock FontSize="14" HorizontalAlignment="Center">Process recipe begins</TextBlock>
  63. </StackPanel>
  64. </Button>
  65. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96">
  66. <StackPanel>
  67. <TextBlock FontSize="32" HorizontalAlignment="Center">Standby</TextBlock>
  68. <TextBlock FontSize="14" HorizontalAlignment="Center">End step begins</TextBlock>
  69. </StackPanel>
  70. </Button>
  71. </StackPanel>
  72. </Border>
  73. </Grid>
  74. </Border>
  75. <UniformGrid Grid.Column="2" Columns="1">
  76. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="96">
  77. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="24">Unknow</TextBlock>
  78. </Border>
  79. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96" IsEnabled="False">
  80. <StackPanel>
  81. <TextBlock FontSize="32" HorizontalAlignment="Center">Reset</TextBlock>
  82. <TextBlock FontSize="14" HorizontalAlignment="Center">Reset recipe begins</TextBlock>
  83. <TextBlock FontSize="14" HorizontalAlignment="Center">Mode shifts to reset</TextBlock>
  84. </StackPanel>
  85. </Button>
  86. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96" >
  87. <StackPanel>
  88. <TextBlock FontSize="32" HorizontalAlignment="Center">Hold</TextBlock>
  89. <TextBlock FontSize="14" HorizontalAlignment="Center">Recipe will holds at current step</TextBlock>
  90. </StackPanel>
  91. </Button>
  92. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96">
  93. <StackPanel>
  94. <TextBlock FontSize="32" HorizontalAlignment="Center">Skip</TextBlock>
  95. <TextBlock FontSize="14" HorizontalAlignment="Center">Jump into next step</TextBlock>
  96. </StackPanel>
  97. </Button>
  98. </UniformGrid>
  99. <UniformGrid Grid.Column="4" Columns="1">
  100. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96" Command="{Binding CloseCommand}">
  101. <StackPanel>
  102. <TextBlock FontSize="32" HorizontalAlignment="Center">Close</TextBlock>
  103. </StackPanel>
  104. </Button>
  105. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96" IsEnabled="False">
  106. <StackPanel>
  107. <TextBlock FontSize="32" HorizontalAlignment="Center">Manual</TextBlock>
  108. <TextBlock FontSize="14" HorizontalAlignment="Center">Equipment will driven with the manual</TextBlock>
  109. </StackPanel>
  110. </Button>
  111. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96" IsEnabled="False">
  112. <StackPanel>
  113. <TextBlock FontSize="32" HorizontalAlignment="Center">Release</TextBlock>
  114. <TextBlock FontSize="14" HorizontalAlignment="Center">Release the Hold</TextBlock>
  115. </StackPanel>
  116. </Button>
  117. <Button Style="{StaticResource FunctionButton}" Margin="8" Height="96">
  118. <StackPanel>
  119. <TextBlock FontSize="32" HorizontalAlignment="Center">Jump</TextBlock>
  120. <TextBlock FontSize="14" HorizontalAlignment="Center">Jump to a specified step</TextBlock>
  121. </StackPanel>
  122. </Button>
  123. </UniformGrid>
  124. </Grid>
  125. </UserControl>