LoadPortControl.xaml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <UserControl x:Class="EfemUI.Controls.LoadPortControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:EfemUI.Controls"
  7. xmlns:style="clr-namespace:MECF.Framework.UI.Core.Style;assembly=MECF.Framework.UI.Core"
  8. xmlns:common="clr-namespace:Aitex.Sorter.UI.Controls.Common;assembly=Aitex.Sorter.UI"
  9. xmlns:Common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"
  10. mc:Ignorable="d"
  11. d:DesignHeight="300" d:DesignWidth="1000">
  12. <Grid>
  13. <style:HeaderPanel Grid.Row="0" Width="400" Height="220" HorizontalAlignment="left" VerticalAlignment="Top" Header="{Binding DeviceName}" Margin="10,10,0,0">
  14. <Grid style:GridHelper.Column0="LightBlue" style:GridHelper.Column1="Transparent" style:GridHelper.Column2="LightBlue" style:GridHelper.Column3="Transparent">
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="250" />
  17. <ColumnDefinition Width="150" />
  18. </Grid.ColumnDefinitions>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="*" />
  21. <RowDefinition Height="*" />
  22. <RowDefinition Height="*" />
  23. <RowDefinition Height="*" />
  24. <RowDefinition Height="*" />
  25. <RowDefinition Height="*" />
  26. </Grid.RowDefinitions>
  27. <Label Grid.Row="0" Grid.Column="0" Content="Not In Position 3 Inch" VerticalAlignment="Center" />
  28. <common:LED Grid.Row="0" Grid.Column="1" On="{Binding IsNotPresent3}" HorizontalContentAlignment="Center" />
  29. <Label Grid.Row="1" Grid.Column="0" Content="Not In Position 4 Inch" />
  30. <common:LED Grid.Row="1" Grid.Column="1" On="{Binding IsNotPresent4}" />
  31. <Label Grid.Row="2" Grid.Column="0" Content="Not In Position 6 Inch" />
  32. <common:LED Grid.Row="2" Grid.Column="1" On="{Binding IsNotPresent6}" />
  33. <Label Grid.Row="3" Grid.Column="0" Content="No Protrude" />
  34. <common:LED Grid.Row="3" Grid.Column="1" On="{Binding IsNotProtrude}" />
  35. <Label Grid.Row="4" Grid.Column="0" Content="CassetteState" />
  36. <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding CassetteState}" />
  37. <Label Grid.Row="5" Grid.Column="0" Content="Home" />
  38. <Button Grid.Row="5" Grid.Column="1" Content="Home" Height="25" Margin="10,5,12,0" Width="Auto" />
  39. </Grid>
  40. </style:HeaderPanel>
  41. </Grid>
  42. </UserControl>