E84SimulatorUnitView.xaml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <UserControl x:Class="MECF.Framework.Simulator.Core.IoProviders.E84SimulatorUnitView"
  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. mc:Ignorable="d"
  7. d:DesignHeight="500" d:DesignWidth="500">
  8. <Grid>
  9. <GroupBox Header="E84" HorizontalAlignment="Left" Height="auto" VerticalAlignment="Top" Width="auto">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="*"/>
  13. <RowDefinition Height="5*"/>
  14. </Grid.RowDefinitions>
  15. <StackPanel Grid.Row="0">
  16. <CheckBox Content="IsFloorMode" IsChecked="{Binding IsFloorMode,Mode=OneWay}" IsEnabled="True"/>
  17. <CheckBox Content="IsLoading" IsChecked="{Binding IsLoading,Mode=OneWay}" />
  18. <CheckBox Content="IsUnloadingON" IsChecked="{Binding IsUnloading,Mode=OneWay}" />
  19. <Button Content="Pick From Lp" Click="ButtonBase_OnClick"
  20. CommandParameter="Pick"/>
  21. <Button Content="Place To Lp" Command="{Binding E84Command}"
  22. CommandParameter="Place"/>
  23. </StackPanel>
  24. <Grid Grid.Row="1">
  25. <Grid.ColumnDefinitions>
  26. <ColumnDefinition/>
  27. <ColumnDefinition/>
  28. </Grid.ColumnDefinitions>
  29. <GroupBox Header="DI" Grid.Column="0">
  30. <StackPanel>
  31. <CheckBox Content="ON" IsChecked="{Binding ON,Mode=OneWay}" />
  32. <CheckBox Content="VALID" IsChecked="{Binding VALID,Mode=OneWay}" />
  33. <CheckBox Content="CS_0" IsChecked="{Binding CS_0,Mode=OneWay}" />
  34. <CheckBox Content="TR_REQ" IsChecked="{Binding TR_REQ,Mode=OneWay}" />
  35. <CheckBox Content="BUSY" IsChecked="{Binding BUSY,Mode=OneWay}" />
  36. <CheckBox Content="COMPT" IsChecked="{Binding COMPT,Mode=OneWay}" />
  37. <CheckBox Content="CONT" IsChecked="{Binding CONT,Mode=OneWay}" />
  38. <CheckBox Content="AM_AVBL" IsChecked="{Binding AM_AVBL,Mode=OneWay}" />
  39. </StackPanel>
  40. </GroupBox>
  41. <GroupBox Header="DO" Grid.Column="1">
  42. <StackPanel>
  43. <CheckBox Content="L_REQ" IsChecked="{Binding LReq,Mode=OneWay}" />
  44. <CheckBox Content="U_REQ" IsChecked="{Binding UReq,Mode=OneWay}" />
  45. <CheckBox Content="READY" IsChecked="{Binding Ready,Mode=OneWay}" />
  46. <CheckBox Content="HO_AVBL" IsChecked="{Binding HoAvbl,Mode=OneWay}" />
  47. <CheckBox Content="ES" IsChecked="{Binding ES,Mode=OneWay}" />
  48. <CheckBox Content="VA" IsChecked="{Binding VA,Mode=OneWay}" />
  49. <CheckBox Content="VS_O" IsChecked="{Binding VS0,Mode=OneWay}" />
  50. <CheckBox Content="VS_1" IsChecked="{Binding VS1,Mode=OneWay}" />
  51. </StackPanel>
  52. </GroupBox>
  53. </Grid>
  54. </Grid>
  55. </GroupBox>
  56. </Grid>
  57. </UserControl>