12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <UserControl x:Class="CyberX8_Themes.UserControls.CellStatusControl"
- 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_Themes.UserControls"
- mc:Ignorable="d" x:Name="self"
- d:DesignHeight="230" d:DesignWidth="400">
- <Grid>
- <GroupBox Header="Cell Status">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="1*"/>
- <RowDefinition Height="1*"/>
- <RowDefinition Height="1*"/>
- <RowDefinition Height="1*"/>
- <RowDefinition Height="1*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Anode A FLow" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/>
- <Border Grid.Row="0" Grid.Column="1" Margin="20,5,20,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self,Path=AnodeAFlow,StringFormat=\{0:F2\} L/min,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
-
- <Label Grid.Row="1" Grid.Column="0" Content="Anode A Status" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/>
- <Border Grid.Row="1" Grid.Column="1" Margin="20,5,20,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self,Path=AnodeAStatus,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
- <Label Grid.Row="2" Grid.Column="0" Content="Anode B FLow" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/>
- <Border Grid.Row="2" Grid.Column="1" Margin="20,5,20,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self,Path=AnodeBFlow,StringFormat=\{0:F2\} L/min,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
- <Label Grid.Row="3" Grid.Column="0" Content="Anode B Status" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/>
- <Border Grid.Row="3" Grid.Column="1" Margin="20,5,20,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self,Path=AnodeBStatus,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
- <Label Grid.Row="4" Grid.Column="0" Content="Cell FLow" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/>
- <Border Grid.Row="4" Grid.Column="1" Margin="20,5,20,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self,Path=CellFlow,StringFormat=\{0:F2\} L/min,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
- </Grid>
- </GroupBox>
- </Grid>
- </UserControl>
|