RobotInterfaceOut.xaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <Page x:Class="B20UVLog.Pages.RobotInterfaceOut"
  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:B20UVLog.Pages" xmlns:My="clr-namespace:MyWPFControl.Controls;assembly=MyWPFControl" xmlns:viewmodels="clr-namespace:B20UVLog.ViewModels"
  7. mc:Ignorable="d"
  8. d:DesignHeight="800" d:DesignWidth="1600"
  9. Title="RobotInterface">
  10. <Page.DataContext>
  11. <viewmodels:RobotInterfaceOutViewModel/>
  12. </Page.DataContext>
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="auto"/>
  16. <RowDefinition Height="auto"/>
  17. <RowDefinition Height="*"/>
  18. </Grid.RowDefinitions>
  19. <StackPanel Grid.Row="0">
  20. <TextBlock Text="Robot Out" FontSize="25" Margin="10 5"/>
  21. <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
  22. <!--<My:MTextBox x:Name="TextIndex" Title="Index_No"/>-->
  23. <My:MDateTimePicker x:Name="DTPStart" Title="开始时间"/>
  24. <TextBlock Text="--" VerticalAlignment="Center" Margin="2"/>
  25. <My:MDateTimePicker x:Name="DTPEnd" Title="结束时间"/>
  26. <My:MButton x:Name="BtnSearch" Content="查询" Type="Primary" Click="BtnSearch_Click"/>
  27. <My:MButton x:Name="BtnReset" Content="条件重置" Click="BtnReset_Click"/>
  28. <My:MButton x:Name="BtnExport" Content="导出报表" Click="BtnExport_Click" Type="Warning"/>
  29. </StackPanel>
  30. </StackPanel>
  31. <My:MPagination Grid.Row="1" x:Name="MyPagination" PageSize="1" PageIndexChange="MyPagination_PageIndexChange" IsShowTotalNum="False" IsShowPageSize="False"/>
  32. <StackPanel x:Name="DP" Grid.Row="2">
  33. <StackPanel Orientation="Horizontal">
  34. <StackPanel.Resources>
  35. <Style x:Key="BaseGroup" TargetType="GroupBox">
  36. <Setter Property="Margin" Value="10 10 0 0"/>
  37. </Style>
  38. <Style x:Key="MainGroup" TargetType="GroupBox" BasedOn="{StaticResource BaseGroup}">
  39. </Style>
  40. <Style x:Key="ChildGroup" TargetType="GroupBox" BasedOn="{StaticResource BaseGroup}">
  41. <Setter Property="Height" Value="510"/>
  42. </Style>
  43. <Style TargetType="My:MCheckBox" BasedOn="{StaticResource CheckBoxStyle}">
  44. <Setter Property="Margin" Value="0"/>
  45. <Setter Property="IsHitTestVisible" Value="False"/>
  46. </Style>
  47. </StackPanel.Resources>
  48. <GroupBox Style="{StaticResource MainGroup}" DataContext="{Binding OutStreamData}">
  49. <GroupBox.Header>
  50. <StackPanel Orientation="Horizontal">
  51. <TextBlock FontSize="20" Margin="10 5 0 5" Text="出片"/>
  52. <TextBlock FontSize="20" Margin="10 5 0 5" Text="{Binding RecordTime,StringFormat=yyyy-MM-dd HH:mm:ss}"/>
  53. </StackPanel>
  54. </GroupBox.Header>
  55. <StackPanel Orientation="Horizontal">
  56. <GroupBox Style="{StaticResource ChildGroup}" Header="Robot">
  57. <WrapPanel Orientation="Vertical">
  58. <My:MCheckBox IsChecked="{Binding DownRobotStreamInline}">Down Stream Inline</My:MCheckBox>
  59. <My:MCheckBox IsChecked="{Binding DownRobotStreamTrouble}">Down Stream Trouble</My:MCheckBox>
  60. <My:MCheckBox IsChecked="{Binding DownRobotReceiveAble}">Receive Able</My:MCheckBox>
  61. <My:MCheckBox IsChecked="{Binding DownRobotReceive}">Receive</My:MCheckBox>
  62. <My:MCheckBox IsChecked="{Binding DownRobotJobTransfer}">Job Transfer</My:MCheckBox>
  63. <My:MCheckBox IsChecked="{Binding DownRobotReceiveCancel}">Receive Cancel</My:MCheckBox>
  64. <My:MCheckBox IsChecked="{Binding DownRobotExchangeExec}">Exchange Execute</My:MCheckBox>
  65. <My:MCheckBox IsChecked="{Binding DownRobotDoubleGlass}">Double Glass</My:MCheckBox>
  66. <My:MCheckBox IsChecked="{Binding DownRobotReceiveJobRe}">Receive Job Reserve</My:MCheckBox>
  67. <My:MCheckBox IsChecked="{Binding DownRobotStopRecv}">Stop Receive</My:MCheckBox>
  68. <My:MCheckBox IsChecked="{Binding DownRobotTransferStopReq}">Transfer Stop Req</My:MCheckBox>
  69. <My:MCheckBox IsChecked="{Binding DownRobotGlassExist}">Glass Exist</My:MCheckBox>
  70. <My:MCheckBox IsChecked="{Binding DownRobotInterlock}">Interlock</My:MCheckBox>
  71. <My:MCheckBox IsChecked="{Binding DownRobotSpere}">Spare</My:MCheckBox>
  72. <My:MCheckBox IsChecked="{Binding DownRobotSlotNum1}">Slot number#01</My:MCheckBox>
  73. <My:MCheckBox IsChecked="{Binding DownRobotSlotNum2}">Slot number#02</My:MCheckBox>
  74. <My:MCheckBox IsChecked="{Binding DownRobotSlotNum3}">Slot number#03</My:MCheckBox>
  75. <My:MCheckBox IsChecked="{Binding DownRobotSlotNum4}">Slot number#04</My:MCheckBox>
  76. <My:MCheckBox IsChecked="{Binding DownRobotSlotNum5}">Slot number#05</My:MCheckBox>
  77. <My:MCheckBox IsChecked="{Binding DownRobotSlotNum6}">Slot number#06</My:MCheckBox>
  78. <My:MCheckBox IsChecked="{Binding DownRobotGlassCount1}">Glass Count#01</My:MCheckBox>
  79. <My:MCheckBox IsChecked="{Binding DownRobotGlassCount2}">Glass Count#02</My:MCheckBox>
  80. <My:MCheckBox IsChecked="{Binding DownRobotGlassCount3}">Glass Count#03</My:MCheckBox>
  81. <My:MCheckBox IsChecked="{Binding DownRobotGlassCount4}">Glass Count#04</My:MCheckBox>
  82. <My:MCheckBox IsChecked="{Binding DownRobotGlassCount5}">Glass Count#05</My:MCheckBox>
  83. <My:MCheckBox IsChecked="{Binding DownRobotForceCompReq}">Force Complete Req.</My:MCheckBox>
  84. <My:MCheckBox IsChecked="{Binding DownRobotForceCompAck}">Force Complete Ack.</My:MCheckBox>
  85. <My:MCheckBox IsChecked="{Binding DownRobotLinkSpeSpere1}">LinkSpecial Spare</My:MCheckBox>
  86. <My:MCheckBox IsChecked="{Binding DownRobotLinkSpeSpere2}">LinkSpecial Spare</My:MCheckBox>
  87. <My:MCheckBox IsChecked="{Binding DownRobotNC1}">NC</My:MCheckBox>
  88. <My:MCheckBox IsChecked="{Binding DownRobotNC2}">NC</My:MCheckBox>
  89. <My:MCheckBox IsChecked="{Binding DownRobotNC3}">NC</My:MCheckBox>
  90. </WrapPanel>
  91. </GroupBox>
  92. <GroupBox Style="{StaticResource ChildGroup}" Header="SUV">
  93. <WrapPanel Orientation="Vertical">
  94. <My:MCheckBox IsChecked="{Binding UpSUVInline}">Up Stream Inline</My:MCheckBox>
  95. <My:MCheckBox IsChecked="{Binding UpSUVTrouble}">Up Stream Trouble</My:MCheckBox>
  96. <My:MCheckBox IsChecked="{Binding UpSUVSendReady}">Send Ready</My:MCheckBox>
  97. <My:MCheckBox IsChecked="{Binding UpSUVSend}">Send</My:MCheckBox>
  98. <My:MCheckBox IsChecked="{Binding UpSUVJobTransfer}">Job Transfer</My:MCheckBox>
  99. <My:MCheckBox IsChecked="{Binding UpSUVSendCancel}">Send Cancel</My:MCheckBox>
  100. <My:MCheckBox IsChecked="{Binding UpSUVExPossible}">Exchange Possible</My:MCheckBox>
  101. <My:MCheckBox IsChecked="{Binding UpSUVDoubleGlass}">Double Glass</My:MCheckBox>
  102. <My:MCheckBox IsChecked="{Binding UpSUVSendJobRev}">Send Job Reserve</My:MCheckBox>
  103. <My:MCheckBox IsChecked="{Binding UpSUVSpere1}">Spare</My:MCheckBox>
  104. <My:MCheckBox IsChecked="{Binding UpSUVSpere2}">Spare</My:MCheckBox>
  105. <My:MCheckBox IsChecked="{Binding UpSUVSpere3}">Spare</My:MCheckBox>
  106. <My:MCheckBox IsChecked="{Binding UpSUVSpere4}">Spare</My:MCheckBox>
  107. <My:MCheckBox IsChecked="{Binding UpSUVInterlock}">Interlock</My:MCheckBox>
  108. <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber01}">Slot number#01</My:MCheckBox>
  109. <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber02}">Slot number#02</My:MCheckBox>
  110. <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber03}">Slot number#03</My:MCheckBox>
  111. <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber04}">Slot number#04</My:MCheckBox>
  112. <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber05}">Slot number#05</My:MCheckBox>
  113. <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber06}">Slot number#06</My:MCheckBox>
  114. <My:MCheckBox IsChecked="{Binding UpSUVSpere5}">Spare</My:MCheckBox>
  115. <My:MCheckBox IsChecked="{Binding UpSUVForceCompReq}">Force Complete Req.</My:MCheckBox>
  116. <My:MCheckBox IsChecked="{Binding UpSUVForceCompAck}">Force Complete Ack.</My:MCheckBox>
  117. <My:MCheckBox IsChecked="{Binding UpSUVSpere6}">Spare</My:MCheckBox>
  118. <My:MCheckBox IsChecked="{Binding UpSUVSpere7}">Spare</My:MCheckBox>
  119. <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere1}">LinkSpecial Spare</My:MCheckBox>
  120. <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere2}">LinkSpecial Spare</My:MCheckBox>
  121. <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere3}">LinkSpecial Spare</My:MCheckBox>
  122. <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere4}">LinkSpecial Spare</My:MCheckBox>
  123. <My:MCheckBox IsChecked="{Binding UpSUVNC}">NC</My:MCheckBox>
  124. <My:MCheckBox IsChecked="{Binding UpSUVNC2}">NC</My:MCheckBox>
  125. <My:MCheckBox IsChecked="{Binding UpSUVNC3}">NC</My:MCheckBox>
  126. </WrapPanel>
  127. </GroupBox>
  128. </StackPanel>
  129. </GroupBox>
  130. </StackPanel>
  131. </StackPanel>
  132. </Grid>
  133. </Page>