123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <UserControl x:Class="B20UVLog.Pages.RobotInterfaceOut"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:B20UVLog.Pages" xmlns:My="clr-namespace:MyWPFControl.Controls;assembly=MyWPFControl" xmlns:viewmodels="clr-namespace:B20UVLog.ViewModels"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="1600"
- Loaded="UserControl_Loaded" >
- <UserControl.DataContext>
- <viewmodels:RobotInterfaceOutViewModel/>
- </UserControl.DataContext>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0">
- <TextBlock Text="Robot Out" FontSize="25" Margin="10 5"/>
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
- <!--<My:MTextBox x:Name="TextIndex" Title="Index_No"/>-->
- <My:MDateTimePicker x:Name="DTPStart" Title="开始时间"/>
- <TextBlock Text="--" VerticalAlignment="Center" Margin="2"/>
- <My:MDateTimePicker x:Name="DTPEnd" Title="结束时间"/>
- <My:MButton x:Name="BtnSearch" Content="查询" Type="Primary" Click="BtnSearch_Click"/>
- <My:MButton x:Name="BtnReset" Content="条件重置" Click="BtnReset_Click"/>
- <My:MButton x:Name="BtnExport" Content="导出报表" Click="BtnExport_Click" Type="Warning"/>
- </StackPanel>
- </StackPanel>
- <My:MPagination Grid.Row="1" x:Name="MyPagination" PageSize="1" PageIndexChange="MyPagination_PageIndexChange" IsShowTotalNum="False" IsShowPageSize="False"/>
- <StackPanel x:Name="DP" Grid.Row="2">
- <StackPanel Orientation="Horizontal">
- <StackPanel.Resources>
- <Style x:Key="BaseGroup" TargetType="GroupBox">
- <Setter Property="Margin" Value="10 10 0 0"/>
- </Style>
- <Style x:Key="MainGroup" TargetType="GroupBox" BasedOn="{StaticResource BaseGroup}">
- </Style>
- <Style x:Key="ChildGroup" TargetType="GroupBox" BasedOn="{StaticResource BaseGroup}">
- <Setter Property="Height" Value="510"/>
- </Style>
- <Style TargetType="My:MCheckBox" BasedOn="{StaticResource CheckBoxStyle}">
- <Setter Property="Margin" Value="0"/>
- <Setter Property="IsHitTestVisible" Value="False"/>
- </Style>
- </StackPanel.Resources>
- <GroupBox Style="{StaticResource MainGroup}" DataContext="{Binding OutStreamData}">
- <GroupBox.Header>
- <StackPanel Orientation="Horizontal">
- <TextBlock FontSize="20" Margin="10 5 0 5" Text="出片"/>
- <TextBlock FontSize="20" Margin="10 5 0 5" Text="{Binding RecordTime,StringFormat=yyyy-MM-dd HH:mm:ss}"/>
- </StackPanel>
- </GroupBox.Header>
- <StackPanel Orientation="Horizontal">
- <GroupBox Style="{StaticResource ChildGroup}" Header="Robot">
- <WrapPanel Orientation="Vertical">
- <My:MCheckBox IsChecked="{Binding DownRobotStreamInline}">Down Stream Inline</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotStreamTrouble}">Down Stream Trouble</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotReceiveAble}">Receive Able</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotReceive}">Receive</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotJobTransfer}">Job Transfer</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotReceiveCancel}">Receive Cancel</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotExchangeExec}">Exchange Execute</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotDoubleGlass}">Double Glass</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotReceiveJobRe}">Receive Job Reserve</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotStopRecv}">Stop Receive</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotTransferStopReq}">Transfer Stop Req</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotGlassExist}">Glass Exist</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotInterlock}">Interlock</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSpere}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSlotNum1}">Slot number#01</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSlotNum2}">Slot number#02</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSlotNum3}">Slot number#03</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSlotNum4}">Slot number#04</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSlotNum5}">Slot number#05</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotSlotNum6}">Slot number#06</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotGlassCount1}">Glass Count#01</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotGlassCount2}">Glass Count#02</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotGlassCount3}">Glass Count#03</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotGlassCount4}">Glass Count#04</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotGlassCount5}">Glass Count#05</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotForceCompReq}">Force Complete Req.</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotForceCompAck}">Force Complete Ack.</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotLinkSpeSpere1}">LinkSpecial Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotLinkSpeSpere2}">LinkSpecial Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotNC1}">NC</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotNC2}">NC</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding DownRobotNC3}">NC</My:MCheckBox>
- </WrapPanel>
- </GroupBox>
- <GroupBox Style="{StaticResource ChildGroup}" Header="SUV">
- <WrapPanel Orientation="Vertical">
- <My:MCheckBox IsChecked="{Binding UpSUVInline}">Up Stream Inline</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVTrouble}">Up Stream Trouble</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSendReady}">Send Ready</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSend}">Send</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVJobTransfer}">Job Transfer</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSendCancel}">Send Cancel</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVExPossible}">Exchange Possible</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVDoubleGlass}">Double Glass</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSendJobRev}">Send Job Reserve</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere1}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere2}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere3}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere4}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVInterlock}">Interlock</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber01}">Slot number#01</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber02}">Slot number#02</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber03}">Slot number#03</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber04}">Slot number#04</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber05}">Slot number#05</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSlotNumber06}">Slot number#06</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere5}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVForceCompReq}">Force Complete Req.</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVForceCompAck}">Force Complete Ack.</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere6}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVSpere7}">Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere1}">LinkSpecial Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere2}">LinkSpecial Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere3}">LinkSpecial Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVLinkSpeSpere4}">LinkSpecial Spare</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVNC}">NC</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVNC2}">NC</My:MCheckBox>
- <My:MCheckBox IsChecked="{Binding UpSUVNC3}">NC</My:MCheckBox>
- </WrapPanel>
- </GroupBox>
- </StackPanel>
- </GroupBox>
- </StackPanel>
- </StackPanel>
- </Grid>
- </UserControl>
|