|
@@ -1,12 +1,14 @@
|
|
|
<My:MWindow xmlns:My="clr-namespace:MyWPFControl.Controls;assembly=MyWPFControl"
|
|
|
- x:Class="B20UVLog.MainWindow"
|
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
- xmlns:local="clr-namespace:B20UVLog" xmlns:viewmodels="clr-namespace:B20UVLog.ViewModels"
|
|
|
+ x:Class="B20UVLog.MainWindow"
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
+ xmlns:local="clr-namespace:B20UVLog"
|
|
|
+ xmlns:viewmodels="clr-namespace:B20UVLog.ViewModels"
|
|
|
+ xmlns:pages="clr-namespace:B20UVLog.Pages"
|
|
|
mc:Ignorable="d"
|
|
|
- Title="UV Log" Height="960" Width="1800"
|
|
|
+ Title="UV Log" Height="960" Width="1800"
|
|
|
WindowState="Maximized"
|
|
|
Loaded="MWindow_Loaded">
|
|
|
<Window.DataContext>
|
|
@@ -33,32 +35,50 @@
|
|
|
</MenuItem.Icon>
|
|
|
</MenuItem>
|
|
|
</Menu>
|
|
|
- <Grid Grid.Row="1">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="200"/>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Grid Grid.Column="1">
|
|
|
- <Frame x:Name="FrameContent" NavigationUIVisibility="Hidden" Margin="10" Source="Pages/AxisData.xaml"></Frame>
|
|
|
- </Grid>
|
|
|
- <TreeView Grid.Column="0" SelectedItemChanged="TreeView_SelectedItemChanged">
|
|
|
- <My:MTreeViewItem Header="Axis Data" IsSelected="True"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Servo Axis Status"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Glass Information"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Lamp Use Time"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Recipe Body"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="SYS Para"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Robot Interface In"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Robot Interface Out"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Y Measure Data"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="EQP Status"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Recipe Count"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="ANALog Data"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Lamp Data"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="Alarm And Warning"></My:MTreeViewItem>
|
|
|
- <My:MTreeViewItem Header="IO"></My:MTreeViewItem>
|
|
|
- </TreeView>
|
|
|
- </Grid>
|
|
|
+ <My:MTabControl Grid.Row="1" TabStripPlacement="Left">
|
|
|
+ <My:MTabItem Header="Axis Data">
|
|
|
+ <pages:AxisData/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Servo Axis Status">
|
|
|
+ <pages:ServoAxisStatus/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Glass Information">
|
|
|
+ <pages:GlassInformation/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Lamp Use Time">
|
|
|
+ <pages:LampUseTime/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Recipe Body">
|
|
|
+ <pages:RecipeBody/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="SYS Para">
|
|
|
+ <pages:SYSPara/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Robot In">
|
|
|
+ <pages:RobotInterfaceIn/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Robot Out">
|
|
|
+ <pages:RobotInterfaceOut/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Y Measure Data">
|
|
|
+ <pages:YMeasureData/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="EQP Status">
|
|
|
+ <pages:EQPStatus/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Recipe Count">
|
|
|
+ <pages:RecipeCount/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="ANALog Data">
|
|
|
+ <pages:ANALogData/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="Alarn & Warn">
|
|
|
+ <pages:Alarm/>
|
|
|
+ </My:MTabItem>
|
|
|
+ <My:MTabItem Header="IO">
|
|
|
+ <pages:IO/>
|
|
|
+ </My:MTabItem>
|
|
|
+ </My:MTabControl>
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" IsHitTestVisible="False">
|
|
|
<!--<My:MCheckBox IsChecked="{Binding PLCStatus}">PLC连接状态</My:MCheckBox>
|
|
|
<My:MCheckBox IsChecked="{Binding DBStatus}">数据库连接状态</My:MCheckBox>-->
|