1518 lines
59 KiB
XML
1518 lines
59 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
x:Class="DaireApplication.Admin" FontFamily="sans serif"
|
||
Background="#b3b3b3"
|
||
Width="1280" Height="620" >
|
||
|
||
<Grid RowDefinitions="*">
|
||
<Grid.Styles>
|
||
<Style Selector="Button:pointerover /template/ContentPresenter">
|
||
<Setter Property="Foreground" Value="#A4275D"></Setter>
|
||
<Setter Property="Background" Value="#E6E6E6"></Setter>
|
||
<Setter Property="RenderTransform" Value="scale(1.11)"></Setter>
|
||
</Style>
|
||
<Style Selector="Button">
|
||
<Setter Property="Padding" Value="0,-5,0,0"></Setter>
|
||
<Setter Property="VerticalContentAlignment" Value="Center" ></Setter>
|
||
<Setter Property="HorizontalContentAlignment" Value="Center" ></Setter>
|
||
</Style>
|
||
|
||
</Grid.Styles>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,Auto,*">
|
||
<!--1st col (section one)-->
|
||
<Grid Grid.Column="0" ColumnDefinitions="*,*,*">
|
||
<Grid Grid.Column="0" RowDefinitions="1.2*,*" Margin="2,20,0,0" ZIndex="99" >
|
||
<StackPanel Grid.Row="0" Orientation="Vertical" Margin="0,10,0,0" Spacing="10">
|
||
<!-- A "card" with a label on top, and a row for minus-button / numeric text / plus-button -->
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="180"
|
||
>
|
||
|
||
<StackPanel Spacing="20">
|
||
<Grid >
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="HELIX JACKET MAX HEATING TEMP."
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*"
|
||
Grid.Row="2"
|
||
|
||
>
|
||
|
||
<Grid ColumnDefinitions="Auto,*,Auto" Tag="pMaxt">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesHelixTempBtn"
|
||
|
||
/>
|
||
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center" ZIndex="-1">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="fountainMaxTemp" Grid.Column="1"
|
||
Text="60.0"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="0,0,0,0" ZIndex="-1"/>
|
||
|
||
<TextBlock Grid.Column="1"
|
||
Text="°C"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="0,0,0,0" ZIndex="-1"/>
|
||
</StackPanel>
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusHelixTempBtn"
|
||
/>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
|
||
|
||
|
||
</Grid>
|
||
|
||
|
||
<!--
|
||
pumb cooling
|
||
-->
|
||
<Grid >
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesMinHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMinHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesMinHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMinHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesMinHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMinHelixTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="HELIX JACKET MIN
|
||
COOLING TEMP."
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*"
|
||
Grid.Row="2"
|
||
>
|
||
|
||
<Grid ColumnDefinitions="Auto,*,Auto"
|
||
Tag="pMint">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesMinHelixTempBtn"
|
||
/>
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="fountainMinTemp" Grid.Column="1"
|
||
Text="-05.0"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#0000ff"
|
||
Margin="0,0,0,0"/>
|
||
|
||
<TextBlock Grid.Column="1"
|
||
Text="°C"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#0000ff"
|
||
Margin="0,0,0,0"/>
|
||
</StackPanel>
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusMinHelixTempBtn"
|
||
/>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
|
||
|
||
|
||
</Grid>
|
||
</StackPanel>
|
||
|
||
|
||
|
||
</Border>
|
||
|
||
</StackPanel>
|
||
<StackPanel Grid.Row="1" Orientation="Vertical" Margin="0,10,0,0" Spacing="10">
|
||
<!-- A "card" with a label on top, and a row for minus-button / numeric text / plus-button -->
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="180"
|
||
>
|
||
|
||
<StackPanel Spacing="20">
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesMaxAbsTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMaxAbsTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesMaxAbsTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMaxAbsTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesMaxAbsTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMaxAbsTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="ABSOLUTE MAX
|
||
HEATING TEMP."
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*"
|
||
Grid.Row="2"
|
||
>
|
||
|
||
<Grid ColumnDefinitions="Auto,*,Auto"
|
||
Tag="aMaxt">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesMaxAbsTempBtn"
|
||
/>
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="absMaxTemp" Grid.Column="1"
|
||
Text="70.0"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="0,0,0,0"/>
|
||
|
||
<TextBlock Grid.Column="1"
|
||
Text="°C"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="0,0,0,0"/>
|
||
</StackPanel>
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusMaxAbsTempBtn"
|
||
/>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
|
||
|
||
|
||
</Grid>
|
||
<!--
|
||
pumb cooling
|
||
-->
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesAbsMinTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusAbsMinTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesAbsMinTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusAbsMinTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesAbsMinTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusAbsMinTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="ABSOLUTE MIN
|
||
COOLING TEMP."
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*"
|
||
Grid.Row="2"
|
||
>
|
||
|
||
<Grid ColumnDefinitions="Auto,*,Auto"
|
||
Tag="aMint">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesAbsMinTempBtn"
|
||
/>
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="absMinTemp" Grid.Column="1"
|
||
Text="-10.0"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#0000ff"
|
||
Margin="0,0,0,0"/>
|
||
|
||
<TextBlock Grid.Column="1"
|
||
Text="°C"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#0000ff"
|
||
Margin="0,0,0,0"/>
|
||
</StackPanel>
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusAbsMinTempBtn"
|
||
|
||
/>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
|
||
|
||
|
||
</Grid>
|
||
</StackPanel>
|
||
|
||
|
||
|
||
</Border>
|
||
|
||
</StackPanel>
|
||
|
||
|
||
</Grid>
|
||
<Grid Grid.Column="1" >
|
||
<Grid x:Name="machinePic" Width="450" Height="596" IsVisible="True" Margin="30,0,0,0" >
|
||
<Grid.Background >
|
||
<ImageBrush Source="/Assets/AdminMachine.png"/>
|
||
</Grid.Background>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
<Grid Grid.Column="2" RowDefinitions="
|
||
*,9*,Auto" Margin="40,0,0,90" >
|
||
<Grid Grid.Row="1" >
|
||
<!--second card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Top"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesTankTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusTankTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesTankTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusTankTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesTankTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusTankTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="TANK JACKET MAX HEATING TEMP."
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*" Grid.Row="2" >
|
||
<Grid ColumnDefinitions="Auto,*,Auto" Tag="tmt">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesTankTempBtn"
|
||
/>
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="tankMaxTemp" Grid.Column="1"
|
||
Text="60.0"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text="°C"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="0,0,16,0"/>
|
||
</StackPanel>
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusTankTempBtn"
|
||
|
||
/>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
|
||
|
||
</Grid>
|
||
</Border>
|
||
</Grid>
|
||
<StackPanel Grid.Row="2" Orientation="Vertical" Margin="0,10,0,0" Spacing="10">
|
||
<!-- A "card" with a label on top, and a row for minus-button / numeric text / plus-button -->
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9,5"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesShiftTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusShiftTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesShiftTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusShiftTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesShiftTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusShiftTempBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="TANK AND PUMP
|
||
STEADY +SHIFT TEMP."
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="13" Width="142" Margin="0,0,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*" Grid.Row="2" >
|
||
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Tag="pht">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesShiftTempBtn"
|
||
/>
|
||
|
||
<StackPanel
|
||
Grid.Column="1"
|
||
Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="preHeatingTemp" Grid.Column="1"
|
||
Text="5"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text=" °C"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#ff0000"
|
||
Margin="0,0,16,0"/>
|
||
</StackPanel>
|
||
|
||
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusShiftTempBtn"
|
||
|
||
/>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
|
||
</Grid>
|
||
</Border>
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9,5"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesHelixDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHelixDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesHelixDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHelixDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesHelixDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHelixDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="HELIX-ON DELAY AFTER PRE-HEATING"
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="13" Width="142" Margin="0,0,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*" Grid.Row="2" >
|
||
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Tag="pd">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesHelixDelayBtn"
|
||
/>
|
||
|
||
<StackPanel
|
||
Grid.Column="1"
|
||
Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="pumbDelay" Grid.Column="1"
|
||
Text="140"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text=" S"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="0,0,16,0"/>
|
||
</StackPanel>
|
||
|
||
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusHelixDelayBtn"
|
||
|
||
/>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
|
||
</Grid>
|
||
</Border>
|
||
<!--second card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9,5"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesMixerDelaybtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMixerDelaybtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesMixerDelaybtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMixerDelaybtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesMixerDelaybtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusMixerDelaybtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="MIXER-ON DELAY AFTER PRE-HEATING"
|
||
TextWrapping="Wrap" HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="13" Width="142" Margin="0,0,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*" Grid.Row="2">
|
||
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Tag="md">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesMixerDelaybtn"
|
||
/>
|
||
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="mixerDelay" Grid.Column="1"
|
||
Text="120"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text=" S"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="0,0,16,0"/>
|
||
</StackPanel>
|
||
|
||
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusMixerDelaybtn"
|
||
/>
|
||
</Grid>
|
||
</Grid>
|
||
</Grid>
|
||
</Border>
|
||
</StackPanel>
|
||
|
||
</Grid>
|
||
</Grid>
|
||
<!--2ed col (Dots)-->
|
||
<Grid Grid.Column="1">
|
||
<Grid Width="5" IsVisible="True" Margin="40,0,0,0" >
|
||
<Grid.Background >
|
||
<ImageBrush Source="/Assets/LineDots.png"/>
|
||
</Grid.Background>
|
||
</Grid>
|
||
</Grid>
|
||
<!--3rd col (section two)-->
|
||
<Grid Grid.Column="2" Margin="0,20,0,0" RowDefinitions="Auto,*">
|
||
<Grid Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Center" RowDefinitions="*">
|
||
<Grid Grid.Row="0" Width="560" Height="460" IsVisible="True" HorizontalAlignment="Left" Margin="0,10,0,0" RowDefinitions="2.6*,*" >
|
||
<Grid.Background >
|
||
<ImageBrush Source="/Assets/AdminGraph.png"/>
|
||
</Grid.Background>
|
||
<Grid Grid.Row="0"></Grid>
|
||
<Grid Grid.Row="1">
|
||
<StackPanel Orientation="Horizontal" Margin="0,0,60,0" Spacing="0" HorizontalAlignment="Right">
|
||
<!-- A "card" with a label on top, and a row for minus-button / numeric text / plus-button -->
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesPouringDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusPouringDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesPouringDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusPouringDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesPouringDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusPouringDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="PRE-POURING PAUSE"
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*" Grid.Row="2">
|
||
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Tag="pouring">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesPouringDelayBtn"
|
||
/>
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="pouringPause" Grid.Column="1"
|
||
Text="40"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text=" S"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="0,0,16,0"/>
|
||
</StackPanel>
|
||
|
||
|
||
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusPouringDelayBtn"
|
||
/>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
</Border>
|
||
<!--second card-->
|
||
|
||
</StackPanel>
|
||
<StackPanel Orientation="Horizontal" Margin="70,0,0,0" Spacing="0" HorizontalAlignment="Left">
|
||
<!-- A "card" with a label on top, and a row for minus-button / numeric text / plus-button -->
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesHeatingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHeatingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesHeatingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHeatingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesHeatingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusHeatingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="POST-HEATING PAUSE"
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid RowDefinitions="*" Grid.Row="2">
|
||
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Tag="heating">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesHeatingDelayBtn"
|
||
/>
|
||
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="heatingPause" Grid.Column="1"
|
||
Text="10"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text=" S"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="0,0,16,0"/>
|
||
</StackPanel>
|
||
|
||
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusHeatingDelayBtn"
|
||
/>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
|
||
|
||
</Grid>
|
||
</Border>
|
||
<!--second card-->
|
||
|
||
</StackPanel>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
</Grid>
|
||
<Grid Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Top">
|
||
|
||
<StackPanel Orientation="Horizontal" Margin="0,-3,0,0" Spacing="0" >
|
||
<!-- A "card" with a label on top, and a row for minus-button / numeric text / plus-button -->
|
||
<!--first card-->
|
||
<Border
|
||
CornerRadius="12"
|
||
Background="White"
|
||
Padding="9"
|
||
BorderBrush="#DDDDDD"
|
||
BorderThickness="1"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Width="180"
|
||
Height="90">
|
||
|
||
<Grid>
|
||
<Grid Grid.Row="0" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
|
||
Tag="minesCoolingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusCoolingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
|
||
|
||
<Grid Grid.Row="1" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesCoolingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusCoolingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<Grid Grid.Row="2" ColumnDefinitions="*,*" >
|
||
<Border Grid.Column="0" Background="Transparent"
|
||
Tag="minesCoolingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
<Border Grid.Column="1" Background="Transparent"
|
||
Tag="plusCoolingDelayBtn"
|
||
PointerPressed="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
></Border>
|
||
</Grid>
|
||
<!-- Three rows: label, spacing, buttons row -->
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<!-- Label row -->
|
||
<RowDefinition Height="4"/>
|
||
<!-- Spacer -->
|
||
<RowDefinition Height="Auto" />
|
||
<!-- Buttons + numeric -->
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.ColumnSpan="3"
|
||
Text="POST-COOLING PAUSE"
|
||
TextWrapping="Wrap"
|
||
HorizontalAlignment="Center"
|
||
Foreground="#666666"
|
||
FontSize="15" Width="142" Margin="0,-5,0,0"
|
||
TextAlignment="Center" ZIndex="-1"/>
|
||
<Grid Grid.Row="2" RowDefinitions="*">
|
||
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Tag="cooling">
|
||
<!-- Minus button -->
|
||
<Button Grid.Column="0"
|
||
Content="–"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="minesCoolingDelayBtn"
|
||
/>
|
||
|
||
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
<!-- Numeric text -->
|
||
<TextBlock x:Name="coolingPause" Grid.Column="1"
|
||
Text="20"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="16,0,0,0"/>
|
||
<TextBlock Grid.Column="1"
|
||
Text=" S"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontSize="23.5"
|
||
FontWeight="Normal"
|
||
Foreground="#231F20"
|
||
Margin="0,0,16,0"/>
|
||
|
||
</StackPanel>
|
||
|
||
<!-- Plus button -->
|
||
<Button Grid.Column="2"
|
||
Content="+"
|
||
Width="32" Height="32"
|
||
Background="#E6E6E6"
|
||
BorderThickness="0"
|
||
CornerRadius="16"
|
||
Foreground="#af196f"
|
||
FontSize="25"
|
||
FontWeight="Normal"
|
||
Click="changeValue"
|
||
Holding="OnLongRecipeClick"
|
||
x:Name="plusCoolingDelayBtn"
|
||
/>
|
||
</Grid>
|
||
</Grid>
|
||
</Grid>
|
||
</Border>
|
||
|
||
</StackPanel>
|
||
</Grid>
|
||
</Grid>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
</UserControl>
|