FSM.xaml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <UserControl x:Class="CyberX8_RT.Backends.FSMView"
  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:CyberX8_RT.Backends"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <UserControl.Resources>
  10. <Style TargetType="TextBlock">
  11. <Setter Property="FontSize" Value="18"/>
  12. <Setter Property="HorizontalAlignment" Value="Center"/>
  13. <Setter Property="VerticalAlignment" Value="Center"/>
  14. </Style>
  15. </UserControl.Resources>
  16. <Grid local:GridOptions.ShowBorder="True" local:GridOptions.LineBrush="Black">
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition />
  19. <ColumnDefinition />
  20. <ColumnDefinition Width="50" />
  21. <ColumnDefinition />
  22. <ColumnDefinition Width="50" />
  23. <ColumnDefinition />
  24. </Grid.ColumnDefinitions>
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height ="40" />
  27. <RowDefinition />
  28. <RowDefinition />
  29. <RowDefinition />
  30. <RowDefinition />
  31. <RowDefinition />
  32. <RowDefinition />
  33. <RowDefinition />
  34. <RowDefinition />
  35. <RowDefinition />
  36. <RowDefinition />
  37. </Grid.RowDefinitions>
  38. <!--Header-->
  39. <TextBlock Grid.Row="0" Grid.Column="1" Text="Previous State"/>
  40. <TextBlock Grid.Row="0" Grid.Column="2" Text="=>" />
  41. <TextBlock Grid.Row="0" Grid.Column="3" Text="Last message" />
  42. <TextBlock Grid.Row="0" Grid.Column="4" Text="=>" />
  43. <TextBlock Grid.Row="0" Grid.Column="5" Text="Current State" />
  44. <!--EFEM-->
  45. <TextBlock Grid.Row="1" Grid.Column="0" Text="EFEM" />
  46. <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding EFEMPrevState}" />
  47. <TextBlock Grid.Row="1" Grid.Column="3" Text="{Binding EFEMLastMsg}" />
  48. <TextBlock Grid.Row="1" Grid.Column="5" Text="{Binding EFEMState}" />
  49. <!--LP1-->
  50. <TextBlock Grid.Row="2" Grid.Column="0" Text="LP1" />
  51. <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding LP1PrevState}" />
  52. <TextBlock Grid.Row="2" Grid.Column="3" Text="{Binding LP1LastMsg}" />
  53. <TextBlock Grid.Row="2" Grid.Column="5" Text="{Binding LP1State}" />
  54. <!--LP2-->
  55. <TextBlock Grid.Row="3" Grid.Column="0" Text="LP2" />
  56. <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding LP2PrevState}" />
  57. <TextBlock Grid.Row="3" Grid.Column="3" Text="{Binding LP2LastMsg}" />
  58. <TextBlock Grid.Row="3" Grid.Column="5" Text="{Binding LP2State}" />
  59. <!--LP3-->
  60. <TextBlock Grid.Row="3" Grid.Column="0" Text="LP3" />
  61. <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding LP3PrevState}" />
  62. <TextBlock Grid.Row="3" Grid.Column="3" Text="{Binding LP3LastMsg}" />
  63. <TextBlock Grid.Row="3" Grid.Column="5" Text="{Binding LP3State}" />
  64. <!--PMA-->
  65. <TextBlock Grid.Row="4" Grid.Column="0" Text="PMA" />
  66. <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding PMAPrevState}"/>
  67. <TextBlock Grid.Row="4" Grid.Column="3" Text="{Binding PMALastMsg}" />
  68. <TextBlock Grid.Row="4" Grid.Column="5" Text="{Binding PMAState}"/>
  69. <!--PMB-->
  70. <TextBlock Grid.Row="5" Grid.Column="0" Text="PMB" />
  71. <TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding PMBPrevState}" />
  72. <TextBlock Grid.Row="5" Grid.Column="3" Text="{Binding PMBLastMsg}" />
  73. <TextBlock Grid.Row="5" Grid.Column="5" Text="{Binding PMBState}" />
  74. <!--PMC-->
  75. <TextBlock Grid.Row="6" Grid.Column="0" Text="PMC" />
  76. <TextBlock Grid.Row="6" Grid.Column="1" Text="{Binding PMCPrevState}" />
  77. <TextBlock Grid.Row="6" Grid.Column="3" Text="{Binding PMCLastMsg}" />
  78. <TextBlock Grid.Row="6" Grid.Column="5" Text="{Binding PMCState}" />
  79. <!--PMD-->
  80. <TextBlock Grid.Row="7" Grid.Column="0" Text="PMD" />
  81. <TextBlock Grid.Row="7" Grid.Column="1" Text="{Binding PMDPrevState}" />
  82. <TextBlock Grid.Row="7" Grid.Column="3" Text="{Binding PMDLastMsg}" />
  83. <TextBlock Grid.Row="7" Grid.Column="5" Text="{Binding PMDState}" />
  84. <!--PMD-->
  85. <TextBlock Grid.Row="8" Grid.Column="0" Text="TM" />
  86. <TextBlock Grid.Row="8" Grid.Column="1" Text="{Binding TMPrevState}" />
  87. <TextBlock Grid.Row="8" Grid.Column="3" Text="{Binding TMLastMsg}" />
  88. <TextBlock Grid.Row="8" Grid.Column="5" Text="{Binding TMState}" />
  89. <!--LLA-->
  90. <TextBlock Grid.Row="9" Grid.Column="0" Text="LLA" />
  91. <TextBlock Grid.Row="9" Grid.Column="1" Text="{Binding LLAPrevState}" />
  92. <TextBlock Grid.Row="9" Grid.Column="3" Text="{Binding LLALastMsg}" />
  93. <TextBlock Grid.Row="9" Grid.Column="5" Text="{Binding LLAState}" />
  94. <!--LLB-->
  95. <TextBlock Grid.Row="10" Grid.Column="0" Text="LLB" />
  96. <TextBlock Grid.Row="10" Grid.Column="1" Text="{Binding LLBPrevState}" />
  97. <TextBlock Grid.Row="10" Grid.Column="3" Text="{Binding LLBLastMsg}" />
  98. <TextBlock Grid.Row="10" Grid.Column="5" Text="{Binding LLBState}" />
  99. </Grid>
  100. </UserControl>