123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <UserControl x:Class="FurnaceUI.Views.Operations.SetTemperatureView"
- 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:FurnaceUI.Views.Operations"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:cal="http://www.caliburn.org"
- mc:Ignorable="d"
- d:DesignHeight="440" d:DesignWidth="600">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="310"/>
- <RowDefinition Height="80"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Border Grid.Row="0" Grid.Column="0" Margin="10,0,0,0">
- <Canvas>
- <Border CornerRadius="40,40,0,0" Canvas.Left="40" Canvas.Top="10" Height="285" BorderBrush="Green" BorderThickness="1,1,1,1" Width="490">
- <Label Content="℃" Margin="200,13,0,0"></Label>
- </Border>
- <Border CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15" Canvas.Left="500" Canvas.Top="107">
- </Border>
- <Border CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15" Canvas.Left="500" Canvas.Top="147">
- </Border>
- <Border CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15" Canvas.Left="500" Canvas.Top="187">
- </Border>
- <Border CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15" Canvas.Left="500" Canvas.Top="227">
- </Border>
- <Border CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15" Canvas.Left="500" Canvas.Top="267">
- </Border>
- <Grid Width="450" VerticalAlignment="Bottom" Canvas.Left="60" Canvas.Top="65" >
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="25"/>
- <ColumnDefinition Width="135"/>
- <ColumnDefinition Width="135"/>
- <ColumnDefinition Width="135"/>
- </Grid.ColumnDefinitions>
- <Border Grid.Row="0" Grid.Column="0" Padding="1" >
- </Border>
- <Border Grid.Row="0" Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="1" >
- <TextBlock Text="Actual" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="34" Canvas.Top="59"/>
- </Border>
- <Border Grid.Row="0" Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="1" >
- <TextBlock Text="Set" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="34" Canvas.Top="59"/>
- </Border>
- <Border Grid.Row="0" Grid.Column="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="1" >
- <TextBlock Grid.Row="0" Grid.Column="3" Text="Ramp" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="34" Canvas.Top="106"/>
- </Border>
- <Border Grid.Row="1" Grid.Column="0" Padding="1" CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15">
- </Border>
- <Border Grid.Row="1" Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Padding="1" >
- <TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding TopHeaterActionValue}" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center" Canvas.Left="34" Canvas.Top="128"/>
- </Border>
- <Border Grid.Row="1" Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding TopHeaterSetPoint, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="1" Grid.Column="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" Height="40" VerticalAlignment="Top" >
- <TextBox FontSize="25" Text="{Binding TopHeaterSetRamp, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="2" Grid.Column="0" Padding="1" CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15">
- </Border>
- <Border Grid.Row="2" Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Padding="1" >
- <TextBlock Text="{Binding TopCenterActionValue}" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Row="2" Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding TopCenterHeaterSetPoint, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="2" Grid.Column="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1">
- <TextBox FontSize="25" Text="{Binding TopCenterHeaterSetRamp, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="3" Grid.Column="0" Padding="1" CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15">
- </Border>
- <Border Grid.Row="3" Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Padding="1" >
- <TextBlock Text="{Binding CenterHeaderActionValue}" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Row="3" Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding CenterHeaterSetPoint, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="3" Grid.Column="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding CenterHeaterSetRamp, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="4" Grid.Column="0" Padding="1" CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15">
- </Border>
- <Border Grid.Row="4" Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Padding="5,1" >
- <TextBlock Text="{Binding CenterBottomHeaterActionValue}" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Row="4" Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding CenterBottomHeaterSetPoint, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="4" Grid.Column="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding CenterBottomHeaterSetRamp, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- <Border Grid.Row="5" Grid.Column="0" Padding="1" CornerRadius="40,40,40,40" BorderBrush="Green" BorderThickness="1,1,1,1" Width="15" Height="15">
- </Border>
- <Border Grid.Row="5" Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Padding="5,1" >
- <TextBlock Text="{Binding BottomHeaterActionValue}" TextWrapping="Wrap" Foreground="Black" FontSize="15" FontFamily="Segoe" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Row="5" Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding CenterBottomHeaterSetPoint, UpdateSourceTrigger=PropertyChanged}" Width="135" Padding="1" ></TextBox>
- </Border>
- <Border Grid.Row="5" Grid.Column="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Padding="1" >
- <TextBox FontSize="25" Text="{Binding BottomHeaterSetRamp, UpdateSourceTrigger=PropertyChanged}" Width="135" ></TextBox>
- </Border>
- </Grid>
- </Canvas>
- </Border>
- <DockPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0">
- <RadioButton Content="Inner Control" FontSize="35" Width="260" Height="45" GroupName="ControlMode" Margin="10" IsChecked="{Binding IsInnerControlChecked}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="SelectControlCmd">
- <cal:Parameter Value="Inner Control"></cal:Parameter>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </RadioButton>
- <RadioButton Content="Outer Control" FontSize="35" Width="260" Height="45" GroupName="ControlMode" Margin="10" IsChecked="{Binding IsOutControlChecked}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="SelectControlCmd">
- <cal:Parameter Value="Outer Control"></cal:Parameter>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </RadioButton>
- </DockPanel>
- <DockPanel Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,0,0">
- <Border>
- <Button Content="EXEC" Style="{StaticResource CommandButton}" Margin="0,0,20,0" Width="130" Height="45">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="EXECCmd">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Border>
- <Border>
- <Button Content="Close" Style="{StaticResource CommandButton}" Margin="0,0,20,0" Width="130" Height="45">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ClosedCmd">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Border>
- </DockPanel>
- </Grid>
- </UserControl>
|