408 lines
29 KiB
Text
408 lines
29 KiB
Text
|
|
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
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"
|
||
|
|
xmlns:local="clr-namespace:eDosStation"
|
||
|
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||
|
|
x:Class="eDosStation.EntryBadge"
|
||
|
|
mc:Ignorable="d"
|
||
|
|
Title="EntryBadge"
|
||
|
|
Height="980" Width="1820" ResizeMode="NoResize" FontFamily="Segoe UI" FontSize="36"
|
||
|
|
Loaded="Window_Loaded"
|
||
|
|
WindowStartupLocation="CenterScreen" WindowState="Maximized" Closing="Window_Closing"
|
||
|
|
>
|
||
|
|
<Window.Resources>
|
||
|
|
<local:DataSet1 x:Key="dataSet1"/>
|
||
|
|
<CollectionViewSource x:Key="getTaskListViewSource" Source="{Binding GetTaskInfo, Source={StaticResource dataSet1}}" />
|
||
|
|
<Style x:Key="tblHeaderLabel" TargetType="TextBlock">
|
||
|
|
<Setter Property="Background" Value="{StaticResource sckbLB}" />
|
||
|
|
<Setter Property="Padding" Value="20,0,20,0" />
|
||
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
||
|
|
<Setter Property="FontSize" Value="30"/>
|
||
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="tblIssuedLabel" TargetType="TextBlock">
|
||
|
|
<Setter Property="Background" Value="{StaticResource sckbLB}" />
|
||
|
|
<Setter Property="Padding" Value="20,0,20,0" />
|
||
|
|
<Setter Property="TextAlignment" Value="Right"/>
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="tblIssuedValue" TargetType="TextBlock">
|
||
|
|
<Setter Property="TextAlignment" Value="Right" />
|
||
|
|
<Setter Property="Padding" Value="20,0,20,0" />
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="tblIssuedValueTitle" TargetType="TextBlock">
|
||
|
|
<Setter Property="TextAlignment" Value="Right" />
|
||
|
|
<Setter Property="Padding" Value="20,0,20,0" />
|
||
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
|
||
|
|
</Window.Resources>
|
||
|
|
<DockPanel VerticalAlignment="Top">
|
||
|
|
<StackPanel DockPanel.Dock="Top" HorizontalAlignment="Left">
|
||
|
|
<Image Source="/Images/logoh120.png" Height="60"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Center">
|
||
|
|
<!--<StaticResource ResourceKey="tbFooter" />-->
|
||
|
|
</StackPanel>
|
||
|
|
|
||
|
|
<TabControl Name="tb" TabStripPlacement="Top" VerticalAlignment="Center" Padding="-1" >
|
||
|
|
<TabItem Name="tbEntry" VerticalAlignment="Center" >
|
||
|
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10,100,10,10" >
|
||
|
|
<Border Background="{Binding Mode=OneWay, Source={StaticResource sckbLB}}" TextBlock.FontSize="24" TextBlock.LineHeight="30px" Padding="20,20,20,20" CornerRadius="10" BorderThickness="2" BorderBrush="Blue" >
|
||
|
|
<StackPanel HorizontalAlignment="Center" >
|
||
|
|
<TextBlock TextAlignment="Center" Padding="10,10,10,10" >
|
||
|
|
<LineBreak/>
|
||
|
|
<Image Source="/Images/Mannetjet.png" Width="60" Margin="0,0,50,0"/>
|
||
|
|
|
||
|
|
<Run Foreground="{Binding Mode=OneWay, Source={StaticResource sckbP}}" FontSize="28" FontWeight="Bold">Welcome to eDOS</Run>
|
||
|
|
<LineBreak/><LineBreak/>
|
||
|
|
<Run Background="LightGreen">Entry Process is ready</Run>
|
||
|
|
<LineBreak/><LineBreak/>
|
||
|
|
<Run>Please scan your badge on the badge reader</Run>
|
||
|
|
<LineBreak/><LineBreak/>
|
||
|
|
</TextBlock>
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
<StackPanel VerticalAlignment="Center">
|
||
|
|
<telerik:RadButton Name="LeesCancel" Content="Cancel" Click="LeesCancel_Click" Margin="20,20,0,0" Style="{DynamicResource OkCancelButton}" />
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal">
|
||
|
|
<TextBlock x:Name="CSN" />
|
||
|
|
<TextBlock x:Name="Site" />
|
||
|
|
<TextBlock x:Name="Code" />
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Margin="0,50,0,0" Name="pTestButtons" Visibility="Collapsed" />
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Name="tbUser" VerticalAlignment="Center" >
|
||
|
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Vertical" Margin="50,50,50,50">
|
||
|
|
<Border Background="AliceBlue" TextBlock.FontSize="20" Padding="20,20,20,20" >
|
||
|
|
<StackPanel HorizontalAlignment="Center" >
|
||
|
|
<TextBlock Name="Username" Text="" TextAlignment="Center" Margin="0,20,0,20" HorizontalAlignment="Stretch"/>
|
||
|
|
<TextBlock Name="UserAccess" Text="Welcome to eDOS" TextAlignment="Center" MaxWidth="600" TextWrapping="Wrap" HorizontalAlignment="Stretch" />
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
<Border Name="boxComment" Background="AliceBlue" TextBlock.FontSize="15" Padding="20,20,20,20" >
|
||
|
|
<StackPanel HorizontalAlignment="Center" >
|
||
|
|
<TextBlock Text="Comment" />
|
||
|
|
<TextBlock x:Name="UserComment" />
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
<ProgressBar x:Name="pUserSeconds" Background="Blue" Value="5" Maximum="10" Tag="AA" >
|
||
|
|
<ProgressBar.Effect>
|
||
|
|
<DropShadowEffect/>
|
||
|
|
</ProgressBar.Effect>
|
||
|
|
</ProgressBar>
|
||
|
|
<TextBlock x:Name="tUserSeconds" Text="10" TextAlignment="Center" HorizontalAlignment="Stretch" />
|
||
|
|
<telerik:RadButton Content="OK" Name="bUserRead" Click="BUserRead_Click" Style="{DynamicResource OkCancelButton}" Margin="50,50,50,50"/>
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Name="tbTask" VerticalAlignment="Top">
|
||
|
|
<Grid DataContext="{Binding Mode=OneWay, Source={StaticResource getTaskListViewSource}}" >
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="*" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="80" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Row="0" Grid.ColumnSpan="3" Text="Naam" Name="Naam" HorizontalAlignment="Stretch" TextAlignment="Center" FontWeight="Bold" Background="Azure" FontSize="15" />
|
||
|
|
<Border Grid.Row="1" Grid.ColumnSpan="3" Background="{StaticResource sckbLB}" HorizontalAlignment="Stretch" CornerRadius="10" VerticalAlignment="Top" >
|
||
|
|
<Grid>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<StackPanel Orientation="Horizontal" Grid.Column="0">
|
||
|
|
<telerik:RadToggleButton Name="cbNormal" HorizontalAlignment="Left" Width="150" Content="Normal" TextBlock.FontSize="24" Click="CbNormal_Click" IsChecked="True" CornerRadius="15" />
|
||
|
|
<telerik:RadToggleButton Name="cbAlara" HorizontalAlignment="Left" Width="150" Content="Alara" TextBlock.FontSize="24" Click="CbAlara_Click" IsChecked="False" CornerRadius="15" />
|
||
|
|
</StackPanel>
|
||
|
|
<TextBlock Grid.Column="1" FontSize="36" TextAlignment="Center" Text="Choose a task" />
|
||
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="3">
|
||
|
|
<telerik:RadToggleButton Name="cbInst1" HorizontalAlignment="Left" Width="150" Content="Inst1" TextBlock.FontSize="24" Click="CbInst1_Click" IsChecked="True" CornerRadius="15" />
|
||
|
|
<telerik:RadToggleButton Name="cbInst2" HorizontalAlignment="Left" Width="150" Content="Inst2" TextBlock.FontSize="24" Click="CbInst2_Click" IsChecked="false" Visibility="Collapsed" CornerRadius="15" />
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
</Border>
|
||
|
|
<StackPanel Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Orientation="Vertical" VerticalAlignment="Top" HorizontalAlignment="Stretch" >
|
||
|
|
<Border MaxHeight="700" HorizontalAlignment="Left" VerticalAlignment="Top">
|
||
|
|
<ScrollViewer VerticalScrollBarVisibility="Visible" Name="scrollTask" Visibility="Visible" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
|
||
|
|
<ListBox ItemsSource="{Binding Mode=OneWay}" SelectedValuePath="ID_Task" SelectionChanged="ListBox_SelectionChanged" ScrollViewer.CanContentScroll="False" Name="LB1" >
|
||
|
|
<ListBox.ItemContainerStyle>
|
||
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Left"/>
|
||
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||
|
|
</Style>
|
||
|
|
</ListBox.ItemContainerStyle>
|
||
|
|
<ListBox.ItemsPanel>
|
||
|
|
<ItemsPanelTemplate>
|
||
|
|
<telerik:RadUniformGrid Columns="3" IsItemsHost="True" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
||
|
|
</ItemsPanelTemplate>
|
||
|
|
</ListBox.ItemsPanel>
|
||
|
|
<ListBox.ItemTemplate>
|
||
|
|
<DataTemplate>
|
||
|
|
<StackPanel Orientation="Horizontal" TextBlock.FontSize="20" Margin="5,5,5,5" Height="20" HorizontalAlignment="Left" VerticalAlignment="Center" >
|
||
|
|
<TextBlock Text="{Binding TaskType_CODE}" Width="60" TextWrapping="NoWrap" FontSize="18" HorizontalAlignment="Left" >
|
||
|
|
<TextBlock.Style>
|
||
|
|
<Style TargetType="TextBlock">
|
||
|
|
<Style.Triggers>
|
||
|
|
<DataTrigger Binding="{Binding EPDRad}" Value="BG">
|
||
|
|
<Setter Property="Background" Value="LightGray"></Setter>
|
||
|
|
</DataTrigger>
|
||
|
|
<DataTrigger Binding="{Binding EPDRad}" Value="NG">
|
||
|
|
<Setter Property="Background" Value="Black"></Setter>
|
||
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
||
|
|
</DataTrigger>
|
||
|
|
</Style.Triggers>
|
||
|
|
</Style>
|
||
|
|
</TextBlock.Style>
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Text="{Binding Task_Name}" Width="410" FontSize="17" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="10,0,0,0" />
|
||
|
|
</StackPanel>
|
||
|
|
</DataTemplate>
|
||
|
|
</ListBox.ItemTemplate>
|
||
|
|
</ListBox>
|
||
|
|
<!--<telerik:RadMultiColumnComboBox DisplayMemberPath="Task_Name" Width="700" HorizontalAlignment="Stretch" >
|
||
|
|
<telerik:RadMultiColumnComboBox.ItemsSourceProvider>
|
||
|
|
<telerik:GridViewItemsSourceProvider ItemsSource="{Binding}" />
|
||
|
|
</telerik:RadMultiColumnComboBox.ItemsSourceProvider>
|
||
|
|
</telerik:RadMultiColumnComboBox>-->
|
||
|
|
</ScrollViewer>
|
||
|
|
</Border>
|
||
|
|
<Grid Name="numPanel" Width="600" Height="300" Visibility="Collapsed" >
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition />
|
||
|
|
<RowDefinition />
|
||
|
|
<RowDefinition />
|
||
|
|
<RowDefinition />
|
||
|
|
<RowDefinition />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
<ColumnDefinition />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<Border Grid.Row="0" Grid.ColumnSpan="3" BorderBrush="Black" BorderThickness="1" Padding="20,10,20,10">
|
||
|
|
<TextBlock Text="0" TextAlignment="Right" Background="AliceBlue" Name="numPanelDisplay" />
|
||
|
|
</Border>
|
||
|
|
<TextBlock Grid.Row="0" Grid.Column="3" Text="Task" TextAlignment="Center" />
|
||
|
|
|
||
|
|
<Button Content="7" Grid.Row="1" Grid.Column="0" Name="numPanel7" Tag="7" Click="numPanel_Click" />
|
||
|
|
<Button Content="8" Grid.Row="1" Grid.Column="1" Name="numPanel8" Tag="8" Click="numPanel_Click" />
|
||
|
|
<Button Content="9" Grid.Row="1" Grid.Column="2" Name="numPanel9" Tag="9" Click="numPanel_Click" />
|
||
|
|
<Button Content="Clear" Grid.Row="1" Grid.Column="4" Name="numPanelClear" Tag="C" Click="numPanel_Click" />
|
||
|
|
|
||
|
|
<Button Content="4" Grid.Row="2" Grid.Column="0" Name="numPanel4" Tag="4" Click="numPanel_Click" />
|
||
|
|
<Button Content="5" Grid.Row="2" Grid.Column="1" Name="numPanel5" Tag="5" Click="numPanel_Click" />
|
||
|
|
<Button Content="6" Grid.Row="2" Grid.Column="2" Name="numPanel6" Tag="6" Click="numPanel_Click" />
|
||
|
|
|
||
|
|
<Button Content="1" Grid.Row="3" Grid.Column="0" Name="numPanel1" Tag="1" Click="numPanel_Click" />
|
||
|
|
<Button Content="2" Grid.Row="3" Grid.Column="1" Name="numPanel2" Tag="2" Click="numPanel_Click" />
|
||
|
|
<Button Content="3" Grid.Row="3" Grid.Column="2" Name="numPanel3" Tag="3" Click="numPanel_Click" />
|
||
|
|
<Button Content="0" Grid.Row="4" Grid.Column="0" Name="numPanel0" Tag="0" Click="numPanel_Click" />
|
||
|
|
<Button Content="<X" Grid.Row="4" Grid.Column="2" Name="numPanelDel" Tag="B" Click="numPanel_Click" />
|
||
|
|
<Button Content="ENTER" Grid.Row="4" Grid.Column="3" Name="numPanelEnter" Tag="E" Click="numPanel_Click" />
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
</StackPanel>
|
||
|
|
<Grid Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Margin="10,10,10,10" TextBlock.FontSize="12" TextBlock.LineHeight="12" Name="gridTaskSummary" >
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="50" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="auto"/>
|
||
|
|
<ColumnDefinition Width="auto" />
|
||
|
|
<ColumnDefinition Width="auto"/>
|
||
|
|
<ColumnDefinition Width="auto"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<Image Grid.Row="0" Grid.RowSpan="5" Height="60" VerticalAlignment="Center" Margin="5,10,50,5" >
|
||
|
|
<Image.Style>
|
||
|
|
<Style TargetType="{x:Type Image}">
|
||
|
|
<Style.Triggers>
|
||
|
|
<DataTrigger Binding="{Binding EPDRad}" Value="BG">
|
||
|
|
<Setter Property="Source" Value="{StaticResource iBG}"></Setter>
|
||
|
|
</DataTrigger>
|
||
|
|
<DataTrigger Binding="{Binding EPDRad}" Value="NG">
|
||
|
|
<Setter Property="Source" Value="{StaticResource iNG}"></Setter>
|
||
|
|
</DataTrigger>
|
||
|
|
</Style.Triggers>
|
||
|
|
</Style>
|
||
|
|
</Image.Style>
|
||
|
|
</Image>
|
||
|
|
<TextBlock Grid.Row="1" Grid.Column="1" >
|
||
|
|
<Run FontWeight="Bold" Text="Task: "/>
|
||
|
|
<Run Text="{Binding TaskType_CODE,Mode=OneWay}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="1" Grid.Column="2" >
|
||
|
|
<Run FontWeight="Bold" Text="Hp07Dose: "/>
|
||
|
|
<Run Text="{Binding Hp07Dose,Mode=OneWay,StringFormat={}{0:0.00} µSv}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="1" Grid.Column="3" >
|
||
|
|
<Run FontWeight="Bold" Text="Hp10Dose L: "/>
|
||
|
|
<Run Text="{Binding Hp10Dose1,StringFormat={}{0:0.00} µSv}" />
|
||
|
|
<Run FontWeight="Bold" Text="H: "/>
|
||
|
|
<Run Text="{Binding Hp10Dose2,StringFormat={}{0:0.00} µSv}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="2" Grid.Column="1" >
|
||
|
|
<Run FontWeight="Bold" Text="Hp07Rate Off: "/>
|
||
|
|
<Run Text="{Binding HP07RateOFF,StringFormat={}{0:0.00} µSv/h}" />
|
||
|
|
<Run FontWeight="Bold" Text=" On: "/>
|
||
|
|
<Run Text="{Binding HP07RateON,StringFormat={}{0:0.00} µSv/h}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="2" Grid.Column="2" >
|
||
|
|
<Run FontWeight="Bold" Text="Hp10Rate Off: "/>
|
||
|
|
<Run Text="{Binding HP10Rate1OFF,StringFormat={}{0:0.00} µSv/h}" />
|
||
|
|
<Run FontWeight="Bold" Text=" On: "/>
|
||
|
|
<Run Text="{Binding HP10Rate1ON,StringFormat={}{0:0.00} µSv/h}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="3" Grid.Column="1" >
|
||
|
|
<Run FontWeight="Bold" Text="Type : "/>
|
||
|
|
<Run Text="{Binding EPDRad}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="3" Grid.Column="2" >
|
||
|
|
<Run FontWeight="Bold" Text="Gain : "/>
|
||
|
|
<Run Text="{Binding FNGain_ANGainValue,StringFormat={}{0:0.00}}" />
|
||
|
|
</TextBlock>
|
||
|
|
<TextBlock Grid.Row="3" Grid.Column="3" >
|
||
|
|
<Run FontWeight="Bold" Text="Dose margin : "/>
|
||
|
|
<Run Text="{Binding MinWorkerDosisMargin,StringFormat={}{0:0.00}}" />
|
||
|
|
</TextBlock>
|
||
|
|
</Grid>
|
||
|
|
<StackPanel Grid.Row="4" Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Center" >
|
||
|
|
<telerik:RadButton Name="TaskCancel" Content="Cancel" Click="TaskCancel_Click" Width="300" Style="{DynamicResource OkCancelButton}" Margin="20,0,0,0" />
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" >
|
||
|
|
<telerik:RadButton Name="ShowNumpad" Content="Code" Width="300" Style="{DynamicResource OkCancelButton}" Margin="20,0,0,0" Click="ShowNumpad_Click" />
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Grid.Row="4" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Center" >
|
||
|
|
<telerik:RadButton Name="TaskOK" Content="OK" Width="300" Click="TaskOK_Click" Style="{DynamicResource OkCancelButton}" IsEnabled="False" />
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Name="tbEPD" FontSize="25" >
|
||
|
|
<Grid DataContext="{Binding Mode=OneWay, Source={StaticResource getTaskListViewSource}}" Margin="0,0,0,218" >
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="20" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<StackPanel Grid.Row="0" Name="panelWait" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Vertical" Visibility="Collapsed" >
|
||
|
|
<StackPanel Orientation="Horizontal">
|
||
|
|
<Image Source="/Images/Mannetjet.png" Width="87" HorizontalAlignment="Left"/>
|
||
|
|
<TextBlock Name="tWaitFor" Margin="10,50,10,50" FontWeight="Bold" TextAlignment="Center" >
|
||
|
|
<Run Text="Configuring EPD."/>
|
||
|
|
<LineBreak/>
|
||
|
|
<Run Text="Please wait for confirmation" Foreground="Red"/>
|
||
|
|
<TextBlock.Foreground>
|
||
|
|
<SolidColorBrush Color="{DynamicResource sckcP}"/>
|
||
|
|
</TextBlock.Foreground>
|
||
|
|
</TextBlock>
|
||
|
|
</StackPanel>
|
||
|
|
<Image Source="/Images/Mk2OnReader.jpg" Width="200" Margin="10,10,10,50"/>
|
||
|
|
</StackPanel>
|
||
|
|
<Grid Grid.Row="1" Name="panelDone" HorizontalAlignment="Center" >
|
||
|
|
<Grid>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="5" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
<RowDefinition Height="auto" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="auto" />
|
||
|
|
<ColumnDefinition Width="auto" />
|
||
|
|
<ColumnDefinition Width="auto" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource tblHeaderLabel}" Name="FinalHeader">
|
||
|
|
<Run>Ready</Run>
|
||
|
|
<LineBreak/>
|
||
|
|
<Run Foreground="Green">Please take your EPD</Run>
|
||
|
|
<LineBreak/>
|
||
|
|
</TextBlock>
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="Task" Style="{StaticResource tblIssuedLabel}" />
|
||
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2">
|
||
|
|
<Run Text="{Binding Task_Name,Mode=OneWay}" />
|
||
|
|
<Run Text=" (" />
|
||
|
|
<Run Text="{Binding ID_Task,Mode=OneWay}" />
|
||
|
|
<Run Text=")" />
|
||
|
|
</TextBlock>
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="3" Grid.Column="0" Text="Margin" Style="{StaticResource tblIssuedLabel}" TextAlignment="Right"/>
|
||
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding MinWorkerDosisMargin,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}" />
|
||
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Name="lbHP07" Text="HP07" Style="{DynamicResource sIssuedSubHeader}" />
|
||
|
|
<TextBlock Grid.Row="4" Grid.Column="2" Name="lbHP10" Text="HP10" Style="{DynamicResource sIssuedSubHeader}" />
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="5" Grid.ColumnSpan="2" Grid.Column="1" Text="Doses (µSv)" Style="{DynamicResource sIssuedSubHeader}" TextAlignment="Center"/>
|
||
|
|
<TextBlock Grid.Row="6" Grid.Column="0" Text="Low alarm" Style="{StaticResource tblIssuedLabel}"/>
|
||
|
|
<TextBlock Grid.Row="6" Grid.Column="2" Text="{Binding Hp10Dose1,Mode=OneWay,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}" />
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="7" Grid.Column="0" Text="High alarm" Style="{StaticResource tblIssuedLabel}"/>
|
||
|
|
<TextBlock Grid.Row="7" Grid.Column="1" Text="{Binding Hp07Dose,Mode=OneWay,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}"/>
|
||
|
|
<TextBlock Grid.Row="7" Grid.Column="2" Text="{Binding Hp10Dose2,Mode=OneWay,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}"/>
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="8" Grid.ColumnSpan="2" Text="Rates (µSv/h)" Style="{DynamicResource sIssuedSubHeader}" Grid.Column="1" />
|
||
|
|
<TextBlock Grid.Row="9" Grid.Column="0" Text="Low alarm" Style="{StaticResource tblIssuedLabel}"/>
|
||
|
|
<TextBlock Grid.Row="9" Grid.Column="2" Text="{Binding HP10Rate1ON,Mode=OneWay,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}" />
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="10" Grid.Column="0" Text="High alarm" Style="{StaticResource tblIssuedLabel}"/>
|
||
|
|
<TextBlock Grid.Row="10" Grid.Column="1" Text="{Binding HP07RateON,Mode=OneWay,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}"/>
|
||
|
|
<TextBlock Grid.Row="10" Grid.Column="2" Text="{Binding HP10Rate2ON,Mode=OneWay,StringFormat={}{0:0.00}}" Style="{StaticResource tblIssuedValue}"/>
|
||
|
|
</Grid>
|
||
|
|
</Grid>
|
||
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
|
||
|
|
<telerik:RadButton Name="bEpdCancel" Content="Cancel" Click="bClose_Click" Style="{DynamicResource OkCancelButton}" Margin="100,10,100,10" Height="Auto" />
|
||
|
|
<!--<telerik:RadButton Name="bEpdDone" Background="LawnGreen" Content="OK" Click="bClose_Click" Style="{DynamicResource OkCancelButton}" Margin="100,10,200,10" />-->
|
||
|
|
</StackPanel>
|
||
|
|
<telerik:RadProgressBar Grid.Row="3" x:Name="pWaitEpd" Style="{StaticResource styleTTOProgessBar}" Margin="10,0,10,10" />
|
||
|
|
<TextBlock Grid.Row="4" FontSize="30" Name="statusEPD" Text="waiting" HorizontalAlignment="Center" TextAlignment="Center" Margin="10,0,10,10" >
|
||
|
|
<TextBlock.TextEffects>
|
||
|
|
<TextEffect Foreground="#FFE66464"/>
|
||
|
|
</TextBlock.TextEffects>
|
||
|
|
</TextBlock>
|
||
|
|
</Grid>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Name="tbNotAllowed">
|
||
|
|
<Grid>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="300" />
|
||
|
|
<RowDefinition Height="*" />
|
||
|
|
<RowDefinition Height="100" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center" FontSize="25" >
|
||
|
|
<Run Text="No Access" />
|
||
|
|
<Run Name="tReasonNoAccess" Text="" />
|
||
|
|
<LineBreak/>
|
||
|
|
</TextBlock>
|
||
|
|
<telerik:RadButton Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="24" Background="LawnGreen" Padding="10,10,10,10" Content="OK" Name="bNoAccessDone" Click="bClose_Click" Style="{DynamicResource OkCancelButton}">
|
||
|
|
</telerik:RadButton>
|
||
|
|
</Grid>
|
||
|
|
</TabItem>
|
||
|
|
</TabControl>
|
||
|
|
</DockPanel>
|
||
|
|
</Window>
|
||
|
|
|