123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <UserControl x:Class="CyberX8_RT.Backends.FSMView"
- 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"
- xmlns:local="clr-namespace:CyberX8_RT.Backends"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <Style TargetType="TextBlock">
- <Setter Property="FontSize" Value="18"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- </Style>
- </UserControl.Resources>
- <Grid local:GridOptions.ShowBorder="True" local:GridOptions.LineBrush="Black">
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition Width="50" />
- <ColumnDefinition />
- <ColumnDefinition Width="50" />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height ="40" />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <!--Header-->
- <TextBlock Grid.Row="0" Grid.Column="1" Text="Previous State"/>
- <TextBlock Grid.Row="0" Grid.Column="2" Text="=>" />
- <TextBlock Grid.Row="0" Grid.Column="3" Text="Last message" />
- <TextBlock Grid.Row="0" Grid.Column="4" Text="=>" />
- <TextBlock Grid.Row="0" Grid.Column="5" Text="Current State" />
-
- <!--EFEM-->
- <TextBlock Grid.Row="1" Grid.Column="0" Text="EFEM" />
- <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding EFEMPrevState}" />
- <TextBlock Grid.Row="1" Grid.Column="3" Text="{Binding EFEMLastMsg}" />
- <TextBlock Grid.Row="1" Grid.Column="5" Text="{Binding EFEMState}" />
-
- <!--LP1-->
- <TextBlock Grid.Row="2" Grid.Column="0" Text="LP1" />
- <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding LP1PrevState}" />
- <TextBlock Grid.Row="2" Grid.Column="3" Text="{Binding LP1LastMsg}" />
- <TextBlock Grid.Row="2" Grid.Column="5" Text="{Binding LP1State}" />
-
- <!--LP2-->
- <TextBlock Grid.Row="3" Grid.Column="0" Text="LP2" />
- <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding LP2PrevState}" />
- <TextBlock Grid.Row="3" Grid.Column="3" Text="{Binding LP2LastMsg}" />
- <TextBlock Grid.Row="3" Grid.Column="5" Text="{Binding LP2State}" />
-
- <!--LP3-->
- <TextBlock Grid.Row="3" Grid.Column="0" Text="LP3" />
- <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding LP3PrevState}" />
- <TextBlock Grid.Row="3" Grid.Column="3" Text="{Binding LP3LastMsg}" />
- <TextBlock Grid.Row="3" Grid.Column="5" Text="{Binding LP3State}" />
-
- <!--PMA-->
- <TextBlock Grid.Row="4" Grid.Column="0" Text="PMA" />
- <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding PMAPrevState}"/>
- <TextBlock Grid.Row="4" Grid.Column="3" Text="{Binding PMALastMsg}" />
- <TextBlock Grid.Row="4" Grid.Column="5" Text="{Binding PMAState}"/>
-
- <!--PMB-->
- <TextBlock Grid.Row="5" Grid.Column="0" Text="PMB" />
- <TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding PMBPrevState}" />
- <TextBlock Grid.Row="5" Grid.Column="3" Text="{Binding PMBLastMsg}" />
- <TextBlock Grid.Row="5" Grid.Column="5" Text="{Binding PMBState}" />
- <!--PMC-->
- <TextBlock Grid.Row="6" Grid.Column="0" Text="PMC" />
- <TextBlock Grid.Row="6" Grid.Column="1" Text="{Binding PMCPrevState}" />
- <TextBlock Grid.Row="6" Grid.Column="3" Text="{Binding PMCLastMsg}" />
- <TextBlock Grid.Row="6" Grid.Column="5" Text="{Binding PMCState}" />
- <!--PMD-->
- <TextBlock Grid.Row="7" Grid.Column="0" Text="PMD" />
- <TextBlock Grid.Row="7" Grid.Column="1" Text="{Binding PMDPrevState}" />
- <TextBlock Grid.Row="7" Grid.Column="3" Text="{Binding PMDLastMsg}" />
- <TextBlock Grid.Row="7" Grid.Column="5" Text="{Binding PMDState}" />
- <!--PMD-->
- <TextBlock Grid.Row="8" Grid.Column="0" Text="TM" />
- <TextBlock Grid.Row="8" Grid.Column="1" Text="{Binding TMPrevState}" />
- <TextBlock Grid.Row="8" Grid.Column="3" Text="{Binding TMLastMsg}" />
- <TextBlock Grid.Row="8" Grid.Column="5" Text="{Binding TMState}" />
- <!--LLA-->
- <TextBlock Grid.Row="9" Grid.Column="0" Text="LLA" />
- <TextBlock Grid.Row="9" Grid.Column="1" Text="{Binding LLAPrevState}" />
- <TextBlock Grid.Row="9" Grid.Column="3" Text="{Binding LLALastMsg}" />
- <TextBlock Grid.Row="9" Grid.Column="5" Text="{Binding LLAState}" />
- <!--LLB-->
- <TextBlock Grid.Row="10" Grid.Column="0" Text="LLB" />
- <TextBlock Grid.Row="10" Grid.Column="1" Text="{Binding LLBPrevState}" />
- <TextBlock Grid.Row="10" Grid.Column="3" Text="{Binding LLBLastMsg}" />
- <TextBlock Grid.Row="10" Grid.Column="5" Text="{Binding LLBState}" />
- </Grid>
- </UserControl>
|