StockerInfo.xaml
9.69 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
<UserControl x:Class="HHECS.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"
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="#FFA5CCFB">
<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="2" 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="1" 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="当前出入口" />
<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="2" TextWrapping="Wrap" Text="起升测距" />
<TextBlock Style="{DynamicResource txtBlockStyle}" Grid.Row="4" 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_Fork1ForkHasPallet" Style="{DynamicResource labStyle}" Grid.Row="1" Grid.Column="1" Content="未获取" />
<Label x:Name="lab_Fork1TaskExcuteStatus" 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_TaskLimit" Style="{DynamicResource labStyle}" Grid.Row="2" Grid.Column="1" Content="未获取" />
<Label x:Name="lab_Fork1TaskType" Style="{DynamicResource labStyle}" Grid.Row="2" Grid.Column="3" Content="未获取" />
<Label x:Name="lab_Fork1TaskNo" Style="{DynamicResource labStyle}" Grid.Row="2" Grid.Column="5" Content="未获取" />
<Label x:Name="lab_CurrentStation" 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="3" Content="未获取" />
<Label x:Name="lab_ForkDistance" Style="{DynamicResource labStyle}" Grid.Row="4" 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="6" Grid.RowSpan="7" >
<TextBlock Text="报警信息:"></TextBlock>
</ListBox>
<StackPanel Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="6" Orientation="Horizontal">
<Button x:Name="Btn_Delete" Style="{x:Null}" Background="Yellow" Click="Btn_Delete_Click" Content="删除任务" FontSize="10" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Height="27" Margin="8,3,0,0"/>
<Button x:Name="Btn_Override" Style="{x:Null}" Background="Yellow" Click="Btn_Override_Click" Content="重新下发" FontSize="10" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Height="27" Margin="8,3,0,0"/>
<Button x:Name="Btn_EOut" Style="{x:Null}" Background="Yellow" Click="Btn_EOut_Click" Content="空 出" FontSize="10" HorizontalAlignment="Left" VerticalAlignment="Top" Width="60" Height="27" Margin="8,3,0,0"/>
<Button x:Name="Btn_DIn" Style="{x:Null}" Background="Yellow" Click="Btn_DIn_Click" Content="重 入" FontSize="10" HorizontalAlignment="Center" VerticalAlignment="Top" Width="60" Height="27" Margin="8,3,0,0"/>
<Button x:Name="Btn_ForkError" Style="{x:Null}" Background="Yellow" Click="Btn_ForkError_Click" Content="取货错误" FontSize="10" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" Height="27" Margin="8,3,0,0" Visibility="Collapsed"/>
</StackPanel>
</Grid>
</UserControl>