diff --git a/eDosStation/EntryBadge.xaml.cs b/eDosStation/EntryBadge.xaml.cs
index 0096d90..7f6586d 100644
--- a/eDosStation/EntryBadge.xaml.cs
+++ b/eDosStation/EntryBadge.xaml.cs
@@ -23,8 +23,7 @@ namespace eDosStation
Boolean Inst1 = false, Inst2 = false;
private System.Threading.Tasks.Task ReaderTask =null;
private DataInterface dataInterface;
-
- public static LSWDesfirePublic.CCard dfReader;
+ public LSWDesfirePublic.CCard dfReader = null;
//System.Threading.Thread t;
//bool nextCSN = false;
//bool nextSite = false;
@@ -36,6 +35,7 @@ namespace eDosStation
DataSet1.GetTaskInfoRow CurTaskRow;
enum eCOE { quiz=1} ;
+
#if SimulateEPD
public SimulateData simulData = new SimulateData();
@@ -522,7 +522,6 @@ namespace eDosStation
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
- dfReader?.Dispose(); dfReader = null;
ep.Close();
}
diff --git a/eDosStation/ShowEPDDose.xaml b/eDosStation/ShowEPDDose.xaml
index 93cfc15..08770bc 100644
--- a/eDosStation/ShowEPDDose.xaml
+++ b/eDosStation/ShowEPDDose.xaml
@@ -21,23 +21,33 @@
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -48,8 +58,8 @@
-
-
+
+
diff --git a/eDosStation/ShowEPDDose.xaml.cs b/eDosStation/ShowEPDDose.xaml.cs
index e56f70a..fb66f2b 100644
--- a/eDosStation/ShowEPDDose.xaml.cs
+++ b/eDosStation/ShowEPDDose.xaml.cs
@@ -37,15 +37,16 @@ namespace eDosStation
{
ep.GetStatus();
- isIssued.IsChecked = ep.Issued;
+ isIssued.Text = ep.Issued ? "Yes" : "no";
Wearer.Text = ep.WearerName;
- EpdVisit.Text = $"Visit {ep.WearerID}";
+ EpdVisit.Text = ep.WearerID.ToString();
if ((ep.otherAlarms & 0x7f)!=0 || ep.alarmStatus>0)
{
- cAlarm.IsChecked = true;
+ hasAlarm.Text = "Yes";
} else
- cAlarm.IsChecked = false;
+ hasAlarm.Text = "no";
+
Decoder.AlarmToTextBox(sAlarm, ep);