|
@@ -0,0 +1,276 @@
|
|
|
|
+<UserControl x:Class="PunkHPX8_MainPages.Views.DMReservoirView"
|
|
|
|
+ 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:PunkHPX8_MainPages.Views"
|
|
|
|
+ xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
|
|
|
+ xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls;assembly=PunkHPX8_Themes"
|
|
|
|
+ xmlns:userControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
|
|
|
|
+ xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters;assembly=PunkHPX8_Themes"
|
|
|
|
+ xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
|
|
|
|
+ xmlns:Control1="clr-namespace:Aitex.Core.UI.Control;assembly=MECF.Framework.UI.Core"
|
|
|
|
+ xmlns:cmd="http://www.galasoft.ch/mvvmlight"
|
|
|
|
+ xmlns:prism="http://prismlibrary.com/"
|
|
|
|
+ prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
|
+ mc:Ignorable="d"
|
|
|
|
+ d:DesignHeight="1000" d:DesignWidth="1500">
|
|
|
|
+ <UserControl.Resources>
|
|
|
|
+ <converters:StringToString x:Key="stringToString"/>
|
|
|
|
+ <converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>
|
|
|
|
+ <converters:BoolToOrientation2 x:Key="boolToOrientation2"></converters:BoolToOrientation2>
|
|
|
|
+ <converters:BoolToColor x:Key="boolToColor"/>
|
|
|
|
+ <converters:BoolToRedColor x:Key="boolToRedColor"/>
|
|
|
|
+ <converters:boolToRedColor2 x:Key="boolToRedColor2"/>
|
|
|
|
+ <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
|
|
|
|
+ <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
|
|
|
|
+ </UserControl.Resources>
|
|
|
|
+ <Canvas>
|
|
|
|
+ <Grid>
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="5"/>
|
|
|
|
+ <RowDefinition Height="150"/>
|
|
|
|
+ <RowDefinition Height="350"/>
|
|
|
|
+ <RowDefinition Height="150"/>
|
|
|
|
+ <RowDefinition Height="350"/>
|
|
|
|
+ <RowDefinition/>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition Width="500"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition Width="500"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition Width="500"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition Width="300"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition/>
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <Grid Grid.Row="1" Grid.Column="0">
|
|
|
|
+ <userControls:ReservoirsInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
|
|
|
|
+ ModuleTitle="{Binding Module}"
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ </Grid>
|
|
|
|
+ <GroupBox Header="CA DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="2" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="350" Margin="0,0,270,110">
|
|
|
|
+ <Grid>
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+
|
|
|
|
+ <Grid Grid.Row="0">
|
|
|
|
+ <Label Content="Total On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="1" Background="Black" Width="130" Margin="0 -3 0 0">
|
|
|
|
+ <TextBlock Text="{Binding ReservoirsPersistent.TotalReplen,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="2">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Command="{Binding ResetTotalCommand}" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="Reset Total"></Button>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="3">
|
|
|
|
+ <Label Content="Max On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="4" Background="Black" Width="130" Margin="0 -3 0 0">
|
|
|
|
+ <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="5">
|
|
|
|
+ <Label Content="Manual Fill Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="6">
|
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="25,-3,0,0" Height="30" Width="100"/>
|
|
|
|
+ <Label Content="sec" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="55" Margin="0 -3 0 0"></Label>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="7">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" HorizontalContentAlignment="Left" Padding="10 0 0 0" Grid.Column="1" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Manual Replen" Command="{Binding ManualDireplenCommand}"></Button>
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 30 0" Fill="{Binding IsManualReplen, Converter={StaticResource boolToColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="8">
|
|
|
|
+ <Label Content="DI Replen Fault" HorizontalAlignment="Left" FontSize="14" VerticalAlignment="Center" Height="30" Margin="10 -3 0 0"></Label>
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 -3 30 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ </GroupBox>
|
|
|
|
+ <GroupBox Header="AN DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="3" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="350" Margin="0,0,270,90">
|
|
|
|
+ <Grid>
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+
|
|
|
|
+ <Grid Grid.Row="0">
|
|
|
|
+ <Label Content="Total On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="1" Background="Black" Width="130" Margin="0 -3 0 0">
|
|
|
|
+ <TextBlock Text="{Binding ReservoirsPersistent.TotalReplen,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="2">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Command="{Binding ResetTotalCommand}" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="Reset Total"></Button>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="3">
|
|
|
|
+ <Label Content="Max On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="4" Background="Black" Width="130" Margin="0 -3 0 0">
|
|
|
|
+ <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="5">
|
|
|
|
+ <Label Content="Manual Fill Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="6">
|
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="25,-3,0,0" Height="30" Width="100"/>
|
|
|
|
+ <Label Content="sec" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="55" Margin="0 -3 0 0"></Label>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="7">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" HorizontalContentAlignment="Left" Padding="10 0 0 0" Grid.Column="1" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Manual Replen" Command="{Binding ManualDireplenCommand}"></Button>
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 30 0" Fill="{Binding IsManualReplen, Converter={StaticResource boolToColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="8">
|
|
|
|
+ <Label Content="DI Replen Fault" HorizontalAlignment="Left" FontSize="14" VerticalAlignment="Center" Height="30" Margin="10 -3 0 0"></Label>
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 -3 30 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ </GroupBox>
|
|
|
|
+ <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" Margin="10 0 0 200">
|
|
|
|
+ <userControls:RecipeLoad Margin="10,10,0,0" Module="{Binding Module}" HeadName="Res Recipe"
|
|
|
|
+ RecipeType="{Binding RecipeType}" IsEnabled="{Binding IsEnabled}"
|
|
|
|
+ SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
|
|
|
|
+ RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="1" Grid.Column="3">
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="50"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="50"></RowDefinition>
|
|
|
|
+ <RowDefinition Height="50"></RowDefinition>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+ <Grid Grid.Row="0">
|
|
|
|
+ <Label Content="{Binding Module}" FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,13"></Label>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="1">
|
|
|
|
+ <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}"></Button>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="2">
|
|
|
|
+ <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="2" Grid.Column="3">
|
|
|
|
+ <userControls:OperatingModeControl HorizontalAlignment="Center" Margin="0,10,0,0" VerticalAlignment="Top"
|
|
|
|
+ ModuleName="{Binding Module}"
|
|
|
|
+ OperationModeValue="{Binding ReservoirsPersistent.OperatingMode}"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="2" Grid.Column="3">
|
|
|
|
+ <Label Content="Recipe Mode" FontSize="15" FontWeight="Bold" Margin="0,0,0,40" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
|
|
|
|
+ <userControls:RecipeModeControl HorizontalAlignment="Center" Margin="0,170,0,0" VerticalAlignment="Top" Width="190"
|
|
|
|
+ ModuleName="{Binding Module}"
|
|
|
|
+ RecipeModeValue="{Binding ReservoirsPersistent.RecipeMode}" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <GroupBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Right" Height="240" VerticalAlignment="Center" Margin="0,0,0,50">
|
|
|
|
+ <Grid>
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="30"/>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ <RowDefinition Height="30"/>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ <RowDefinition Height="30"/>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <Grid Grid.Row="0" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="CA Pump Speed" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="2" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="AN Pump Speed" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="4" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="Return Valve Open" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="1" Grid.Column="0" >
|
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="1" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
|
|
|
|
+ <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="3" Grid.Column="2">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding DIReplenClearErrorCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="3" Grid.Column="0" >
|
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="3" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
|
|
|
|
+ <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="5" Grid.Column="2">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding DIReplenClearErrorCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="5" Grid.Column="0" >
|
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="5" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
|
|
|
|
+ <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ <Grid Grid.Row="1" Grid.Column="2">
|
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding DIReplenClearErrorCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ </GroupBox>
|
|
|
|
+ <GroupBox Header="Status" Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="2" HorizontalAlignment="Right" Height="230" VerticalAlignment="Center" Margin="0,0,0,40">
|
|
|
|
+ <Grid>
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ <RowDefinition Height="50"/>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition Width="200"></ColumnDefinition>
|
|
|
|
+ <ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
|
+ <Grid Grid.Row="0" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="CA Safety Pump" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="CA Safety High Level" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="2" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="Leak Detected" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="4" Grid.ColumnSpan="2">
|
|
|
|
+ <Label Content="Chemistry" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
|
|
|
|
+ </Grid>
|
|
|
|
+
|
|
|
|
+ <Grid Grid.Row="0" Grid.Column="1">
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="1" Grid.Column="1">
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid Grid.Row="2" Grid.Column="1">
|
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Background="Black" Width="80" Height="30" Margin="80 0 0 0">
|
|
|
|
+ <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
+ </Border>
|
|
|
|
+ </Grid>
|
|
|
|
+ </GroupBox>
|
|
|
|
+ <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="3" Margin="200,0,0,0">
|
|
|
|
+ <userControls:DMReservoirUIControl >
|
|
|
|
+
|
|
|
|
+ </userControls:DMReservoirUIControl>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Canvas>
|
|
|
|
+</UserControl>
|