| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 | 
							- <UserControl x:Class="FurnaceUI.Views.Operations.StandbyFactorView"
 
-              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:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
 
-              xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
 
-              xmlns:cal="http://www.caliburn.org"
 
-              xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
 
-              xmlns:local="clr-namespace:FurnaceUI.Views.Maintenances"
 
-              mc:Ignorable="d" 
 
-              d:DesignHeight="600" d:DesignWidth="640" x:Name="self">
 
-     <UserControl.Resources>
 
-         <DataTemplate  x:Key="IndexTemplate">
 
-             <Label Content="{Binding Index}"  Width="30" Height="36" VerticalAlignment="Center" HorizontalAlignment="Left"></Label>
 
-         </DataTemplate>
 
-         <DataTemplate  x:Key="NameTemplate">
 
-             <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0">
 
-                 <Label Content="{Binding DisplayName}"  Width="350" Height="36" VerticalAlignment="Center" HorizontalAlignment="Left"></Label>
 
-             </Border>
 
-         </DataTemplate>
 
-         <DataTemplate  x:Key="ValueTemplate">
 
-             <deviceControl:AITSensor LightOnValue="{Binding Value}" GreenColor="True"  Width="100" Height="36" VerticalAlignment="Center" HorizontalAlignment="Center">
 
-             </deviceControl:AITSensor>
 
-         </DataTemplate>
 
-     </UserControl.Resources>
 
-     <Grid Margin="10,0,10,0">
 
-         <Grid.RowDefinitions>
 
-             <RowDefinition Height="Auto"/>
 
-             <RowDefinition Height="50"/>
 
-         </Grid.RowDefinitions>
 
-         <Grid.ColumnDefinitions>
 
-             <ColumnDefinition Width="200"/>
 
-             <ColumnDefinition Width="75"/>
 
-             <ColumnDefinition Width="*"/>
 
-         </Grid.ColumnDefinitions>
 
-         <GroupBox Grid.Row="0" Grid.ColumnSpan="3">
 
-             <DataGrid FontSize="16" AutoGenerateColumns="False" CanUserAddRows="False" CanUserResizeRows="False" CanUserSortColumns="False" ItemsSource="{Binding StandbyFactorViewItems}" 
 
-                       ScrollViewer.CanContentScroll="True" 
 
-                       ScrollViewer.VerticalScrollBarVisibility="Auto"
 
-                       ScrollViewer.HorizontalScrollBarVisibility="Auto" Height="280" VerticalAlignment="Top" Margin="0,0,0,0">
 
-                 <DataGrid.Columns>
 
-                     <DataGridTemplateColumn Header="Standby Factor" Width="250" IsReadOnly="True">
 
-                         <DataGridTemplateColumn.CellTemplate>
 
-                             <DataTemplate>
 
-                                 <TextBlock Text="{Binding Factor, UpdateSourceTrigger=PropertyChanged}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center">
 
-                                     
 
-                                 </TextBlock>                                           
 
-                             </DataTemplate>
 
-                         </DataGridTemplateColumn.CellTemplate>
 
-                     </DataGridTemplateColumn>
 
-                     <DataGridTemplateColumn Header="Result" Width="100" IsReadOnly="True">
 
-                         <DataGridTemplateColumn.CellTemplate>
 
-                             <DataTemplate>
 
-                                 <TextBlock Text="{Binding Result}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center">                            
 
-                                 </TextBlock>
 
-                             </DataTemplate>
 
-                         </DataGridTemplateColumn.CellTemplate>
 
-                     </DataGridTemplateColumn>
 
-                     <DataGridTemplateColumn Header="Action" Width="150" IsReadOnly="True">
 
-                         <DataGridTemplateColumn.CellTemplate>
 
-                             <DataTemplate>
 
-                                 <Button Margin="0,4" Content="Bypass" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Height="30" IsEnabled="{Binding IsBypassEnabled}">
 
-                                     <i:Interaction.Triggers>
 
-                                         <i:EventTrigger EventName="Click">
 
-                                             <cal:ActionMessage MethodName="FactorAction">
 
-                                                 <cal:Parameter Value="{Binding Factor}"/>
 
-                                             </cal:ActionMessage>
 
-                                         </i:EventTrigger>
 
-                                     </i:Interaction.Triggers>
 
-                                 </Button>
 
-                             </DataTemplate>
 
-                         </DataGridTemplateColumn.CellTemplate>
 
-                     </DataGridTemplateColumn>
 
-                 </DataGrid.Columns>
 
-             </DataGrid>
 
-         </GroupBox>
 
-         <DockPanel Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,0,0">
 
-             <Border>
 
-                 <Button Content="Close"  Style="{StaticResource CommandButton}" Margin="0,0,20,0" Width="120" Height="40">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="ClosedCmd">
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-             </Border>
 
-         </DockPanel>
 
-     </Grid>
 
- </UserControl>
 
 
  |