1
This commit is contained in:
parent
189397e348
commit
0ef6af34bb
@ -21,7 +21,10 @@
|
||||
<ColumnDefinition Width="*" />
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Padding="0" Content="{Binding GridContent}" DataContext="{Binding Tray1}" Header="{Binding TrayName}" />
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Padding="0"
|
||||
Content="{Binding GridContent}"
|
||||
DataContext="{Binding Tray1}"
|
||||
Header="{Binding TrayName}" />
|
||||
<Grid Grid.Row="0" Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*" />
|
||||
@ -34,17 +37,28 @@
|
||||
<ColumnDefinition />
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Padding="0" Content="{Binding Feed1Grid}" Header="左飞达" />
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" Padding="0" Content="{Binding Feed2Grid}" Header="右飞达" />
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Padding="0"
|
||||
Content="{Binding Feed1Grid}"
|
||||
Header="左飞达" />
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" Padding="0"
|
||||
Content="{Binding Feed2Grid}"
|
||||
Header="右飞达" />
|
||||
</Grid>
|
||||
<GroupBox Grid.Row="1" Grid.Column="0" Padding="0" Content="{Binding ZhuanPanGrid}" Header="转盘,白无料,蓝有料,红NG,绿OK," />
|
||||
<GroupBox Grid.Row="1" Grid.Column="0" Padding="0"
|
||||
Content="{Binding ZhuanPanGrid}"
|
||||
Header="转盘,白无料,蓝有料,红NG,绿OK," />
|
||||
</Grid>
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="2" Padding="0" Content="{Binding GridContent}" DataContext="{Binding Tray2}" Header="{Binding TrayName}" />
|
||||
<Viewbox Grid.Row="1" Grid.RowSpan="1" Grid.Column="1" Grid.ColumnSpan="1">
|
||||
<GroupBox Grid.Row="0" Grid.Column="2" Padding="0"
|
||||
Content="{Binding GridContent}"
|
||||
DataContext="{Binding Tray2}"
|
||||
Header="{Binding TrayName}" />
|
||||
<Viewbox Grid.Row="1" Grid.RowSpan="1" Grid.Column="1"
|
||||
Grid.ColumnSpan="1">
|
||||
<Border Width="400" Height="400" Background="Transparent">
|
||||
<Canvas>
|
||||
<Ellipse Canvas.Left="00" Canvas.Top="00" Width="400" Height="400" Fill="LightGray" />
|
||||
<Ellipse Canvas.Left="00" Canvas.Top="00" Width="400" Height="400"
|
||||
Fill="LightGray" />
|
||||
|
||||
|
||||
<Border Canvas.Left="170" Canvas.Top="0" Width="60" Height="40"
|
||||
@ -54,7 +68,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[1].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -73,7 +88,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[2].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -91,7 +107,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[3].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -109,7 +126,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[4].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -126,7 +144,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[5].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -143,7 +162,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[6].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -160,7 +180,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[7].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -177,7 +198,8 @@
|
||||
BorderThickness="3"
|
||||
DataContext="{Binding ZhuanPanList[0].State}"
|
||||
RenderTransformOrigin="0.5,5">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding StatuInfo}" />
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Text="{Binding StatuInfo}" />
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
@ -191,12 +213,15 @@
|
||||
|
||||
</Border>
|
||||
</Viewbox>
|
||||
<Grid Grid.Row="1" Grid.Column="0" Grid.RowSpan="4" Grid.ColumnSpan="4" >
|
||||
<Grid Grid.Row="1" Grid.RowSpan="4" Grid.Column="0"
|
||||
Grid.ColumnSpan="4">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*" />
|
||||
<RowDefinition Height="1*" />
|
||||
</Grid.RowDefinitions>
|
||||
<ContentControl Grid.RowSpan="4" Grid.ColumnSpan="4" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualA}" />
|
||||
<ContentControl Grid.RowSpan="4" Grid.ColumnSpan="4"
|
||||
Content="{Binding HWindowWPF2}"
|
||||
DataContext="{Binding VisualA}" />
|
||||
<!--<ContentControl Grid.Row="1" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualA1}" />-->
|
||||
</Grid>
|
||||
|
||||
@ -205,7 +230,9 @@
|
||||
<RowDefinition Height="1*" />
|
||||
<RowDefinition Height="1*" />
|
||||
</Grid.RowDefinitions>
|
||||
<ContentControl Grid.RowSpan="2" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualB}" />
|
||||
<ContentControl Grid.RowSpan="2"
|
||||
Content="{Binding HWindowWPF2}"
|
||||
DataContext="{Binding VisualB}" />
|
||||
<!--<ContentControl Grid.Row="1" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualB1}" />-->
|
||||
</Grid>
|
||||
|
||||
@ -214,12 +241,18 @@
|
||||
<RowDefinition Height="1*" />
|
||||
<RowDefinition Height="1*" />
|
||||
</Grid.RowDefinitions>
|
||||
<ContentControl Grid.RowSpan="2" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualC}" />
|
||||
<ContentControl Grid.RowSpan="2"
|
||||
Content="{Binding HWindowWPF2}"
|
||||
DataContext="{Binding VisualC}" />
|
||||
<!--<ContentControl Grid.Row="1" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualC1}" />-->
|
||||
</Grid>
|
||||
|
||||
<ContentControl Grid.Row="1" Grid.Column="2" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualD}" />
|
||||
<ContentControl Grid.Row="2" Grid.Column="1" Content="{Binding HWindowWPF2}" DataContext="{Binding VisualE}" />
|
||||
<ContentControl Grid.Row="1" Grid.Column="2"
|
||||
Content="{Binding HWindowWPF2}"
|
||||
DataContext="{Binding VisualD}" />
|
||||
<ContentControl Grid.Row="2" Grid.Column="1"
|
||||
Content="{Binding HWindowWPF2}"
|
||||
DataContext="{Binding VisualE}" />
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user