Blame view
sources/RoboforkApp/RoboforkMenuView.xaml
38 KB
729be9a6d
|
1 2 3 4 5 6 7 |
<Window x:Class="RoboforkApp.RoboforkMenu" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:RoboforkApp" Title="Robofork App" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" |
f90723cf3
|
8 |
Height="710" Width="1024" Loaded="Window_Loaded"> |
80ae927f4
|
9 |
<Grid ShowGridLines="False" Margin="20,5,20,20"> |
729be9a6d
|
10 11 |
<Grid.RowDefinitions> |
6870a03e3
|
12 |
<RowDefinition Height="0.8*"/> |
729be9a6d
|
13 14 15 16 17 |
<RowDefinition Height="10*"/> </Grid.RowDefinitions> <Border Grid.Row="0" BorderThickness="1" BorderBrush="Gray" Margin="0,0,0,5"> <Grid ShowGridLines="False"> <Grid.RowDefinitions> |
80ae927f4
|
18 19 |
<RowDefinition Height="1*"/> <RowDefinition Height="0.5*"/> |
729be9a6d
|
20 21 |
</Grid.RowDefinitions> <Label Grid.Row="0" Content="Autonomous Planning Tool" Margin="10,0,0,0" |
d178b140a
|
22 |
FontSize="13"/> |
729be9a6d
|
23 24 25 26 27 28 |
</Grid> </Border> <Grid ShowGridLines="False" Grid.Row="1"> <Grid.ColumnDefinitions> |
80ae927f4
|
29 |
<ColumnDefinition Width="1*"/> |
729be9a6d
|
30 31 32 33 34 35 36 37 38 39 |
<ColumnDefinition Width="20"/> <ColumnDefinition Width="3*"/> </Grid.ColumnDefinitions> <Grid ShowGridLines="False" Grid.Column="0"> <Grid.RowDefinitions> <RowDefinition Height="3*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Border Grid.Row="0" BorderThickness="1" BorderBrush="White" Margin="0,0,0,5"> |
d96c9e481
|
40 |
<TreeView Name="ProjectTreeView"> |
d178b140a
|
41 42 43 44 45 46 47 48 |
<TreeViewItem Name="ProjectAAA" IsExpanded="True" Header="Project [AAA工場]" FontSize="13" Selected="btnProjectItem_Selected" Tag="ProjectItem"> <TreeViewItem Name="Map" IsExpanded="True" Header="MAP" FontSize="13"> <TreeViewItem Header="Setup Restriction" FontSize="13" Name="SetupRestriction" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="SetupRestriction"> <!--<TreeViewItem Header="Set Start" FontSize="13" Name="btnSetStart" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="SetStart"></TreeViewItem> <TreeViewItem Header="Set Goal" FontSize="13" Name="btnSetGoal" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="SetGoal"></TreeViewItem> <TreeViewItem Header="Set Route" FontSize="13" Name="btnSetRoute" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="SetupRoute"></TreeViewItem> <TreeViewItem Header="Make Root" FontSize="13" Name="btnMakeRoot" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="MakeRoot"></TreeViewItem> <TreeViewItem Header="Delete Route" FontSize="13" Name="btnDeleteRoute" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="DeleteRoute"></TreeViewItem>--> |
729be9a6d
|
49 |
</TreeViewItem> |
d178b140a
|
50 |
<TreeViewItem IsExpanded="True" Header="Node" FontSize="13" Name="NodeTree" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="NodeTree"> |
729be9a6d
|
51 |
</TreeViewItem> |
d178b140a
|
52 |
<TreeViewItem Header="--------------------" FontSize="13"> |
729be9a6d
|
53 54 |
</TreeViewItem> </TreeViewItem> |
886851415
|
55 |
<!--<TreeViewItem Name="LoadDB" Header="Load DB" FontSize="13"> |
d178b140a
|
56 57 |
<TreeViewItem Name="FORK_FK15" Header="FORK_FK15" FontSize="13" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="InfoFork" ></TreeViewItem> <TreeViewItem Name="NODE_FK15" Header="NODE_FK15" FontSize="13" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="InfoNode"></TreeViewItem> |
886851415
|
58 |
</TreeViewItem>--> |
de8826297
|
59 |
|
d178b140a
|
60 61 62 |
<TreeViewItem Name="Vehicle" Header="Vehicle" FontSize="13"> <TreeViewItem Name="FK_15" Header="FK15_#1" FontSize="13" Selected="btnVehicleItem_Selected" Tag="VehicleItem" ></TreeViewItem> <TreeViewItem Name="VehicleAdd" Header="[+]" FontSize="13" Selected="btnVehicleItem_Selected" Tag="VehicleAddTree"></TreeViewItem> |
d96c9e481
|
63 |
<TreeViewItem Name="UnderLine" Header="--------------------"></TreeViewItem> |
729be9a6d
|
64 |
</TreeViewItem> |
d178b140a
|
65 66 |
<TreeViewItem Header="Work" FontSize="13"> <TreeViewItem Header="Task patterm [FK15_#1]" FontSize="13" Name="TaskpattermTree" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="TaskpattermTree"> |
729be9a6d
|
67 68 |
</TreeViewItem> <TreeViewItem Header="[+]" |
d178b140a
|
69 |
FontSize="13" |
90bcde898
|
70 |
Name="WorkAddTree" > |
729be9a6d
|
71 72 |
</TreeViewItem> <TreeViewItem Header="--------------------" |
d178b140a
|
73 |
FontSize="13"> |
729be9a6d
|
74 75 |
</TreeViewItem> </TreeViewItem> |
90bcde898
|
76 77 78 79 |
<TreeViewItem Header="Setting" FontSize="13"> <TreeViewItem Header="Connect [Wi-Fi]" FontSize="13" Name="ConnectTree"></TreeViewItem> <TreeViewItem Header="Parameter" FontSize="13" Name="ParameterTree" Tag="ParameterTree" Selected="btnMenu_Selected"></TreeViewItem> <TreeViewItem Header="--------------------" FontSize="13"></TreeViewItem> |
729be9a6d
|
80 |
</TreeViewItem> |
d178b140a
|
81 |
<!--<TreeViewItem Header="Schedule" FontSize="13" Name="ScheduleTree" Selected="btnMenu_Selected" Unselected="btnMenu_UnselectedSet" Tag="ScheduleRoute"></TreeViewItem>--> |
90bcde898
|
82 |
<TreeViewItem Header="Logging" FontSize="13" Name="LoggingTree" > |
729be9a6d
|
83 84 85 86 |
</TreeViewItem> <TreeViewItem Header=" --------------------"> </TreeViewItem> </TreeViewItem> |
90bcde898
|
87 |
<TreeViewItem Header="Alert" FontSize="13" Name="AlertTree" > |
729be9a6d
|
88 |
</TreeViewItem> |
90bcde898
|
89 |
<TreeViewItem Header="Help" FontSize="13"> |
729be9a6d
|
90 91 |
</TreeViewItem> <TreeViewItem Header="[+New Project]" |
d178b140a
|
92 |
FontSize="13" |
729be9a6d
|
93 |
Name="NewProjectTree" |
01c8c8f49
|
94 |
Selected="btnProjectItem_Selected" Tag="ProjectAddTree" |
e3ae88363
|
95 |
Unselected="btnMenu_UnselectedSet"> |
729be9a6d
|
96 97 98 99 100 101 102 103 |
</TreeViewItem> </TreeView> </Border> <Border Grid.Row="1" BorderThickness="1" BorderBrush="Gray" Margin="0,5,0,0"> <Grid ShowGridLines="False"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> |
f90723cf3
|
104 |
<RowDefinition Height="4*"/> |
729be9a6d
|
105 106 |
</Grid.RowDefinitions> <Label Grid.Row="0" Content="Viewer" Margin="10,0,0,0" |
d178b140a
|
107 |
FontSize="13"/> |
d7d5faa7d
|
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
<Border Grid.Row="1" Grid.Column="0" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> <ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"> <DockPanel > <Grid Name="grdViewer"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="1*"/> <!--<ColumnDefinition Width="6*"/>--> </Grid.ColumnDefinitions> <Border Grid.Row="0" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="1" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="2" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="3" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="4" Grid.Column="0" BorderThickness="1" /> </Grid> </DockPanel > </ScrollViewer> </Border> |
729be9a6d
|
135 136 137 138 139 140 141 142 143 |
</Grid> </Border> </Grid> <TabControl x:Name="MainTab" Margin="0,0,0,0" Grid.Column="2" > <TabItem x:Name="TabMap" > <TabItem.Header> <StackPanel Orientation="Horizontal"> |
d178b140a
|
144 |
<TextBlock Text="MAP " VerticalAlignment="Center" FontSize="13"></TextBlock> |
729be9a6d
|
145 146 147 148 |
</StackPanel> </TabItem.Header> <Grid ShowGridLines="False"> <Grid.RowDefinitions> |
6870a03e3
|
149 |
<RowDefinition Height="5*"/> |
729be9a6d
|
150 151 152 |
<RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> |
6870a03e3
|
153 |
<Grid ShowGridLines="False" Grid.Row="0" Name="GridMap"> |
210553190
|
154 |
|
6870a03e3
|
155 156 157 158 159 160 |
<Grid > <Grid.ColumnDefinitions> <ColumnDefinition Width="{Binding ActualHeight, ElementName=GridMap}"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Border Grid.Column="0" BorderThickness="1" BorderBrush="Red" Margin="5,5,5,5"> |
729be9a6d
|
161 |
|
80ae927f4
|
162 |
<Grid Name="GridCanVas"> |
210553190
|
163 164 165 |
<!--<Image x:Name="Image_Map" Source="E:\02_Project\Du an Anh Dai\Robofork2\sources\RoboforkApp\Images/map.png" Stretch="Fill" />--> <s:DesignerCanvas x:Name="MyDesignerCanvas" |
729be9a6d
|
166 167 |
AllowDrop="True" Background="White" HorizontalAlignment="Stretch"> |
210553190
|
168 169 |
<Canvas.LayoutTransform> <!--Adjust ScaleX and ScaleY in lock-step to zoom--> |
80ae927f4
|
170 171 |
<!--<ScaleTransform ScaleX=".57" ScaleY=".57" CenterX=".57" CenterY=".57" />--> <ScaleTransform ScaleX="{Binding scaleWidthCanvas}" ScaleY="{Binding scaleHeightCanvas}"/> |
210553190
|
172 173 |
</Canvas.LayoutTransform> <Grid Name="MCGrid" ShowGridLines="True" |
729be9a6d
|
174 175 |
Width="{Binding ActualWidth, ElementName=MyDesignerCanvas}" Height="{Binding ActualHeight, ElementName=MyDesignerCanvas}"> |
210553190
|
176 |
|
1326655a5
|
177 |
<!--<Grid.Background> |
997913432
|
178 |
<ImageBrush ImageSource="Images/mapindex.png"/> |
1326655a5
|
179 |
</Grid.Background>--> |
729be9a6d
|
180 |
|
210553190
|
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
<!--<Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <TextBlock Grid.Row="0" Grid.Column="1" Foreground="SkyBlue">100</TextBlock> <TextBlock Grid.Row="0" Grid.Column="2" Foreground="SkyBlue">200</TextBlock> <TextBlock Grid.Row="0" Grid.Column="3" Foreground="SkyBlue">300</TextBlock> <TextBlock Grid.Row="0" Grid.Column="4" Foreground="SkyBlue">400</TextBlock> <TextBlock Grid.Row="0" Grid.Column="5" Foreground="SkyBlue">500</TextBlock> <TextBlock Grid.Row="0" Grid.Column="6" Foreground="SkyBlue">600</TextBlock> <TextBlock Grid.Row="0" Grid.Column="7" Foreground="SkyBlue">700</TextBlock> <TextBlock Grid.Row="0" Grid.Column="8" Foreground="SkyBlue">800</TextBlock> <TextBlock Grid.Row="0" Grid.Column="9" Foreground="SkyBlue">900</TextBlock> |
729be9a6d
|
214 |
|
210553190
|
215 216 217 218 219 220 221 222 223 224 |
<TextBlock Grid.Row="1" Grid.Column="0" Foreground="SkyBlue">100</TextBlock> <TextBlock Grid.Row="2" Grid.Column="0" Foreground="SkyBlue">200</TextBlock> <TextBlock Grid.Row="3" Grid.Column="0" Foreground="SkyBlue">300</TextBlock> <TextBlock Grid.Row="4" Grid.Column="0" Foreground="SkyBlue">400</TextBlock> <TextBlock Grid.Row="5" Grid.Column="0" Foreground="SkyBlue">500</TextBlock> <TextBlock Grid.Row="6" Grid.Column="0" Foreground="SkyBlue">600</TextBlock> <TextBlock Grid.Row="7" Grid.Column="0" Foreground="SkyBlue">700</TextBlock> <TextBlock Grid.Row="8" Grid.Column="0" Foreground="SkyBlue">800</TextBlock> <TextBlock Grid.Row="9" Grid.Column="0" Foreground="SkyBlue">900</TextBlock>--> </Grid> |
729be9a6d
|
225 |
|
210553190
|
226 227 |
</s:DesignerCanvas> </Grid> |
729be9a6d
|
228 |
|
6870a03e3
|
229 |
</Border> |
729be9a6d
|
230 |
|
6870a03e3
|
231 |
<Border Grid.Column="1" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> |
729be9a6d
|
232 |
|
a47f478f0
|
233 |
<DockPanel > |
b338e1ff5
|
234 |
<ScrollViewer> |
a47f478f0
|
235 236 |
<Grid Name="grdRouteInfo"> <Grid.RowDefinitions> |
729be9a6d
|
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
<RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> |
6870a03e3
|
252 |
|
729be9a6d
|
253 254 |
</Grid.RowDefinitions> <Grid.ColumnDefinitions> |
a47f478f0
|
255 |
<ColumnDefinition Width="1*"/> |
729be9a6d
|
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
<ColumnDefinition Width="6*"/> </Grid.ColumnDefinitions> <Border Grid.Row="0" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="1" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="2" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="3" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="4" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="5" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="6" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="7" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="8" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="9" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="10" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="11" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="12" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="13" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="14" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="15" Grid.Column="0" BorderThickness="1" /> |
d178b140a
|
274 275 276 277 278 279 280 281 282 283 284 285 |
<Label Grid.Row="0" Grid.Column="1" Content="Monitor" FontSize="13"/> <Label Grid.Row="1" Grid.Column="1" Content="AOR 28249 [kg/h]" FontSize="13"/> <Label Grid.Row="2" Grid.Column="1" Content="ABC 4738 [trq]" FontSize="13"/> <Label Grid.Row="3" Grid.Column="1" Content="ATR 49593 [%]" FontSize="13"/> <Label Grid.Row="4" Grid.Column="1" Content="DEK 50403 [G]" FontSize="13"/> <Label Grid.Row="5" Grid.Column="1" Content="SKG 2739 [kg]" FontSize="13"/> <Label Grid.Row="6" Grid.Column="1" Content="SOC 86 [%]" FontSize="13"/> <Label Grid.Row="7" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="8" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="9" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="10" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="11" Grid.Column="1" Content=" :" FontSize="13"/> |
729be9a6d
|
286 |
</Grid> |
b338e1ff5
|
287 |
</ScrollViewer> |
6870a03e3
|
288 289 290 |
</DockPanel > </Border> </Grid> |
729be9a6d
|
291 292 293 294 |
</Grid> <Border Grid.Row="1" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> <Grid ShowGridLines="False"> <Grid.ColumnDefinitions> |
d178b140a
|
295 |
<ColumnDefinition Width="1.2*"/> |
6870a03e3
|
296 |
<ColumnDefinition Width="8*"/> |
729be9a6d
|
297 298 299 300 301 |
</Grid.ColumnDefinitions> <Grid ShowGridLines="False" Grid.Column="0"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> |
80ae927f4
|
302 |
<RowDefinition Height="0.5*"/> |
729be9a6d
|
303 |
</Grid.RowDefinitions> |
d178b140a
|
304 305 |
<Label Grid.Row="0" Content="Schedule" Margin="5,0,0,0" FontSize="13"/> <Label Name="LabelSchedule" Grid.Row="1" Content="FK15_#1" Margin="5,0,0,0" FontSize="13"/> |
729be9a6d
|
306 307 |
</Grid> <Border Grid.Column="1" BorderThickness="1" BorderBrush="Red" Margin="5,5,5,5"> |
d55d921a3
|
308 |
<s:ScheduleCanvas x:Name="MyScheduleCanvas" |
729be9a6d
|
309 310 |
AllowDrop="True" Background="White" HorizontalAlignment="Stretch"> |
d55d921a3
|
311 312 313 314 315 |
<Canvas.LayoutTransform> <!--Adjust ScaleX and ScaleY in lock-step to zoom--> <ScaleTransform ScaleX=".57" ScaleY=".57" CenterX=".57" CenterY=".57" /> </Canvas.LayoutTransform> |
729be9a6d
|
316 |
<Grid Name="MCGridShedule" Background="White" ShowGridLines="True" |
d55d921a3
|
317 318 |
Width="{Binding ActualWidth, ElementName=MyScheduleCanvas}" Height="{Binding ActualHeight, ElementName=MyScheduleCanvas}"> |
729be9a6d
|
319 320 321 322 323 324 325 |
<Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> |
729be9a6d
|
326 |
</Grid.ColumnDefinitions> |
729be9a6d
|
327 328 |
<TextBlock Grid.Row="1" Grid.Column="0" Foreground="SkyBlue">100</TextBlock> |
d55d921a3
|
329 |
<!--<TextBlock Grid.Row="2" Grid.Column="0" Foreground="SkyBlue">200</TextBlock>--> |
729be9a6d
|
330 |
</Grid> |
d55d921a3
|
331 |
</s:ScheduleCanvas> |
729be9a6d
|
332 333 334 335 336 |
</Border> </Grid> </Border> <Border Grid.Row="2" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> |
d7d5faa7d
|
337 |
<Grid ShowGridLines="False" Grid.Row="1" Name="GridWork"> |
d96c9e481
|
338 339 |
<Grid.RowDefinitions> <RowDefinition Height="1*"/> |
d7d5faa7d
|
340 |
<!--<RowDefinition Height="1.5*"/>--> |
d96c9e481
|
341 |
</Grid.RowDefinitions> |
d7d5faa7d
|
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 |
<Grid.ColumnDefinitions> <ColumnDefinition Width="{Binding ActualHeight, ElementName=GridMap}"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <!--<Label Name="WorkVehicle" Grid.Row="0" Content="Work [FK15_#1]" Margin="5,0,0,0" FontSize="13"/>--> <Border Grid.Row="0" Grid.Column="0" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> <DockPanel > <ScrollViewer> <Grid Name="grdWorkLog"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="1*"/> <ColumnDefinition Width="6*"/> </Grid.ColumnDefinitions> <Border Grid.Row="0" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="1" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="2" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="3" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="4" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="5" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="6" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="7" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="8" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="9" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="10" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="11" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="12" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="13" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="14" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="15" Grid.Column="0" BorderThickness="1" /> </Grid> </ScrollViewer> </DockPanel > </Border> |
729be9a6d
|
401 |
</Grid> |
d7d5faa7d
|
402 |
|
729be9a6d
|
403 404 405 406 407 408 |
</Border> </Grid> </TabItem> <TabItem x:Name="TabWork" > <TabItem.Header> <StackPanel Orientation="Horizontal"> |
d178b140a
|
409 |
<TextBlock Text=" Work " VerticalAlignment="Center" FontSize="13"></TextBlock> |
729be9a6d
|
410 411 |
</StackPanel> </TabItem.Header> |
dae7878f9
|
412 413 414 415 416 417 418 |
<Grid ShowGridLines="False"> <Grid.RowDefinitions> <RowDefinition Height="5*"/> <!--<RowDefinition Height="1*"/>--> <!--<RowDefinition Height="1*"/>--> </Grid.RowDefinitions> |
d7d5faa7d
|
419 |
<!--<Grid ShowGridLines="False" Grid.Row="0" Name="GridWork"> |
dae7878f9
|
420 421 422 423 424 425 |
<Grid > <Grid.ColumnDefinitions> <ColumnDefinition Width="{Binding ActualHeight, ElementName=GridMap}"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> |
d7d5faa7d
|
426 |
--><!--<Border Grid.Column="0" BorderThickness="1" BorderBrush="Red" Margin="5,5,5,5"> |
dae7878f9
|
427 428 429 430 |
<Grid Name="GridCanVas2"> </Grid> |
d7d5faa7d
|
431 |
</Border>--><!-- |
dae7878f9
|
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 |
<Border Grid.Column="1" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> <DockPanel > <ScrollViewer> <Grid Name="grdWorkLog"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="1*"/> <ColumnDefinition Width="6*"/> </Grid.ColumnDefinitions> <Border Grid.Row="0" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="1" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="2" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="3" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="4" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="5" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="6" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="7" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="8" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="9" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="10" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="11" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="12" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="13" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="14" Grid.Column="0" BorderThickness="1" /> <Border Grid.Row="15" Grid.Column="0" BorderThickness="1" /> |
d7d5faa7d
|
476 |
--><!--<Label Grid.Row="0" Grid.Column="1" Content="Monitor" FontSize="13"/> |
dae7878f9
|
477 478 479 480 481 482 483 484 485 486 |
<Label Grid.Row="1" Grid.Column="1" Content="AOR 28249 [kg/h]" FontSize="13"/> <Label Grid.Row="2" Grid.Column="1" Content="ABC 4738 [trq]" FontSize="13"/> <Label Grid.Row="3" Grid.Column="1" Content="ATR 49593 [%]" FontSize="13"/> <Label Grid.Row="4" Grid.Column="1" Content="DEK 50403 [G]" FontSize="13"/> <Label Grid.Row="5" Grid.Column="1" Content="SKG 2739 [kg]" FontSize="13"/> <Label Grid.Row="6" Grid.Column="1" Content="SOC 86 [%]" FontSize="13"/> <Label Grid.Row="7" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="8" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="9" Grid.Column="1" Content=" :" FontSize="13"/> <Label Grid.Row="10" Grid.Column="1" Content=" :" FontSize="13"/> |
d7d5faa7d
|
487 |
<Label Grid.Row="11" Grid.Column="1" Content=" :" FontSize="13"/>--><!-- |
dae7878f9
|
488 489 490 491 492 |
</Grid> </ScrollViewer> </DockPanel > </Border> </Grid> |
d7d5faa7d
|
493 |
</Grid>--> |
dae7878f9
|
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 |
<!--<Border Grid.Row="1" BorderThickness="1" BorderBrush="Gray" Margin="5,5,5,5"> <Grid ShowGridLines="False"> <Grid.ColumnDefinitions> <ColumnDefinition Width="1.2*"/> <ColumnDefinition Width="8*"/> </Grid.ColumnDefinitions> <Grid ShowGridLines="False" Grid.Column="0"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="0.5*"/> </Grid.RowDefinitions> <Label Grid.Row="0" Content="Schedule" Margin="5,0,0,0" FontSize="13"/> <Label Name="LabelSchedule1" Grid.Row="1" Content="FK15_#1" Margin="5,0,0,0" FontSize="13"/> </Grid> <Border Grid.Column="1" BorderThickness="1" BorderBrush="Red" Margin="5,5,5,5"> </Border> </Grid> </Border>--> </Grid> |
729be9a6d
|
518 519 520 521 |
</TabItem> <TabItem x:Name="TabSchedule" > <TabItem.Header> <StackPanel Orientation="Horizontal"> |
d178b140a
|
522 |
<TextBlock Text=" Schedule " VerticalAlignment="Center" FontSize="13"></TextBlock> |
729be9a6d
|
523 524 525 526 527 528 529 |
</StackPanel> </TabItem.Header> </TabItem> </TabControl> </Grid> </Grid> </Window> |