RobotInterfaceIn.xaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <Page x:Class="B20UVLog.Pages.RobotInterfaceIn"
  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:RobotInterfaceInViewModel/>
  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" Orientation="Horizontal" VerticalAlignment="Center">
  20. <!--<My:MTextBox x:Name="TextIndex" Title="Index_No"/>-->
  21. <My:MDateTimePicker x:Name="DTPStart" Title="开始时间"/>
  22. <TextBlock Text="--" VerticalAlignment="Center" Margin="2"/>
  23. <My:MDateTimePicker x:Name="DTPEnd" Title="结束时间"/>
  24. <My:MButton x:Name="BtnSearch" Content="查询" Type="Primary" Click="BtnSearch_Click"/>
  25. <My:MButton x:Name="BtnReset" Content="条件重置" Click="BtnReset_Click"/>
  26. <My:MButton x:Name="BtnExport" Content="导出报表" Click="BtnExport_Click" Type="Warning"/>
  27. </StackPanel>
  28. <My:MPagination Grid.Row="1" x:Name="MyPagination" PageSize="1" PageIndexChange="MyPagination_PageIndexChange" IsShowTotalNum="False" IsShowPageSize="False"/>
  29. <StackPanel x:Name="DP" Grid.Row="2">
  30. <StackPanel Orientation="Horizontal">
  31. <StackPanel.Resources>
  32. <Style x:Key="BaseGroup" TargetType="GroupBox">
  33. <Setter Property="Margin" Value="10 10 0 0"/>
  34. </Style>
  35. <Style x:Key="MainGroup" TargetType="GroupBox" BasedOn="{StaticResource BaseGroup}">
  36. </Style>
  37. <Style x:Key="ChildGroup" TargetType="GroupBox" BasedOn="{StaticResource BaseGroup}">
  38. <Setter Property="Height" Value="510"/>
  39. </Style>
  40. <Style TargetType="My:MCheckBox" BasedOn="{StaticResource CheckBoxStyle}">
  41. <Setter Property="Margin" Value="0"/>
  42. <Setter Property="IsHitTestVisible" Value="False"/>
  43. </Style>
  44. </StackPanel.Resources>
  45. <GroupBox Style="{StaticResource MainGroup}" Height="auto" DataContext="{Binding InStreamData}">
  46. <GroupBox.Header>
  47. <StackPanel Orientation="Horizontal">
  48. <TextBlock FontSize="20" Margin="10 5 0 5" Text="收片"/>
  49. <TextBlock FontSize="20" Margin="10 5 0 5" Text="{Binding RecordTime,StringFormat=yyyy-MM-dd HH:mm:ss}"/>
  50. </StackPanel>
  51. </GroupBox.Header>
  52. <StackPanel Orientation="Horizontal">
  53. <GroupBox Style="{StaticResource ChildGroup}" Header="Robot">
  54. <WrapPanel Orientation="Vertical">
  55. <My:MCheckBox IsChecked="{Binding UpRobotInline}">Up Stream Inline</My:MCheckBox>
  56. <My:MCheckBox IsChecked="{Binding UpRobotTrouble}">Up Stream Trouble</My:MCheckBox>
  57. <My:MCheckBox IsChecked="{Binding UpRobotSendReady}">Send Ready</My:MCheckBox>
  58. <My:MCheckBox IsChecked="{Binding UpRobotSend}">Send</My:MCheckBox>
  59. <My:MCheckBox IsChecked="{Binding UpRobotJobTransfer}">Job Transfer</My:MCheckBox>
  60. <My:MCheckBox IsChecked="{Binding UpRobotSendCancel}">Send Cancel</My:MCheckBox>
  61. <My:MCheckBox IsChecked="{Binding UpRobotExExecute}">Exchange Execute</My:MCheckBox>
  62. <My:MCheckBox IsChecked="{Binding UpRobotDoubleGlass}">Double Glass</My:MCheckBox>
  63. <My:MCheckBox IsChecked="{Binding UpRobotSendJobRev}">Send Job Reserve</My:MCheckBox>
  64. <My:MCheckBox IsChecked="{Binding UpRobotSpere1}">Spare</My:MCheckBox>
  65. <My:MCheckBox IsChecked="{Binding UpRobotSpere2}">Spare</My:MCheckBox>
  66. <My:MCheckBox IsChecked="{Binding UpRobotSpere3}">Spare</My:MCheckBox>
  67. <My:MCheckBox IsChecked="{Binding UpRobotSpere4}">Spare</My:MCheckBox>
  68. <My:MCheckBox IsChecked="{Binding UpRobotInterlock}">Interlock</My:MCheckBox>
  69. <My:MCheckBox IsChecked="{Binding UpRobotSlotNumber01}">Slot number#01</My:MCheckBox>
  70. <My:MCheckBox IsChecked="{Binding UpRobotSlotNumber02}">Slot number#02</My:MCheckBox>
  71. <My:MCheckBox IsChecked="{Binding UpRobotSlotNumber03}">Slot number#03</My:MCheckBox>
  72. <My:MCheckBox IsChecked="{Binding UpRobotSlotNumber04}">Slot number#04</My:MCheckBox>
  73. <My:MCheckBox IsChecked="{Binding UpRobotSlotNumber05}">Slot number#05</My:MCheckBox>
  74. <My:MCheckBox IsChecked="{Binding UpRobotSlotNumber06}">Slot number#06</My:MCheckBox>
  75. <My:MCheckBox IsChecked="{Binding UpRobotSpere5}">Spare</My:MCheckBox>
  76. <My:MCheckBox IsChecked="{Binding UpRobotForceCompReq}">Force Complete Req.</My:MCheckBox>
  77. <My:MCheckBox IsChecked="{Binding UpRobotForceCompAck}">Force Complete Ack.</My:MCheckBox>
  78. <My:MCheckBox IsChecked="{Binding UpRobotSpere6}">Spare</My:MCheckBox>
  79. <My:MCheckBox IsChecked="{Binding UpRobotSpere7}">Spare</My:MCheckBox>
  80. <My:MCheckBox IsChecked="{Binding UpRobotLinkSpeSpere1}">LinkSpecial Spare</My:MCheckBox>
  81. <My:MCheckBox IsChecked="{Binding UpRobotLinkSpeSpere2}">LinkSpecial Spare</My:MCheckBox>
  82. <My:MCheckBox IsChecked="{Binding UpRobotLinkSpeSpere3}">LinkSpecial Spare</My:MCheckBox>
  83. <My:MCheckBox IsChecked="{Binding UpRobotLinkSpeSpere4}">LinkSpecial Spare</My:MCheckBox>
  84. <My:MCheckBox IsChecked="{Binding UpRoboNC}">NC</My:MCheckBox>
  85. <My:MCheckBox IsChecked="{Binding UpRoboNC2}">NC</My:MCheckBox>
  86. <My:MCheckBox IsChecked="{Binding UpRoboNC3}">NC</My:MCheckBox>
  87. </WrapPanel>
  88. </GroupBox>
  89. <GroupBox Style="{StaticResource ChildGroup}" Header="SUV">
  90. <WrapPanel Orientation="Vertical">
  91. <My:MCheckBox IsChecked="{Binding DownSUVStreamInline}">Down Stream Inline</My:MCheckBox>
  92. <My:MCheckBox IsChecked="{Binding DownSUVStreamTrouble}">Down Stream Trouble</My:MCheckBox>
  93. <My:MCheckBox IsChecked="{Binding DownSUVReceiveAble}">Receive Able</My:MCheckBox>
  94. <My:MCheckBox IsChecked="{Binding DownSUVReceive}">Receive</My:MCheckBox>
  95. <My:MCheckBox IsChecked="{Binding DownSUVJobTransfer}">Job Transfer</My:MCheckBox>
  96. <My:MCheckBox IsChecked="{Binding DownSUVReceiveCancel}">Receive Cancel</My:MCheckBox>
  97. <My:MCheckBox IsChecked="{Binding DownSUVExchangePoss}">Exchange Possible</My:MCheckBox>
  98. <My:MCheckBox IsChecked="{Binding DownSUVDoubleGlass}">Double Glass</My:MCheckBox>
  99. <My:MCheckBox IsChecked="{Binding DownSUVReceiveJobRe}">Receive Job Reserve</My:MCheckBox>
  100. <My:MCheckBox IsChecked="{Binding DownSUVStopRecv}">Stop Receive</My:MCheckBox>
  101. <My:MCheckBox IsChecked="{Binding DownSUVTransferStopReq}">Transfer Stop Req</My:MCheckBox>
  102. <My:MCheckBox IsChecked="{Binding DownSUVGlassExist}">Glass Exist</My:MCheckBox>
  103. <My:MCheckBox IsChecked="{Binding DownSUVInterlock}">Interlock</My:MCheckBox>
  104. <My:MCheckBox IsChecked="{Binding DownSUVSpere}">Spare</My:MCheckBox>
  105. <My:MCheckBox IsChecked="{Binding DownSUVSlotNum1}">Slot number#01</My:MCheckBox>
  106. <My:MCheckBox IsChecked="{Binding DownSUVSlotNum2}">Slot number#02</My:MCheckBox>
  107. <My:MCheckBox IsChecked="{Binding DownSUVSlotNum3}">Slot number#03</My:MCheckBox>
  108. <My:MCheckBox IsChecked="{Binding DownSUVSlotNum4}">Slot number#04</My:MCheckBox>
  109. <My:MCheckBox IsChecked="{Binding DownSUVSlotNum5}">Slot number#05</My:MCheckBox>
  110. <My:MCheckBox IsChecked="{Binding DownSUVSlotNum6}">Slot number#06</My:MCheckBox>
  111. <My:MCheckBox IsChecked="{Binding DownSUVGlassCount1}">Glass Count#01</My:MCheckBox>
  112. <My:MCheckBox IsChecked="{Binding DownSUVGlassCount2}">Glass Count#02</My:MCheckBox>
  113. <My:MCheckBox IsChecked="{Binding DownSUVGlassCount3}">Glass Count#03</My:MCheckBox>
  114. <My:MCheckBox IsChecked="{Binding DownSUVGlassCount4}">Glass Count#04</My:MCheckBox>
  115. <My:MCheckBox IsChecked="{Binding DownSUVGlassCount5}">Glass Count#05</My:MCheckBox>
  116. <My:MCheckBox IsChecked="{Binding DownSUVForceCompReq}">Force Complete Req.</My:MCheckBox>
  117. <My:MCheckBox IsChecked="{Binding DownSUVForceCompAck}">Force Complete Ack.</My:MCheckBox>
  118. <My:MCheckBox IsChecked="{Binding DownSUVLinkSpeSpere1}">LinkSpecial Spare</My:MCheckBox>
  119. <My:MCheckBox IsChecked="{Binding DownSUVLinkSpeSpere2}">LinkSpecial Spare</My:MCheckBox>
  120. <My:MCheckBox IsChecked="{Binding DownSUVNC1}">NC</My:MCheckBox>
  121. <My:MCheckBox IsChecked="{Binding DownSUVNC2}">NC</My:MCheckBox>
  122. <My:MCheckBox IsChecked="{Binding DownSUVNC3}">NC</My:MCheckBox>
  123. </WrapPanel>
  124. </GroupBox>
  125. </StackPanel>
  126. </GroupBox>
  127. </StackPanel>
  128. </StackPanel>
  129. </Grid>
  130. </Page>