|
@@ -9,7 +9,7 @@
|
|
|
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="420" d:DesignWidth="1040" x:Name="self">
|
|
|
+ d:DesignHeight="420" x:Name="self">
|
|
|
<UserControl.Resources>
|
|
|
<DataTemplate x:Key="IndexTemplate">
|
|
|
<Label Content="{Binding Index}" Width="30" Height="36" VerticalAlignment="Center" HorizontalAlignment="Left"></Label>
|
|
@@ -25,184 +25,230 @@
|
|
|
</DataTemplate>
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
- <Grid Margin="10,0,10,0" Height="420" Width="1000">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="500"/>
|
|
|
- <ColumnDefinition Width="500"/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="310"/>
|
|
|
- <RowDefinition Height="90"/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Canvas Grid.Column="0" Grid.Row="0" >
|
|
|
- <Grid Margin="10 10 10 10" >
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="30"></RowDefinition>
|
|
|
- <RowDefinition Height="290"></RowDefinition>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
- <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
- <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
- <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
- <Label Content="FIMS1 Information" Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1 0 1 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
|
|
|
- <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.ColumnSpan="2" Grid.Column="1" Padding="5,1">
|
|
|
- <TextBlock Text="{Binding FIMS1Status}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
- </Border>
|
|
|
- <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="2" Padding="5,1">
|
|
|
- <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
- </Border>-->
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="3" Padding="5,1">
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
- <Button Content="Init" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,8,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Home">
|
|
|
- <cal:Parameter Value="FIMS1"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Load" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Load">
|
|
|
- <cal:Parameter Value="FIMS1"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Unload" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Unload">
|
|
|
- <cal:Parameter Value="FIMS1"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Reset" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SetAlarmReset">
|
|
|
- <cal:Parameter Value="PM1.FIMS1"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Online" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS1OnlineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SetOnline">
|
|
|
- <cal:Parameter Value="FIMS1"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Offline" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS1OfflineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SetOffline">
|
|
|
- <cal:Parameter Value="FIMS1"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
- </Border>
|
|
|
- </Grid>
|
|
|
- </Canvas>
|
|
|
-
|
|
|
- <Canvas Grid.Column="1" Grid.Row="0" >
|
|
|
- <Grid Margin="10 10 10 10" >
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="30"></RowDefinition>
|
|
|
- <RowDefinition Height="290"></RowDefinition>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
- <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
- <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
- <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
- <Label Content="FIMS2 Information" Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1 0 1 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
|
|
|
- <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.ColumnSpan="2" Grid.Column="1" Padding="5,1">
|
|
|
- <TextBlock Text="{Binding FIMS2Status}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
- </Border>
|
|
|
- <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="2" Padding="5,1">
|
|
|
+ <Grid Margin="10,0,10,0" Height="420" Width="auto" >
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <Canvas Visibility="{Binding FIMS1Visibility, Converter={StaticResource bool2VisibilityConverter}}" Width="550" >
|
|
|
+ <Grid Margin="10 10 10 10" >
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
+ <RowDefinition Height="290"></RowDefinition>
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+
|
|
|
+ <Label Content="FIMS1 Information" Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1 0 1 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
|
|
|
+ <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
+ </Border>
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
|
|
|
+
|
|
|
+ <UniformGrid Rows="2" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
+ <TextBlock Text="{Binding FIMS1Status}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Visibility="{Binding FIMS1CycleVisibility,Converter={StaticResource bool2VisibilityConverter}}" Margin="0,30,0,0" Text="{Binding FIMS1CycleInfo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
+ </UniformGrid>
|
|
|
+ </Border>
|
|
|
+
|
|
|
+
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Padding="5,1">
|
|
|
+
|
|
|
+ <UniformGrid Columns="2" Rows="4">
|
|
|
+ <Button Content="Init" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="Home">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Reset" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetAlarmReset">
|
|
|
+ <cal:Parameter Value="PM1.FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+
|
|
|
+ <Button Content="Load" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="Load">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Unload" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="Unload">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="CycleStart" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetFIMSCycle">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="CycleStop" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetFIMSAbort">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Online" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS1OnlineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetOnline">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Offline" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS1OfflineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetOffline">
|
|
|
+ <cal:Parameter Value="FIMS1"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ </UniformGrid>
|
|
|
+
|
|
|
+ </Border>
|
|
|
+
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+ </Canvas>
|
|
|
+
|
|
|
+ <Canvas Visibility="{Binding FIMS2Visibility, Converter={StaticResource bool2VisibilityConverter}}" Width="550">
|
|
|
+ <Grid Margin="10 10 10 10" >
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
+ <RowDefinition Height="290"></RowDefinition>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="130"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
+ <ColumnDefinition Width="110"></ColumnDefinition>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+
|
|
|
+ <Label Content="FIMS2 Information" Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1 0 1 1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
|
|
|
+ <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
+ </Border>
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
|
|
|
+ <UniformGrid Rows="2" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
+ <TextBlock Text="{Binding FIMS2Status}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Visibility="{Binding FIMS2CycleVisibility,Converter={StaticResource bool2VisibilityConverter}}" Margin="0,30,0,0" Text="{Binding FIMS2CycleInfo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
+
|
|
|
+ </UniformGrid>
|
|
|
+ </Border>
|
|
|
+ <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="2" Padding="5,1">
|
|
|
<TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="16" FontFamily="Arial" VerticalAlignment="Center"/>
|
|
|
</Border>-->
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="3" Padding="5,1">
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
- <Button Content="Init" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,8,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Home">
|
|
|
- <cal:Parameter Value="FIMS2"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Load" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Load">
|
|
|
- <cal:Parameter Value="FIMS2"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Unload" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,10">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="Unload">
|
|
|
- <cal:Parameter Value="FIMS2"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Reset" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SetAlarmReset">
|
|
|
- <cal:Parameter Value="FIMS2"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Online" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS2OnlineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SetOnline">
|
|
|
- <cal:Parameter Value="FIMS2"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- <Button Content="Offline" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS2OfflineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" Margin="0,10,0,0">
|
|
|
- <i:Interaction.Triggers>
|
|
|
- <i:EventTrigger EventName="Click">
|
|
|
- <cal:ActionMessage MethodName="SetOffline">
|
|
|
- <cal:Parameter Value="FIMS2"/>
|
|
|
- </cal:ActionMessage>
|
|
|
- </i:EventTrigger>
|
|
|
- </i:Interaction.Triggers>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
- </Border>
|
|
|
- </Grid>
|
|
|
- </Canvas>
|
|
|
-
|
|
|
- <DockPanel Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,30,0,0">
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0 0 1 1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Padding="5,1">
|
|
|
+
|
|
|
+ <UniformGrid Columns="2" Rows="4">
|
|
|
+ <Button Content="Init" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="Home">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Reset" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetAlarmReset">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Load" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="Load">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Unload" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center">
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="Unload">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="CycleStart" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetFIMSCycle">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="CycleStop" IsEnabled="{Binding IsSystemStaus}" Foreground="{DynamicResource FG_Black}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetFIMSAbort">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Online" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS2OnlineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetOnline">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ <Button Content="Offline" Foreground="{DynamicResource FG_Black}" IsEnabled="{Binding IsFIMS2OfflineButtonEnable}" FontSize="16" Height="37" FontFamily="Arial" VerticalAlignment="Center" >
|
|
|
+ <i:Interaction.Triggers>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <cal:ActionMessage MethodName="SetOffline">
|
|
|
+ <cal:Parameter Value="FIMS2"/>
|
|
|
+ </cal:ActionMessage>
|
|
|
+ </i:EventTrigger>
|
|
|
+ </i:Interaction.Triggers>
|
|
|
+ </Button>
|
|
|
+ </UniformGrid>
|
|
|
+
|
|
|
+ </Border>
|
|
|
+ </Grid>
|
|
|
+ </Canvas>
|
|
|
+ </StackPanel>
|
|
|
+ <DockPanel VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,30,0,30">
|
|
|
<Border>
|
|
|
<Button Content="Close" Style="{StaticResource CommandButton}" Margin="0,0,20,0" Width="120" Height="40">
|
|
|
<i:Interaction.Triggers>
|
|
@@ -217,5 +263,4 @@
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
-
|
|
|
</UserControl>
|