123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481 |
- <UserControl x:Class="FurnaceUI.Views.Parameter.TempProfileEditView"
- 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.Parameter"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:cal="http://www.caliburn.org" xmlns:converters="clr-namespace:Aitex.Core.UI.Converters;assembly=MECF.Framework.UI.Core" xmlns:converter="clr-namespace:FurnaceUI.Converter" xmlns:controls="http://OpenSEMI.Ctrlib.com/presentation"
- mc:Ignorable="d"
- Height="785" Width="1260" FontFamily="Segoe" Background="White">
- <UserControl.Resources>
- <Style TargetType="RadioButton" BasedOn="{StaticResource NormalRadioButton}">
- <Setter Property="FontSize" Value="16"/>
- </Style>
- <Style x:Key="myHeaderStyle" TargetType="{x:Type GridViewColumnHeader}">
- <Setter Property="Visibility" Value="Collapsed" />
- </Style>
- <converter:MFCListConverter x:Key="mFCListConverter"/>
- <converter:IsCheckShowStringConverter x:Key="isCheckShowStringConverter"/>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="80"/>
- </Grid.RowDefinitions>
- <Canvas >
- <TextBlock Text="File Name:" FontSize="16" Canvas.Left="38" Canvas.Top="33"/>
- <Border Canvas.Left="120" Canvas.Top="32" Width="Auto" HorizontalAlignment="Left">
- <TextBlock Width="1100" TextWrapping="Wrap" FontSize="16" HorizontalAlignment="Left" Text="{Binding CurrentParameter.Name}" />
- </Border>
- <Button Style="{StaticResource MainArea_Button}" Height="563" Width="270" Canvas.Left="130" Canvas.Top="100" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
- <ContentControl>
- <Canvas Margin="-10,20,10,0">
- <RadioButton Canvas.Left="32" IsChecked="{Binding ProfileTable1.IsChecked}" Canvas.Top="4" Content="Table 1" GroupName="Table"/>
- <Grid Canvas.Top="4">
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="142" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" >
- <TextBlock Text="Table Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" >
- <TextBox Text="{Binding ProfileTable1.Name,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" >
- <TextBlock Text="Preheat Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable1.PreheatTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" >
- <TextBlock Text="Check Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable1.CheckTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.ColumnSpan="2">
- <TextBlock Text="Check Limit" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
-
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" >
- <TextBlock Text="U(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitU.Minimun}" MaxValue="{Binding ProfileTable1.LimitU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120" >
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" >
- <TextBlock Text="CU(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitCU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitCU.Minimun}" MaxValue="{Binding ProfileTable1.LimitCU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" >
- <TextBlock Text="C(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitC.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitC.Minimun}" MaxValue="{Binding ProfileTable1.LimitC.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" >
- <TextBlock Text="CL(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitCL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitCL.Minimun}" MaxValue="{Binding ProfileTable1.LimitCL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" >
- <TextBlock Text="L(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.LimitL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.LimitL.Minimun}" MaxValue="{Binding ProfileTable1.LimitL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" >
- <TextBlock Text="Total Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable1.TotalTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" >
- <TextBlock Text="Alarm Limit(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable1.AlarmLimit.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable1.AlarmLimit.Minimun}" MaxValue="{Binding ProfileTable1.AlarmLimit.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- </Grid>
- </Canvas>
- </ContentControl>
- </Button>
- <Button Style="{StaticResource MainArea_Button}" Height="563" Width="270" Canvas.Left="500" Canvas.Top="100" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
- <ContentControl>
- <Canvas Margin="-10,20,10,0">
- <RadioButton Canvas.Left="32" Canvas.Top="4" IsChecked="{Binding ProfileTable2.IsChecked}" Content="Table 2" GroupName="Table"/>
- <Grid Canvas.Top="4">
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="142" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" >
- <TextBlock Text="Table Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" >
- <TextBox Text="{Binding ProfileTable2.Name,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" >
- <TextBlock Text="Preheat Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable2.PreheatTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" >
- <TextBlock Text="Check Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable2.CheckTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.ColumnSpan="2">
- <TextBlock Tag="Number" Text="Check Limit" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" >
- <TextBlock Text="U(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitU.Minimun}" MaxValue="{Binding ProfileTable2.LimitU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120" >
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" >
- <TextBlock Text="CU(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitCU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitCU.Minimun}" MaxValue="{Binding ProfileTable2.LimitCU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" >
- <TextBlock Text="C(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitC.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitC.Minimun}" MaxValue="{Binding ProfileTable2.LimitC.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" >
- <TextBlock Text="CL(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitCL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitCL.Minimun}" MaxValue="{Binding ProfileTable2.LimitCL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" >
- <TextBlock Text="L(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.LimitL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.LimitL.Minimun}" MaxValue="{Binding ProfileTable2.LimitL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" >
- <TextBlock Text="Total Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable2.TotalTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" >
- <TextBlock Text="Alarm Limit(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable2.AlarmLimit.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable2.AlarmLimit.Minimun}" MaxValue="{Binding ProfileTable2.AlarmLimit.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- </Grid>
- </Canvas>
- </ContentControl>
- </Button>
- <Button Style="{StaticResource MainArea_Button}" Height="563" Width="270" Canvas.Left="870" Canvas.Top="100" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
- <ContentControl>
- <Canvas Margin="-10,20,10,0">
- <RadioButton Canvas.Left="32" Canvas.Top="4" IsChecked="{Binding ProfileTable3.IsChecked}" Content="Table 3" GroupName="Table"/>
- <Grid Canvas.Top="4">
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="142" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" >
- <TextBlock Text="Table Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" >
- <TextBox Text="{Binding ProfileTable3.Name,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" >
- <TextBlock Text="Preheat Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable3.PreheatTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}" >
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" >
- <TextBlock Text="Check Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" Padding="5,0,0,0" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable3.CheckTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.ColumnSpan="2">
- <TextBlock Text="Check Limit" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" >
- <TextBlock Tag="Number" Text="U(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitU.Minimun}" MaxValue="{Binding ProfileTable3.LimitU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120" >
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" >
- <TextBlock Text="CU(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitCU.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitCU.Minimun}" MaxValue="{Binding ProfileTable3.LimitCU.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" >
- <TextBlock Text="C(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitC.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitC.Minimun}" MaxValue="{Binding ProfileTable3.LimitC.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" >
- <TextBlock Text="CL(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitCL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitCL.Minimun}" MaxValue="{Binding ProfileTable3.LimitCL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" >
- <TextBlock Text="L(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.LimitL.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.LimitL.Minimun}" MaxValue="{Binding ProfileTable3.LimitL.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 1 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" >
- <TextBlock Text="Total Time(s)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 0" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1" >
- <TextBox Tag="Number" Text="{Binding ProfileTable3.TotalTime,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsEnabled="{Binding IsEditEnabled}">
-
- </TextBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="12" >
- <TextBlock Text="Alarm Limit(℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" Padding="5,0,0,0"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 0 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.Column="1" >
- <WrapPanel >
- <controls:TextBoxEx Tag="Number" Text="{Binding ProfileTable3.AlarmLimit.Value,UpdateSourceTrigger=PropertyChanged}" MinValue="{Binding ProfileTable3.AlarmLimit.Minimun}" MaxValue="{Binding ProfileTable3.AlarmLimit.Maximun}" IsEnabled="{Binding IsEditEnabled}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="40" Width="120">
-
- </controls:TextBoxEx>
- </WrapPanel>
- </Border>
- </Grid>
- </Canvas>
- </ContentControl>
- </Button>
- </Canvas>
- <StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" Height="50" Margin="0,0,10,10">
- <Button Content="Unload" Width="95" Margin="2" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ParameterUnload">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Download" Width="95" Margin="2" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ParameterDownload">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Save" Width="95" Margin="2" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ParameterSave">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Cancel" Width="95" Margin="2" Style="{StaticResource CommandButton}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ParameterCancel">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Grid>
- </UserControl>
|