StockerInfo.xaml
9.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<UserControl x:Class="HHWCSHost.Controls.StockerInfo"
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:HHWCSHost.Controls"
mc:Ignorable="d"
d:DesignHeight="400" d:DesignWidth="250" Padding="5,5">
<UserControl.Resources>
<Style x:Key="labStyle" TargetType="{x:Type Label}" >
<Setter Property="Foreground" Value="Blue"/>
<Setter Property="Margin" Value="0,0"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<Style x:Key="txtBlockStyle" TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Margin" Value="0,0"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
</Style>
</UserControl.Resources>
<Grid Background="#FFEEF6F5">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Label x:Name="lab_Name" Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="6" HorizontalContentAlignment="Center" Style="{DynamicResource labStyle}" FontWeight="Bold" FontSize="18" VerticalContentAlignment="Center" HorizontalAlignment="Center">堆垛机名</Label>
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="1" Grid.Column="0" TextWrapping="Wrap" Text="任务校验" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="1" Grid.Column="2" TextWrapping="Wrap" Text="工作模式" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="1" Grid.Column="4" TextWrapping="Wrap" Text="操作模式" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="2" Grid.Column="0" TextWrapping="Wrap" Text="工作状态" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="2" Grid.Column="2" TextWrapping="Wrap" Text="任务标志" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="2" Grid.Column="4" TextWrapping="Wrap" Text="任务号1" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="3" Grid.Column="0" TextWrapping="Wrap" Text="任务号2" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="3" Grid.Column="2" TextWrapping="Wrap" Text="当前列" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="3" Grid.Column="4" TextWrapping="Wrap" Text="当前层" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="4" Grid.Column="0" TextWrapping="Wrap" Text="水平测距" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="4" Grid.Column="3" TextWrapping="Wrap" Text="起升测距" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="5" Grid.Column="0" TextWrapping="Wrap" Text="水平测距" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="5" Grid.Column="2" TextWrapping="Wrap" Text="起升测距" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="5" Grid.Column="4" TextWrapping="Wrap" Text="过载" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="6" Grid.Column="0" TextWrapping="Wrap" Text="左侧外形超限" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="6" Grid.Column="2" TextWrapping="Wrap" Text="右侧外形超限" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="6" Grid.Column="4" TextWrapping="Wrap" Text="松绳" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="7" Grid.Column="0" TextWrapping="Wrap" Text="运行变频器" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="7" Grid.Column="2" TextWrapping="Wrap" Text="起升变频器" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="7" Grid.Column="4" TextWrapping="Wrap" Text="运行超时" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="8" Grid.Column="0" TextWrapping="Wrap" Text="起升超时" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="8" Grid.Column="2" TextWrapping="Wrap" Text="货叉超时" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="8" Grid.Column="4" TextWrapping="Wrap" Text="超高1" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="9" Grid.Column="0" TextWrapping="Wrap" Text="超高2" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="9" Grid.Column="2" TextWrapping="Wrap" Text="超高3" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="9" Grid.Column="4" TextWrapping="Wrap" Text="货物超高" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="10" Grid.Column="0" TextWrapping="Wrap" Text="水平激光数据" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="10" Grid.Column="2" TextWrapping="Wrap" Text="TextBlock" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="10" Grid.Column="4" TextWrapping="Wrap" Text="TextBlock" />
<Label x:Name="lab_TaskValidate" Style="{DynamicResource labStyle}" Grid.Row="1" Grid.Column="1" Content="未获取" />
<Label x:Name="lab_WorkModel" Style="{DynamicResource labStyle}" Grid.Row="1" Grid.Column="3" Content="未获取" />
<Label x:Name="lab_OperationModel" Style="{DynamicResource labStyle}" Grid.Row="1" Grid.Column="5" Content="未获取" />
<Label x:Name="lab_WorkStatus" Style="{DynamicResource labStyle}" Grid.Row="2" Grid.Column="1" Content="未获取" />
<Label x:Name="lab_TaskExcuteStatus" Style="{DynamicResource labStyle}" Grid.Row="2" Grid.Column="3" Content="未获取" />
<Label x:Name="lab_TaskNo1" Style="{DynamicResource labStyle}" Grid.Row="2" Grid.Column="5" Content="未获取" />
<Label x:Name="lab_TaskNo2" Style="{DynamicResource labStyle}" Grid.Row="3" Grid.Column="1" Content="未获取" />
<Label x:Name="lab_CurrentColumn" Style="{DynamicResource labStyle}" Grid.Row="3" Grid.Column="3" Content="未获取" />
<Label x:Name="lab_CurrentLayer" Style="{DynamicResource labStyle}" Grid.Row="3" Grid.Column="5" Content="未获取" />
<Label x:Name="lab_HorizontalDistance" Style="{DynamicResource labStyle}" Grid.Row="4" Grid.Column="1" Content="未获取" />
<Label x:Name="lab_VerticalDistance" Style="{DynamicResource labStyle}" Grid.Row="4" Grid.Column="4" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="5" Grid.Column="1" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="5" Grid.Column="3" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="5" Grid.Column="5" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="6" Grid.Column="1" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="6" Grid.Column="3" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="6" Grid.Column="5" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="7" Grid.Column="1" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="7" Grid.Column="3" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="7" Grid.Column="5" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="8" Grid.Column="1" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="8" Grid.Column="3" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="8" Grid.Column="5" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="9" Grid.Column="1" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="9" Grid.Column="3" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="9" Grid.Column="5" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="10" Grid.Column="1" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="10" Grid.Column="3" Content="未获取" />
<Label Style="{DynamicResource labStyle}" Grid.Row="10" Grid.Column="5" Content="未获取" />
<ListBox x:Name="list_Alarm" Grid.Column="0" Grid.ColumnSpan="6" Grid.Row="5" Grid.RowSpan="8" >
<TextBlock Text="报警信息:"></TextBlock>
</ListBox>
</Grid>
</UserControl>