Dose screen
This commit is contained in:
parent
bba97a296a
commit
0d20d5e6a5
3 changed files with 13 additions and 11 deletions
|
|
@ -49,8 +49,6 @@ namespace eDosStation
|
|||
|
||||
|
||||
if (ep.alarmStatus != 0) DosePanel.Background = AlarmBrush; else DosePanel.Background = GreenBrush;
|
||||
|
||||
|
||||
|
||||
Wearer.Text = $"Wearer: {ep.WearerName}";
|
||||
EpdVisit.Text = $"Visit: {ep.WearerID}";
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<StatusBar DockPanel.Dock="Bottom" >
|
||||
<StatusBarItem Name="statusEPD" Content="Epd" />
|
||||
</StatusBar>
|
||||
<Grid>
|
||||
<Grid TextBlock.FontSize="24" TextBlock.FontFamily="Comic Sans MS">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
|
|
@ -26,12 +26,15 @@
|
|||
|
||||
<CheckBox Grid.Row="0" Grid.Column="0" Content="Issued" IsChecked="False" Name ="isIssued"/>
|
||||
<TextBlock Grid.Row="0" Grid.Column="1" Name ="Wearer" Text=""/>
|
||||
<TextBlock Grid.Row="1" Grid.Column="0" Text="Dose Alarm" />
|
||||
<StackPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical" >
|
||||
<TextBlock Grid.Row="0" Grid.Column="2" Name ="EpdVisit" Text=""/>
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.Column="0" Text="Dose" Margin="5,10,0,0" />
|
||||
<StackPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical" Margin="5,10,0,0">
|
||||
<TextBlock Name="HpDose07" />
|
||||
<TextBlock Name="HpDose10" />
|
||||
</StackPanel>
|
||||
<TextBlock Grid.Row="2" Grid.Column="0" Text="Dose" />
|
||||
|
||||
<TextBlock Grid.Row="2" Grid.Column="0" Text="Dose Treshold" />
|
||||
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Vertical" >
|
||||
<TextBlock Name="HP07AlarmDose" />
|
||||
<TextBlock Name="HP10AlarmDose1" />
|
||||
|
|
|
|||
|
|
@ -35,15 +35,16 @@ namespace eDosStation
|
|||
ep.GetStatus();
|
||||
isIssued.IsChecked = ep.Issued;
|
||||
Wearer.Text = ep.WearerName;
|
||||
EpdVisit.Text = $"Visit {ep.WearerID}";
|
||||
|
||||
ep.GetDoses();
|
||||
HpDose07.Text = $"HP07: {ep.Hp07:0.00 µ Sv} ";
|
||||
HpDose10.Text = $"Hp10: {ep.Hp10:0.00 µ Sv}";
|
||||
HpDose07.Text = $"Hp07: {ep.Hp07:0.00} µSv";
|
||||
HpDose10.Text = $"Hp10: {ep.Hp10:0.00} µSv";
|
||||
|
||||
ep.ReadTresholds();
|
||||
HP10AlarmDose1.Text = $"Alarm HP10(1) {ep.Hp10THDose1:0.00 µ Sv}";
|
||||
HP10AlarmDose2.Text = $"Alarm HP10(2) {ep.Hp10THDose2:0.00 µ Sv}";
|
||||
HP07AlarmDose.Text = $"Alarm HP07 {ep.Hp07THDose:0.00 µ Sv}";
|
||||
HP10AlarmDose1.Text = $"Alarm HP10(1) {ep.Hp10THDose1:0.00} µSv";
|
||||
HP10AlarmDose2.Text = $"Alarm HP10(2) {ep.Hp10THDose2:0.00} µSv";
|
||||
HP07AlarmDose.Text = $"Alarm HP07 {ep.Hp07THDose:0.00} µSv";
|
||||
//int Hp10THDose2;
|
||||
//int Hp07THDose;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue