diff --git a/.vs/eDos/v15/.suo b/.vs/eDos/v15/.suo
new file mode 100644
index 0000000..ce57f22
Binary files /dev/null and b/.vs/eDos/v15/.suo differ
diff --git a/.vs/eDos/v15/Browse.VC.db b/.vs/eDos/v15/Browse.VC.db
new file mode 100644
index 0000000..6f70a61
Binary files /dev/null and b/.vs/eDos/v15/Browse.VC.db differ
diff --git a/.vs/eDos/v15/Server/sqlite3/db.lock b/.vs/eDos/v15/Server/sqlite3/db.lock
new file mode 100644
index 0000000..e69de29
diff --git a/.vs/eDos/v15/Server/sqlite3/storage.ide b/.vs/eDos/v15/Server/sqlite3/storage.ide
new file mode 100644
index 0000000..c74be92
Binary files /dev/null and b/.vs/eDos/v15/Server/sqlite3/storage.ide differ
diff --git a/.vs/eDos/v15/Server/sqlite3/storage.ide-shm b/.vs/eDos/v15/Server/sqlite3/storage.ide-shm
new file mode 100644
index 0000000..9fd0cf0
Binary files /dev/null and b/.vs/eDos/v15/Server/sqlite3/storage.ide-shm differ
diff --git a/.vs/eDos/v15/Server/sqlite3/storage.ide-wal b/.vs/eDos/v15/Server/sqlite3/storage.ide-wal
new file mode 100644
index 0000000..bfa8e35
Binary files /dev/null and b/.vs/eDos/v15/Server/sqlite3/storage.ide-wal differ
diff --git a/.vs/eDos/v15/Solution.VC.db b/.vs/eDos/v15/Solution.VC.db
new file mode 100644
index 0000000..3a37257
Binary files /dev/null and b/.vs/eDos/v15/Solution.VC.db differ
diff --git a/.vs/eDos/v15/ipch/1d8ecfc50bb366e4.ipch b/.vs/eDos/v15/ipch/1d8ecfc50bb366e4.ipch
new file mode 100644
index 0000000..4c41a4e
Binary files /dev/null and b/.vs/eDos/v15/ipch/1d8ecfc50bb366e4.ipch differ
diff --git a/.vs/eDos/v15/ipch/48913176b520caa4.ipch b/.vs/eDos/v15/ipch/48913176b520caa4.ipch
new file mode 100644
index 0000000..f4d1fd3
Binary files /dev/null and b/.vs/eDos/v15/ipch/48913176b520caa4.ipch differ
diff --git a/.vs/eDos/v15/ipch/4ff4f226ea145fd9.ipch b/.vs/eDos/v15/ipch/4ff4f226ea145fd9.ipch
new file mode 100644
index 0000000..b82bb8d
Binary files /dev/null and b/.vs/eDos/v15/ipch/4ff4f226ea145fd9.ipch differ
diff --git a/.vs/eDos/v15/ipch/638d7195c84c86ec.ipch b/.vs/eDos/v15/ipch/638d7195c84c86ec.ipch
new file mode 100644
index 0000000..c7d7b48
Binary files /dev/null and b/.vs/eDos/v15/ipch/638d7195c84c86ec.ipch differ
diff --git a/.vs/eDos/v15/ipch/b16260364c044331.ipch b/.vs/eDos/v15/ipch/b16260364c044331.ipch
new file mode 100644
index 0000000..ebb94c9
Binary files /dev/null and b/.vs/eDos/v15/ipch/b16260364c044331.ipch differ
diff --git a/.vs/eDos/v15/ipch/b5523fbbc0822021.ipch b/.vs/eDos/v15/ipch/b5523fbbc0822021.ipch
new file mode 100644
index 0000000..363ba7f
Binary files /dev/null and b/.vs/eDos/v15/ipch/b5523fbbc0822021.ipch differ
diff --git a/.vs/eDos/v15/ipch/d705b1001de2fe11.ipch b/.vs/eDos/v15/ipch/d705b1001de2fe11.ipch
new file mode 100644
index 0000000..7186bc7
Binary files /dev/null and b/.vs/eDos/v15/ipch/d705b1001de2fe11.ipch differ
diff --git a/Debug/EpdBase.lib b/Debug/EpdBase.lib
new file mode 100644
index 0000000..53bb2b6
Binary files /dev/null and b/Debug/EpdBase.lib differ
diff --git a/Debug/EpdBase.pdb b/Debug/EpdBase.pdb
new file mode 100644
index 0000000..65e802e
Binary files /dev/null and b/Debug/EpdBase.pdb differ
diff --git a/Debug/EpdBaseClr.dll b/Debug/EpdBaseClr.dll
new file mode 100644
index 0000000..8e7c627
Binary files /dev/null and b/Debug/EpdBaseClr.dll differ
diff --git a/Debug/EpdBaseClr.dll.metagen b/Debug/EpdBaseClr.dll.metagen
new file mode 100644
index 0000000..0539fb9
--- /dev/null
+++ b/Debug/EpdBaseClr.dll.metagen
@@ -0,0 +1,42 @@
+ImageRuntimeVersion: v4.0.30319
+Assembly EpdBaseClr, Version=1.0.*, Culture=Invariant Language (Invariant Country):
+ hash=SHA1, flags=PublicKey
+Assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
+ hash=None, flags=None
+Assembly System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
+ hash=None, flags=None
+Assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
+ hash=None, flags=None
+Assembly System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
+ hash=None, flags=None
+Class EpdBaseClr.sEpdBase: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
+ Void .ctor(): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
+ Fields:
+ System.ValueType RealTime DateTime IsBoxed : Public
+ UInt32 CurrentDeviceID : Public
+Class EpdBaseClr.Epd2: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
+ Void .ctor(Int32): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
+ Fields:
+ EpdBase.Epd2U* epd : Public
+ EpdBaseClr.sEpdBase b : Public
+ System.ValueType RealTime DateTime IsBoxed : Public
+ System.String WearerName : Public
+ System.String WearerID : Public
+ Boolean Issued : Public
+ Boolean isOn : Public
+ Int32 InitRV : Public
+ Int32 DiscRV : Public
+ Int32 StatusRV : Public
+ Int32 ReadDosesRV : Public
+ Double Hp07 : Public
+ Double Hp10 : Public
+ Double Hp07Peak : Public
+ Double Hp10Peak : Public
+ Double alarmHP07 : Public
+ Double alarmHP10 : Public
+ Methods:
+ Connect(): PrivateScope, Public, HideBySig
+ GetStatus(): PrivateScope, Public, HideBySig
+ GetDoses(): PrivateScope, Public, HideBySig
+ SetDeIssued(): PrivateScope, Public, HideBySig
+ SetIssued(): PrivateScope, Public, HideBySig
diff --git a/Debug/EpdBaseClr.pdb b/Debug/EpdBaseClr.pdb
new file mode 100644
index 0000000..f870f52
Binary files /dev/null and b/Debug/EpdBaseClr.pdb differ
diff --git a/Debug/TestDirect.exe b/Debug/TestDirect.exe
new file mode 100644
index 0000000..fd3ad4f
Binary files /dev/null and b/Debug/TestDirect.exe differ
diff --git a/Debug/TestDirect.ilk b/Debug/TestDirect.ilk
new file mode 100644
index 0000000..a8fef7b
Binary files /dev/null and b/Debug/TestDirect.ilk differ
diff --git a/Debug/TestDirect.pdb b/Debug/TestDirect.pdb
new file mode 100644
index 0000000..9059bb3
Binary files /dev/null and b/Debug/TestDirect.pdb differ
diff --git a/Debug/TestEdosBase.exe b/Debug/TestEdosBase.exe
new file mode 100644
index 0000000..556c80c
Binary files /dev/null and b/Debug/TestEdosBase.exe differ
diff --git a/Debug/TestEdosBase.pdb b/Debug/TestEdosBase.pdb
new file mode 100644
index 0000000..d86ad1e
Binary files /dev/null and b/Debug/TestEdosBase.pdb differ
diff --git a/Debug/eDosStationApp/App.xbf b/Debug/eDosStationApp/App.xbf
new file mode 100644
index 0000000..32ea298
Binary files /dev/null and b/Debug/eDosStationApp/App.xbf differ
diff --git a/Debug/eDosStationApp/AppX/App.xbf b/Debug/eDosStationApp/AppX/App.xbf
new file mode 100644
index 0000000..32ea298
Binary files /dev/null and b/Debug/eDosStationApp/AppX/App.xbf differ
diff --git a/Debug/eDosStationApp/AppX/AppxManifest.xml b/Debug/eDosStationApp/AppX/AppxManifest.xml
new file mode 100644
index 0000000..c85a20b
--- /dev/null
+++ b/Debug/eDosStationApp/AppX/AppxManifest.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+ eDosStationApp
+ admlvand
+ Assets\StoreLogo.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Debug/eDosStationApp/AppX/Assets/LockScreenLogo.scale-200.png b/Debug/eDosStationApp/AppX/Assets/LockScreenLogo.scale-200.png
new file mode 100644
index 0000000..735f57a
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/LockScreenLogo.scale-200.png differ
diff --git a/Debug/eDosStationApp/AppX/Assets/SplashScreen.scale-200.png b/Debug/eDosStationApp/AppX/Assets/SplashScreen.scale-200.png
new file mode 100644
index 0000000..023e7f1
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/SplashScreen.scale-200.png differ
diff --git a/Debug/eDosStationApp/AppX/Assets/Square150x150Logo.scale-200.png b/Debug/eDosStationApp/AppX/Assets/Square150x150Logo.scale-200.png
new file mode 100644
index 0000000..af49fec
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/Square150x150Logo.scale-200.png differ
diff --git a/Debug/eDosStationApp/AppX/Assets/Square44x44Logo.scale-200.png b/Debug/eDosStationApp/AppX/Assets/Square44x44Logo.scale-200.png
new file mode 100644
index 0000000..ce342a2
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/Square44x44Logo.scale-200.png differ
diff --git a/Debug/eDosStationApp/AppX/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/Debug/eDosStationApp/AppX/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
new file mode 100644
index 0000000..f6c02ce
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ
diff --git a/Debug/eDosStationApp/AppX/Assets/StoreLogo.png b/Debug/eDosStationApp/AppX/Assets/StoreLogo.png
new file mode 100644
index 0000000..7385b56
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/StoreLogo.png differ
diff --git a/Debug/eDosStationApp/AppX/Assets/Wide310x150Logo.scale-200.png b/Debug/eDosStationApp/AppX/Assets/Wide310x150Logo.scale-200.png
new file mode 100644
index 0000000..288995b
Binary files /dev/null and b/Debug/eDosStationApp/AppX/Assets/Wide310x150Logo.scale-200.png differ
diff --git a/Debug/eDosStationApp/AppX/DirectXPage.xbf b/Debug/eDosStationApp/AppX/DirectXPage.xbf
new file mode 100644
index 0000000..90c277d
Binary files /dev/null and b/Debug/eDosStationApp/AppX/DirectXPage.xbf differ
diff --git a/Debug/eDosStationApp/AppX/SamplePixelShader.cso b/Debug/eDosStationApp/AppX/SamplePixelShader.cso
new file mode 100644
index 0000000..79adcfe
Binary files /dev/null and b/Debug/eDosStationApp/AppX/SamplePixelShader.cso differ
diff --git a/Debug/eDosStationApp/AppX/SampleVertexShader.cso b/Debug/eDosStationApp/AppX/SampleVertexShader.cso
new file mode 100644
index 0000000..22267af
Binary files /dev/null and b/Debug/eDosStationApp/AppX/SampleVertexShader.cso differ
diff --git a/Debug/eDosStationApp/AppX/eDosStationApp.exe b/Debug/eDosStationApp/AppX/eDosStationApp.exe
new file mode 100644
index 0000000..f5cad0b
Binary files /dev/null and b/Debug/eDosStationApp/AppX/eDosStationApp.exe differ
diff --git a/Debug/eDosStationApp/AppX/eDosStationApp.winmd b/Debug/eDosStationApp/AppX/eDosStationApp.winmd
new file mode 100644
index 0000000..ab96815
Binary files /dev/null and b/Debug/eDosStationApp/AppX/eDosStationApp.winmd differ
diff --git a/Debug/eDosStationApp/AppX/resources.pri b/Debug/eDosStationApp/AppX/resources.pri
new file mode 100644
index 0000000..2ce2e1f
Binary files /dev/null and b/Debug/eDosStationApp/AppX/resources.pri differ
diff --git a/Debug/eDosStationApp/AppX/ucrtbased.dll b/Debug/eDosStationApp/AppX/ucrtbased.dll
new file mode 100644
index 0000000..e730807
Binary files /dev/null and b/Debug/eDosStationApp/AppX/ucrtbased.dll differ
diff --git a/Debug/eDosStationApp/AppX/vs.appxrecipe b/Debug/eDosStationApp/AppX/vs.appxrecipe
new file mode 100644
index 0000000..3873458
--- /dev/null
+++ b/Debug/eDosStationApp/AppX/vs.appxrecipe
@@ -0,0 +1,141 @@
+
+
+
+ PC5013
+ admlvand
+ UAP
+ 10.0
+ Windows 10.0
+ Debug|Win32
+ x86
+ 35d52b50-cf69-44fe-9271-3054db72dc9b
+ CN=admlvand
+ C:\l\src\cs\eDos\eDosStationApp\Debug\
+ CopyToDevice
+
+
+ false
+ false
+ C:\Program Files %28x86%29\Windows Kits\10\
+ C:\l\src\cs\eDos\Debug\eDosStationApp\AppX
+ 53B79674F34B4FC5E7E32B561BCA07B4CDCD5A740D530E81544C7B85B96E419A
+ 35d52b50-cf69-44fe-9271-3054db72dc9b_1.0.0.0_x86__w8sq1sj5c9ad8
+ 35d52b50-cf69-44fe-9271-3054db72dc9b_w8sq1sj5c9ad8!App
+ 35d52b50-cf69-44fe-9271-3054db72dc9b
+ CN=admlvand
+ 1.0.0.0
+
+
+
+ AppxManifest.xml
+ true
+ 2019-02-01T09:50:56.041
+
+
+
+
+ eDosStationApp.exe
+ 2019-02-01T09:50:54.509
+
+
+ eDosStationApp.winmd
+ 2019-02-01T09:50:50.889
+
+
+ Assets\LockScreenLogo.scale-200.png
+ 2019-02-01T09:44:13.907
+
+
+ Assets\SplashScreen.scale-200.png
+ true
+ 2019-02-01T09:44:13.907
+
+
+ Assets\Square150x150Logo.scale-200.png
+ true
+ 2019-02-01T09:44:13.907
+
+
+ Assets\Square44x44Logo.scale-200.png
+ true
+ 2019-02-01T09:44:13.907
+
+
+ Assets\Square44x44Logo.targetsize-24_altform-unplated.png
+ true
+ 2019-02-01T09:44:13.907
+
+
+ Assets\StoreLogo.png
+ true
+ 2019-02-01T09:44:13.907
+
+
+ Assets\Wide310x150Logo.scale-200.png
+ true
+ 2019-02-01T09:44:13.907
+
+
+ SamplePixelShader.cso
+ 2019-02-01T09:50:35.399
+
+
+ SampleVertexShader.cso
+ 2019-02-01T09:50:35.628
+
+
+ App.xbf
+ 2019-02-01T09:50:51.240
+
+
+ DirectXPage.xbf
+ 2019-02-01T09:50:51.241
+
+
+ ucrtbased.dll
+ 2018-04-19T22:05:16.000
+
+
+ resources.pri
+ 2019-02-01T09:50:55.570
+
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ ARM
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\ARM\Microsoft.VCLibs.ARM.Debug.14.00.appx
+
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ ARM64
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\ARM64\Microsoft.VCLibs.ARM64.Debug.14.00.appx
+
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ x64
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\x64\Microsoft.VCLibs.x64.Debug.14.00.appx
+
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ x86
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\x86\Microsoft.VCLibs.x86.Debug.14.00.appx
+
+
+
+
+
\ No newline at end of file
diff --git a/Debug/eDosStationApp/AppxManifest.xml b/Debug/eDosStationApp/AppxManifest.xml
new file mode 100644
index 0000000..c85a20b
--- /dev/null
+++ b/Debug/eDosStationApp/AppxManifest.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+ eDosStationApp
+ admlvand
+ Assets\StoreLogo.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Debug/eDosStationApp/DirectXPage.xbf b/Debug/eDosStationApp/DirectXPage.xbf
new file mode 100644
index 0000000..90c277d
Binary files /dev/null and b/Debug/eDosStationApp/DirectXPage.xbf differ
diff --git a/Debug/eDosStationApp/SamplePixelShader.cso b/Debug/eDosStationApp/SamplePixelShader.cso
new file mode 100644
index 0000000..79adcfe
Binary files /dev/null and b/Debug/eDosStationApp/SamplePixelShader.cso differ
diff --git a/Debug/eDosStationApp/SampleVertexShader.cso b/Debug/eDosStationApp/SampleVertexShader.cso
new file mode 100644
index 0000000..22267af
Binary files /dev/null and b/Debug/eDosStationApp/SampleVertexShader.cso differ
diff --git a/Debug/eDosStationApp/eDosStationApp.build.appxrecipe b/Debug/eDosStationApp/eDosStationApp.build.appxrecipe
new file mode 100644
index 0000000..22472ee
--- /dev/null
+++ b/Debug/eDosStationApp/eDosStationApp.build.appxrecipe
@@ -0,0 +1,114 @@
+
+
+
+ PC5013
+ admlvand
+ UAP
+ 10.0
+ Windows 10.0
+ Debug|Win32
+ x86
+ 35d52b50-cf69-44fe-9271-3054db72dc9b
+ CN=admlvand
+ C:\l\src\cs\eDos\eDosStationApp\Debug\
+ CopyToDevice
+
+ false
+ false
+ C:\Program Files %28x86%29\Windows Kits\10\
+ C:\l\src\cs\eDos\Debug\eDosStationApp\AppX
+
+
+
+ AppxManifest.xml
+ true
+
+
+
+
+ eDosStationApp.exe
+
+
+ eDosStationApp.winmd
+
+
+ Assets\LockScreenLogo.scale-200.png
+
+
+ Assets\SplashScreen.scale-200.png
+ true
+
+
+ Assets\Square150x150Logo.scale-200.png
+ true
+
+
+ Assets\Square44x44Logo.scale-200.png
+ true
+
+
+ Assets\Square44x44Logo.targetsize-24_altform-unplated.png
+ true
+
+
+ Assets\StoreLogo.png
+ true
+
+
+ Assets\Wide310x150Logo.scale-200.png
+ true
+
+
+ SamplePixelShader.cso
+
+
+ SampleVertexShader.cso
+
+
+ App.xbf
+
+
+ DirectXPage.xbf
+
+
+ ucrtbased.dll
+
+
+ resources.pri
+
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ ARM
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\ARM\Microsoft.VCLibs.ARM.Debug.14.00.appx
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ ARM64
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\ARM64\Microsoft.VCLibs.ARM64.Debug.14.00.appx
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ x64
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\x64\Microsoft.VCLibs.x64.Debug.14.00.appx
+
+
+
+ Microsoft.VCLibs.140.00.Debug
+ 14.0.27023.1
+ x86
+ Name = Microsoft.VCLibs.140.00.Debug, MinVersion = 14.0.27023.1, Publisher = %27CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US%27
+ C:\Program Files %28x86%29\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\x86\Microsoft.VCLibs.x86.Debug.14.00.appx
+
+
+
+
diff --git a/Debug/eDosStationApp/eDosStationApp.exe b/Debug/eDosStationApp/eDosStationApp.exe
new file mode 100644
index 0000000..f5cad0b
Binary files /dev/null and b/Debug/eDosStationApp/eDosStationApp.exe differ
diff --git a/Debug/eDosStationApp/eDosStationApp.exp b/Debug/eDosStationApp/eDosStationApp.exp
new file mode 100644
index 0000000..7aeeee1
Binary files /dev/null and b/Debug/eDosStationApp/eDosStationApp.exp differ
diff --git a/Debug/eDosStationApp/eDosStationApp.ilk b/Debug/eDosStationApp/eDosStationApp.ilk
new file mode 100644
index 0000000..84bf8ca
Binary files /dev/null and b/Debug/eDosStationApp/eDosStationApp.ilk differ
diff --git a/Debug/eDosStationApp/eDosStationApp.lib b/Debug/eDosStationApp/eDosStationApp.lib
new file mode 100644
index 0000000..7f2645b
Binary files /dev/null and b/Debug/eDosStationApp/eDosStationApp.lib differ
diff --git a/Debug/eDosStationApp/eDosStationApp.pdb b/Debug/eDosStationApp/eDosStationApp.pdb
new file mode 100644
index 0000000..817120c
Binary files /dev/null and b/Debug/eDosStationApp/eDosStationApp.pdb differ
diff --git a/Debug/eDosStationApp/eDosStationApp.winmd b/Debug/eDosStationApp/eDosStationApp.winmd
new file mode 100644
index 0000000..ab96815
Binary files /dev/null and b/Debug/eDosStationApp/eDosStationApp.winmd differ
diff --git a/Debug/eDosStationApp/resources.pri b/Debug/eDosStationApp/resources.pri
new file mode 100644
index 0000000..2ce2e1f
Binary files /dev/null and b/Debug/eDosStationApp/resources.pri differ
diff --git a/EpdBase/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm b/EpdBase/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm
new file mode 100644
index 0000000..6b017a0
--- /dev/null
+++ b/EpdBase/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm
@@ -0,0 +1,4 @@
+; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
+
+; Generated by VC++ for Common Language Runtime
+.file "C:\Users\admlvand\AppData\Local\Temp\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp"
diff --git a/EpdBase/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj b/EpdBase/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj
new file mode 100644
index 0000000..7f34558
Binary files /dev/null and b/EpdBase/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj differ
diff --git a/EpdBase/Debug/AssemblyInfo.obj b/EpdBase/Debug/AssemblyInfo.obj
new file mode 100644
index 0000000..b3ddfeb
Binary files /dev/null and b/EpdBase/Debug/AssemblyInfo.obj differ
diff --git a/EpdBase/Debug/EpdBase.Build.CppClean.log b/EpdBase/Debug/EpdBase.Build.CppClean.log
new file mode 100644
index 0000000..388fd01
--- /dev/null
+++ b/EpdBase/Debug/EpdBase.Build.CppClean.log
@@ -0,0 +1,23 @@
+c:\l\src\cs\edos\epdbase\debug\epdbase.pch
+c:\l\src\cs\edos\epdbase\debug\epdbase.pdb
+c:\l\src\cs\edos\epdbase\debug\stdafx.obj
+c:\l\src\cs\edos\epdbase\debug\timefunctions.obj
+c:\l\src\cs\edos\epdbase\debug\assemblyinfo.obj
+c:\l\src\cs\edos\epdbase\debug\epdbase.obj
+c:\l\src\cs\edos\epdbase\debug\.netframework,version=v4.7.2.assemblyattributes.obj
+c:\l\src\cs\edos\epdbase\debug\.netframework,version=v4.7.2.assemblyattributes.asm
+c:\l\src\cs\edos\debug\epdbase.lib
+c:\l\src\cs\edos\epdbase\debug\app.res
+c:\l\src\cs\edos\epdbase\debug\epdbase.vcxprojassemblyreference.cache
+c:\l\src\cs\edos\debug\epdbase.pdb
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\cl.command.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\cl.read.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\cl.write.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\lib-link-cvtres.read.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\lib-link-cvtres.write.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\lib.command.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\metagen.read.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\metagen.write.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\rc.command.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\rc.read.1.tlog
+c:\l\src\cs\edos\epdbase\debug\epdbase.tlog\rc.write.1.tlog
diff --git a/EpdBase/Debug/EpdBase.log b/EpdBase/Debug/EpdBase.log
new file mode 100644
index 0000000..bd09f2e
--- /dev/null
+++ b/EpdBase/Debug/EpdBase.log
@@ -0,0 +1,8 @@
+ EpdBase.cpp
+c:\l\src\cs\edos\epdbase\timefunctions.h(12): warning C4091: 'static ': ignored on left of 'TimeFunctions' when no variable is declared
+c:\l\src\cs\edos\epdbase\epdbase.cpp(96): warning C4244: '=': conversion from 'DWORD' to 'WORD', possible loss of data
+c:\l\src\cs\edos\epdbase\epdbase.cpp(328): warning C4244: 'return': conversion from 'DWORD' to 'WORD', possible loss of data
+LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
+.NETFramework,Version=v4.7.2.AssemblyAttributes.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
+AssemblyInfo.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
+ EpdBase.vcxproj -> C:\l\src\cs\eDos\Debug\EpdBase.lib
diff --git a/EpdBase/Debug/EpdBase.obj b/EpdBase/Debug/EpdBase.obj
new file mode 100644
index 0000000..eb36804
Binary files /dev/null and b/EpdBase/Debug/EpdBase.obj differ
diff --git a/EpdBase/Debug/EpdBase.pch b/EpdBase/Debug/EpdBase.pch
new file mode 100644
index 0000000..cbe65ad
Binary files /dev/null and b/EpdBase/Debug/EpdBase.pch differ
diff --git a/EpdBase/Debug/EpdBase.pdb b/EpdBase/Debug/EpdBase.pdb
new file mode 100644
index 0000000..65e802e
Binary files /dev/null and b/EpdBase/Debug/EpdBase.pdb differ
diff --git a/EpdBase/Debug/EpdBase.tlog/CL.command.1.tlog b/EpdBase/Debug/EpdBase.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..a1bddbc
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/CL.command.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/CL.read.1.tlog b/EpdBase/Debug/EpdBase.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..9c2515d
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/CL.read.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/CL.write.1.tlog b/EpdBase/Debug/EpdBase.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..2ff6d67
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/CL.write.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/EpdBase.lastbuildstate b/EpdBase/Debug/EpdBase.tlog/EpdBase.lastbuildstate
new file mode 100644
index 0000000..c395c96
--- /dev/null
+++ b/EpdBase/Debug/EpdBase.tlog/EpdBase.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.7.2:PlatformToolSet=v141:EnableManagedIncrementalBuild=true:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|Win32|C:\l\src\cs\eDos\|
diff --git a/EpdBase/Debug/EpdBase.tlog/Lib-link-cvtres.read.1.tlog b/EpdBase/Debug/EpdBase.tlog/Lib-link-cvtres.read.1.tlog
new file mode 100644
index 0000000..81433fb
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/Lib-link-cvtres.read.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/Lib-link-cvtres.write.1.tlog b/EpdBase/Debug/EpdBase.tlog/Lib-link-cvtres.write.1.tlog
new file mode 100644
index 0000000..337d5f8
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/Lib-link-cvtres.write.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/Lib.command.1.tlog b/EpdBase/Debug/EpdBase.tlog/Lib.command.1.tlog
new file mode 100644
index 0000000..3485714
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/Lib.command.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/metagen.read.1.tlog b/EpdBase/Debug/EpdBase.tlog/metagen.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/EpdBase/Debug/EpdBase.tlog/metagen.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/EpdBase/Debug/EpdBase.tlog/metagen.write.1.tlog b/EpdBase/Debug/EpdBase.tlog/metagen.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/EpdBase/Debug/EpdBase.tlog/metagen.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/EpdBase/Debug/EpdBase.tlog/rc.command.1.tlog b/EpdBase/Debug/EpdBase.tlog/rc.command.1.tlog
new file mode 100644
index 0000000..78b4c7a
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/rc.command.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/rc.read.1.tlog b/EpdBase/Debug/EpdBase.tlog/rc.read.1.tlog
new file mode 100644
index 0000000..92e0cab
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/rc.read.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.tlog/rc.write.1.tlog b/EpdBase/Debug/EpdBase.tlog/rc.write.1.tlog
new file mode 100644
index 0000000..f31e74e
Binary files /dev/null and b/EpdBase/Debug/EpdBase.tlog/rc.write.1.tlog differ
diff --git a/EpdBase/Debug/EpdBase.vcxprojAssemblyReference.cache b/EpdBase/Debug/EpdBase.vcxprojAssemblyReference.cache
new file mode 100644
index 0000000..77acc0d
Binary files /dev/null and b/EpdBase/Debug/EpdBase.vcxprojAssemblyReference.cache differ
diff --git a/EpdBase/Debug/TimeFunctions.obj b/EpdBase/Debug/TimeFunctions.obj
new file mode 100644
index 0000000..5398cb7
Binary files /dev/null and b/EpdBase/Debug/TimeFunctions.obj differ
diff --git a/EpdBase/Debug/app.res b/EpdBase/Debug/app.res
new file mode 100644
index 0000000..bf850e7
Binary files /dev/null and b/EpdBase/Debug/app.res differ
diff --git a/EpdBase/Debug/stdafx.obj b/EpdBase/Debug/stdafx.obj
new file mode 100644
index 0000000..276e01e
Binary files /dev/null and b/EpdBase/Debug/stdafx.obj differ
diff --git a/EpdBase/EpdBase.cpp b/EpdBase/EpdBase.cpp
index efd85ce..3d0d0cf 100644
--- a/EpdBase/EpdBase.cpp
+++ b/EpdBase/EpdBase.cpp
@@ -25,6 +25,7 @@ void EpdBase::Epd2U::StartDiscover()
DiscRV= Discover(port, DeviceIDs, MaxDevices, &DeviceCount);
if (DiscRV == 1 && DeviceCount == 0) {
OnRV = EpdOn();
+ Commit();
Sleep(1100);
DiscRV = Discover(port, DeviceIDs, MaxDevices, &DeviceCount);
}
@@ -89,8 +90,8 @@ void EpdBase::Epd2U::DecodeStatus()
WORD EpdBase::Epd2U::ReadStatus()
{
- memset(WearerID, 0, IDLength+1);
- memset(WearerName, 0, NameLength+1);
+ memset(WearerID, 0, WearerIDLength+1);
+ memset(WearerName, 0, WearerNameLength+1);
EpdClock = RealTime = IssueCount = OffTime = OperatingStatus = ErrorStatus = AlarmStatus = OtherAlarms = EEPROMBadSectors = 0;
ErrorSource = ErrorReason = ErrorData = 0;
@@ -128,9 +129,9 @@ WORD EpdBase::Epd2U::ReadStatus()
ReadWearerRV = 3;
ReadWearerRV = ReadWearer(
WearerID,
- IDLength,
+ WearerIDLength,
WearerName,
- NameLength);
+ WearerNameLength);
CommitRV = Commit();
if (CommitRV == 0) {
Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
@@ -171,7 +172,7 @@ WORD EpdBase::Epd2U::TurnOff()
{
OffRV = EpdOff();
if (OffRV == 0) Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
- EndSessionRV = EndSession(AlarmCtrl,8);
+ EndSessionRV = EndSession(AlarmCtrl,10);
if (EndSessionRV == 0) Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
else {
@@ -181,9 +182,29 @@ WORD EpdBase::Epd2U::TurnOff()
return CommitRV;
}
+WORD EpdBase::Epd2U::TurnOn()
+{
+
+ //OnRV = EpdOn();
+ //if (OnRV == 0) Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
+
+ EndSessionRV = EndSession(AlarmCtrl, 10);
+ if (EndSessionRV == 0) {
+ Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
+ return 0;
+ }
+
+ /*
+ CommitRV = Commit();
+ if (CommitRV == 0) Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);*/
+
+ return 0;
+}
+
+
WORD EpdBase::Epd2U::ReadTresHolds()
{
- ReadDoseTresholdRV = ReadAlarmDoseThresholds(&Hp10Dose1, &Hp10Dose2, &Hp07Dose);
+ ReadDoseTresholdRV = ReadAlarmDoseThresholds(&Hp10THDose1, &Hp10THDose2, &Hp07THDose);
ReadAlarmRateThresholdsRV = ReadAlarmRateThresholds(
&Hp10Rate1On,
&Hp10Rate2On,
@@ -205,4 +226,107 @@ WORD EpdBase::Epd2U::ReadTresHolds()
CommitRV = Commit();
if (CommitRV == 0) Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
return CommitRV;
+}
+
+WORD EpdBase::Epd2U::ReadDoses()
+{
+
+ ReadDosesQualityRV = ReadPeaksRV = CommitRV = 0;
+ ReadDosesQualityRV = ReadDosesQuality(
+ &Hp10Dose,
+ &Hp07Dose,
+ &Hp10Total,
+ &Hp07Total,
+ &Knocks,
+ &Resets,
+ &QualityData);
+
+ if (ReadDosesQualityRV == 0) {
+ Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
+ return 0;
+ }
+
+
+ ReadPeaksRV = ReadPeaks(
+ &Hp10Peak,
+ &Hp07Peak,
+ &Hp10Time,
+ &Hp07Time);
+ if (ReadPeaksRV == 0) {
+ Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
+ return 0;
+ }
+
+ CommitRV = Commit();
+ if (CommitRV == 0) Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData);
+ return CommitRV;
+}
+
+WORD EpdBase::Epd2U::DeIssue()
+{
+ ClearDoseRV = ClearTotalDoseRV = ClearPeakRatesRV = DeIssueEpdRV = 0;
+
+ CommitRV = ClearFailFlag();
+ if (CommitRV) CommitRV = ClearFaultFlags();
+ if (CommitRV) CommitRV = ClearLatchedAlarms();
+ if (CommitRV) CommitRV = Commit();
+
+ if (CommitRV) CommitRV = ClearDose();
+ if (CommitRV) CommitRV = ClearTotalDose();
+ if (CommitRV) CommitRV = ClearPeakRates();
+
+ if (CommitRV) CommitRV = DeIssueEpd();
+ if (CommitRV) CommitRV = Commit();
+ if (CommitRV && DetectorsOn) {
+ CommitRV = EpdOff();
+ CommitRV= Commit();
+ Sleep(1000);// Versie < .. Commit & Sleep
+ }
+
+ if (CommitRV) { EndSession(0x16, 12); Commit(); }// Continuous high tone for 1.2 seconds
+ else
+ {
+ FlushBuffers();
+ Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData); EndSession(0x5E, 40); return 0;
+ }
+
+ return CommitRV;
+
+}
+
+
+WORD EpdBase::Epd2U::Issue()
+{
+ IssueEpdRV = WriteAlarmDoseThresholdsRV = WriteAlarmRateThresholdsRV = WriteWearerNameRV = OnRV = CommitRV = 0;
+
+
+ DWORD OKRV = SetFailFlag(); // all actions have been completed
+ if (OKRV) OKRV = Commit();
+
+ if (OKRV) OKRV = WriteAlarmDoseThresholds(Hp10THDose1, Hp10THDose2, Hp07THDose);
+ if (OKRV) OKRV = WriteAlarmRateThresholds(Hp10Rate1On, Hp10Rate2On, Hp07RateOn, Hp10Rate1Off, Hp10Rate2Off, Hp07RateOff);
+ if (OKRV) OKRV = Commit();
+ if (OKRV) OKRV = IssueEpd(WearerID, WearerIDLength);
+ if (OKRV) OKRV = Commit();
+
+ if (OKRV) OKRV = WriteWearerName(WearerName,WearerNameLength);
+ if (OKRV) OKRV = ClearFailFlag(); // all actions have been completed
+ if (OKRV) OKRV = Commit();
+
+ if (!DetectorsOn) {
+ OKRV = EpdOn(); OKRV=Commit(); Sleep(1000);
+ }
+
+ if (OKRV) {
+ EndSession(0x16, 12);
+ Commit();
+ } // Continuous high tone for 1.2 seconds
+ else
+ {
+ FlushBuffers();
+ Error = GetErrorDetails(&ErrorSource, &ErrorReason, &ErrorData); EndSession(0x5E, 40);
+ }
+
+
+ return OKRV;
}
\ No newline at end of file
diff --git a/EpdBase/EpdBase.h b/EpdBase/EpdBase.h
index d76e450..b8f4478 100644
--- a/EpdBase/EpdBase.h
+++ b/EpdBase/EpdBase.h
@@ -1,167 +1,204 @@
-#pragma once
-#include
-#include "dll2/ex15.mif"
-#include "TimeFunctions.h"
-
-
-namespace EpdBase
-{
-
- class Epd2U
- {
- public:
- WORD port = 3;
- const WORD MaxDevices = 10;
- WORD DeviceCount = 0;
- DWORD DeviceIDs[10];
- DWORD CurrentDeviceID;
-
- WORD AlarmCtrl = 0b01101110;
-
- DWORD EpdClock;
- DWORD RealTime;
- WORD IssueCount;
- DWORD OffTime;
- WORD OperatingStatus;
- WORD ErrorStatus;
- WORD AlarmStatus;
- WORD OtherAlarms;
- WORD EEPROMBadSectors;
-
- WORD InitRv = 0;
- WORD DiscRV = 0;
- WORD ConRV = 0;
- WORD OpenRV=0;
- WORD ReadStatusRV = 0;
- WORD CommitRV = 0;
- WORD OffRV = 0;
- WORD OnRV = 0;
- WORD EndSessionRV = 0;
- WORD ReadConfigRV = 0;
- WORD ReadDoseTresholdRV = 0;
- WORD ReadAlarmRateThresholdsRV = 0;
- WORD ReadCalibrationDataRV = 0;
- WORD ReadWearerRV = 0;
- WORD ReadEpdIDRV = 0;
- WORD Error=0;
-
- WORD ErrorSource;
- WORD ErrorReason;
- WORD ErrorData;
-
- //Identification
-
- DWORD EpdID=0;
- WORD HardVersion;
- WORD SoftVersion;
- WORD FunctionFlags;
-
- WORD EpdType = 0xff;
-
- SYSTEMTIME tRealTime;
-
- //Wearer
-
- #define IDLength 12
- BYTE WearerID[(IDLength)+1];
- #define NameLength 22
- BYTE WearerName[NameLength+1];
-
- //AlarmDoseTreshold
- DWORD Hp10Dose1;
- DWORD Hp10Dose2;
- DWORD Hp07Dose;
-
- DWORD Hp10Rate1On;
- DWORD Hp10Rate2On;
- DWORD Hp07RateOn;
- DWORD Hp10Rate1Off;
- DWORD Hp10Rate2Off;
- DWORD Hp07RateOff;
-
-
- WORD K1;
- WORD K2;
- WORD K3;
- WORD K4;
- WORD K5;
- WORD K6;
- WORD SG;
- WORD BC;
- WORD FB;
- WORD HG;
-
- //Config
-
- WORD CountDownTime;
- DWORD ReturnTime;
- WORD ChirpRate;
- WORD TeleBaudSetting;
- WORD SelfTestInterval;
- WORD BatteryLoadTestInt;
- WORD GeneralControl;
- WORD CommsTimeout;
- WORD InhibitTimeout;
- WORD MinTxInterval;
- WORD MaxTxIntervals;
- WORD RandomiseWindow;
- WORD DoseIncThresh;
-
-
-
-
- //OperatringStatus
- BYTE DetectorsOn=0;
- BYTE EPDIssued = 0;
- BYTE EPDLocked = 0;
- BYTE EPDTesting = 0;
- BYTE EPDProcSec= 0;
- BYTE EPDFaulty = 0;
-
-
- //ERrrostatus
- BYTE EPDNewFault = 0;
- BYTE EPDComFault = 0;
- BYTE EPDCalFault = 0;
- BYTE EPDDetFault = 0;
- BYTE EPDEprFault = 0;
- BYTE EPDTrhFault = 0;
- BYTE EPDOthFault = 0;
-
-
- //AlarmStatus
- BYTE AlarmDoseHP101G = 0;
- BYTE AlarmDoseHP102G = 0;
- BYTE AlarmDoseHP07N = 0;
- BYTE AlarmRateHP101G = 0;
- BYTE AlarmRateHP102G = 0;
- BYTE AlarmRateHP07N = 0;
-
- //OtherAlarm
- BYTE OtherAlarmRateHp101G = 0;
- BYTE OtherAlarmRateHp102G = 0;
- BYTE OtherAlarmRateHp07N = 0;
- BYTE OtherAlarmReturn = 0;
- BYTE OtherAlarmBatLow = 0;
- BYTE OtherAlarmCarrier= 0;
- BYTE OtherAlarmBatVolt = 0;
-
-
- void StartDiscover();
- void Open(DWORD DeviceID);
- void Close();
-
- void DecodeFunctionFlags();
-
- void DecodeStatus();
-
- Epd2U(int comport);
- WORD ReadStatus();
- WORD EPDReadConfig();
- WORD TurnOff();
- WORD ReadTresHolds();
- ~Epd2U();
- };
-}
-
-
+#pragma once
+#include
+#include "dll2/ex15.mif"
+#include "TimeFunctions.h"
+
+
+
+namespace EpdBase
+{
+
+
+ class Epd2U
+ {
+ public:
+ WORD port = 3;
+ const WORD MaxDevices = 10;
+ WORD DeviceCount = 0;
+ DWORD DeviceIDs[10];
+ DWORD CurrentDeviceID;
+
+ WORD AlarmCtrl = 0b01111110;
+
+ DWORD EpdClock;
+ DWORD RealTime;
+ WORD IssueCount;
+ DWORD OffTime;
+ WORD OperatingStatus;
+ WORD ErrorStatus;
+ WORD AlarmStatus;
+ WORD OtherAlarms;
+ WORD EEPROMBadSectors;
+
+ WORD InitRv = 0;
+ WORD DiscRV = 0;
+ WORD ConRV = 0;
+ WORD OpenRV=0;
+ WORD ReadStatusRV = 0;
+ WORD CommitRV = 0;
+ WORD OffRV = 0;
+ WORD OnRV = 0;
+ WORD EndSessionRV = 0;
+ WORD ReadConfigRV = 0;
+ WORD ReadDoseTresholdRV = 0;
+ WORD ReadAlarmRateThresholdsRV = 0;
+ WORD ReadCalibrationDataRV = 0;
+ WORD ReadWearerRV = 0;
+ WORD ReadEpdIDRV = 0;
+ WORD ReadDosesQualityRV;
+ WORD ReadPeaksRV = 0;
+
+ WORD ClearDoseRV;
+ WORD ClearTotalDoseRV;
+ WORD ClearPeakRatesRV;
+ WORD DeIssueEpdRV = 0;
+
+ WORD WriteAlarmDoseThresholdsRV = 0;
+ WORD WriteAlarmRateThresholdsRV = 0;
+ WORD WriteWearerNameRV = 0;
+
+ WORD IssueEpdRV = 0;
+
+ WORD Error=0;
+
+ WORD ErrorSource;
+ WORD ErrorReason;
+ WORD ErrorData;
+
+ //Identification
+
+ DWORD EpdID=0;
+ WORD HardVersion;
+ WORD SoftVersion;
+ WORD FunctionFlags;
+
+ WORD EpdType = 0xff;
+
+ SYSTEMTIME tRealTime;
+
+ //Wearer
+
+ #define WearerIDLength 12
+ BYTE WearerID[(WearerIDLength)+1];
+ #define WearerNameLength 22
+ BYTE WearerName[WearerNameLength+1];
+
+
+ // Dose
+
+ DWORD Hp10Dose;
+ DWORD Hp07Dose;
+ DWORD Hp10Total;
+ DWORD Hp07Total;
+ WORD Knocks;
+ WORD Resets;
+ WORD QualityData;
+
+ //Peaks
+ DWORD Hp10Peak;
+ DWORD Hp07Peak;
+ DWORD Hp10Time;
+ DWORD Hp07Time;
+
+
+ //AlarmDoseTreshold
+ DWORD Hp10THDose1;
+ DWORD Hp10THDose2;
+ DWORD Hp07THDose;
+
+ DWORD Hp10Rate1On;
+ DWORD Hp10Rate2On;
+ DWORD Hp07RateOn;
+ DWORD Hp10Rate1Off;
+ DWORD Hp10Rate2Off;
+ DWORD Hp07RateOff;
+
+
+ WORD K1;
+ WORD K2;
+ WORD K3;
+ WORD K4;
+ WORD K5;
+ WORD K6;
+ WORD SG;
+ WORD BC;
+ WORD FB;
+ WORD HG;
+
+ //Config
+ WORD CountDownTime;
+ DWORD ReturnTime;
+ WORD ChirpRate;
+ WORD TeleBaudSetting;
+ WORD SelfTestInterval;
+ WORD BatteryLoadTestInt;
+ WORD GeneralControl;
+ WORD CommsTimeout;
+ WORD InhibitTimeout;
+ WORD MinTxInterval;
+ WORD MaxTxIntervals;
+ WORD RandomiseWindow;
+ WORD DoseIncThresh;
+
+ //OperatingStatus
+ BYTE DetectorsOn=0;
+ BYTE EPDIssued = 0;
+ BYTE EPDLocked = 0;
+ BYTE EPDTesting = 0;
+ BYTE EPDProcSec= 0;
+ BYTE EPDFaulty = 0;
+
+
+ //ERrrostatus
+ BYTE EPDNewFault = 0;
+ BYTE EPDComFault = 0;
+ BYTE EPDCalFault = 0;
+ BYTE EPDDetFault = 0;
+ BYTE EPDEprFault = 0;
+ BYTE EPDTrhFault = 0;
+ BYTE EPDOthFault = 0;
+
+
+ //AlarmStatus
+ BYTE AlarmDoseHP101G = 0;
+ BYTE AlarmDoseHP102G = 0;
+ BYTE AlarmDoseHP07N = 0;
+ BYTE AlarmRateHP101G = 0;
+ BYTE AlarmRateHP102G = 0;
+ BYTE AlarmRateHP07N = 0;
+
+ //OtherAlarm
+ BYTE OtherAlarmRateHp101G = 0;
+ BYTE OtherAlarmRateHp102G = 0;
+ BYTE OtherAlarmRateHp07N = 0;
+ BYTE OtherAlarmReturn = 0;
+ BYTE OtherAlarmBatLow = 0;
+ BYTE OtherAlarmCarrier= 0;
+ BYTE OtherAlarmBatVolt = 0;
+
+
+ void StartDiscover();
+ void Open(DWORD DeviceID);
+ void Close();
+
+ void DecodeFunctionFlags();
+
+ void DecodeStatus();
+
+ Epd2U(int comport);
+ WORD ReadStatus();
+ WORD EPDReadConfig();
+ WORD TurnOff();
+ WORD TurnOn();
+ WORD ReadTresHolds();
+ WORD ReadDoses();
+
+ WORD DeIssue();
+
+ WORD Issue();
+
+ ~Epd2U();
+ };
+}
+
+
diff --git a/EpdBase/EpdBase.vcxproj.user b/EpdBase/EpdBase.vcxproj.user
new file mode 100644
index 0000000..6e2aec7
--- /dev/null
+++ b/EpdBase/EpdBase.vcxproj.user
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/EpdBase/x64/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm b/EpdBase/x64/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm
new file mode 100644
index 0000000..6b017a0
--- /dev/null
+++ b/EpdBase/x64/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm
@@ -0,0 +1,4 @@
+; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
+
+; Generated by VC++ for Common Language Runtime
+.file "C:\Users\admlvand\AppData\Local\Temp\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp"
diff --git a/EpdBase/x64/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj b/EpdBase/x64/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj
new file mode 100644
index 0000000..8de66fc
Binary files /dev/null and b/EpdBase/x64/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj differ
diff --git a/EpdBase/x64/Debug/AssemblyInfo.obj b/EpdBase/x64/Debug/AssemblyInfo.obj
new file mode 100644
index 0000000..ef1378d
Binary files /dev/null and b/EpdBase/x64/Debug/AssemblyInfo.obj differ
diff --git a/EpdBase/x64/Debug/EpdBase.Build.CppClean.log b/EpdBase/x64/Debug/EpdBase.Build.CppClean.log
new file mode 100644
index 0000000..9c90899
--- /dev/null
+++ b/EpdBase/x64/Debug/EpdBase.Build.CppClean.log
@@ -0,0 +1,23 @@
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.pch
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.pdb
+c:\l\src\cs\edos\epdbase\x64\debug\stdafx.obj
+c:\l\src\cs\edos\epdbase\x64\debug\timefunctions.obj
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.obj
+c:\l\src\cs\edos\epdbase\x64\debug\assemblyinfo.obj
+c:\l\src\cs\edos\epdbase\x64\debug\.netframework,version=v4.7.2.assemblyattributes.obj
+c:\l\src\cs\edos\epdbase\x64\debug\.netframework,version=v4.7.2.assemblyattributes.asm
+c:\l\src\cs\edos\x64\debug\epdbase.lib
+c:\l\src\cs\edos\epdbase\x64\debug\app.res
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.vcxprojassemblyreference.cache
+c:\l\src\cs\edos\x64\debug\epdbase.pdb
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\cl.command.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\cl.read.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\cl.write.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\lib-link-cvtres.read.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\lib-link-cvtres.write.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\lib.command.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\metagen.read.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\metagen.write.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\rc.command.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\rc.read.1.tlog
+c:\l\src\cs\edos\epdbase\x64\debug\epdbase.tlog\rc.write.1.tlog
diff --git a/EpdBase/x64/Debug/EpdBase.log b/EpdBase/x64/Debug/EpdBase.log
new file mode 100644
index 0000000..7652a1c
--- /dev/null
+++ b/EpdBase/x64/Debug/EpdBase.log
@@ -0,0 +1,12 @@
+ stdafx.cpp
+ AssemblyInfo.cpp
+ EpdBase.cpp
+c:\l\src\cs\edos\epdbase\timefunctions.h(12): warning C4091: 'static ': ignored on left of 'TimeFunctions' when no variable is declared
+c:\l\src\cs\edos\epdbase\epdbase.cpp(95): warning C4244: '=': conversion from 'DWORD' to 'WORD', possible loss of data
+ TimeFunctions.cpp
+c:\l\src\cs\edos\epdbase\timefunctions.h(12): warning C4091: 'static ': ignored on left of 'TimeFunctions' when no variable is declared
+ Generating Code...
+ .NETFramework,Version=v4.7.2.AssemblyAttributes.cpp
+.NETFramework,Version=v4.7.2.AssemblyAttributes.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
+AssemblyInfo.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
+ EpdBase.vcxproj -> C:\l\src\cs\eDos\x64\Debug\EpdBase.lib
diff --git a/EpdBase/x64/Debug/EpdBase.obj b/EpdBase/x64/Debug/EpdBase.obj
new file mode 100644
index 0000000..b1c8f12
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.obj differ
diff --git a/EpdBase/x64/Debug/EpdBase.pch b/EpdBase/x64/Debug/EpdBase.pch
new file mode 100644
index 0000000..e797ad2
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.pch differ
diff --git a/EpdBase/x64/Debug/EpdBase.pdb b/EpdBase/x64/Debug/EpdBase.pdb
new file mode 100644
index 0000000..6f607cb
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.pdb differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/CL.command.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..028341e
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/CL.command.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/CL.read.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..a29c166
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/CL.read.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/CL.write.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..d09fe73
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/CL.write.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/EpdBase.lastbuildstate b/EpdBase/x64/Debug/EpdBase.tlog/EpdBase.lastbuildstate
new file mode 100644
index 0000000..8cbd985
--- /dev/null
+++ b/EpdBase/x64/Debug/EpdBase.tlog/EpdBase.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.7.2:PlatformToolSet=v141:EnableManagedIncrementalBuild=true:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|x64|C:\l\src\cs\eDos\|
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/Lib-link-cvtres.read.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/Lib-link-cvtres.read.1.tlog
new file mode 100644
index 0000000..a629493
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/Lib-link-cvtres.read.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/Lib-link-cvtres.write.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/Lib-link-cvtres.write.1.tlog
new file mode 100644
index 0000000..f65e00a
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/Lib-link-cvtres.write.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/Lib.command.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/Lib.command.1.tlog
new file mode 100644
index 0000000..7d71cea
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/Lib.command.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/metagen.read.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/metagen.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/EpdBase/x64/Debug/EpdBase.tlog/metagen.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/metagen.write.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/metagen.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/EpdBase/x64/Debug/EpdBase.tlog/metagen.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/rc.command.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/rc.command.1.tlog
new file mode 100644
index 0000000..9bd333f
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/rc.command.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/rc.read.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/rc.read.1.tlog
new file mode 100644
index 0000000..92e0cab
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/rc.read.1.tlog differ
diff --git a/EpdBase/x64/Debug/EpdBase.tlog/rc.write.1.tlog b/EpdBase/x64/Debug/EpdBase.tlog/rc.write.1.tlog
new file mode 100644
index 0000000..01bac02
Binary files /dev/null and b/EpdBase/x64/Debug/EpdBase.tlog/rc.write.1.tlog differ
diff --git a/EpdBase/x64/Debug/TimeFunctions.obj b/EpdBase/x64/Debug/TimeFunctions.obj
new file mode 100644
index 0000000..dac95d4
Binary files /dev/null and b/EpdBase/x64/Debug/TimeFunctions.obj differ
diff --git a/EpdBase/x64/Debug/app.res b/EpdBase/x64/Debug/app.res
new file mode 100644
index 0000000..bf850e7
Binary files /dev/null and b/EpdBase/x64/Debug/app.res differ
diff --git a/EpdBase/x64/Debug/stdafx.obj b/EpdBase/x64/Debug/stdafx.obj
new file mode 100644
index 0000000..36fae4f
Binary files /dev/null and b/EpdBase/x64/Debug/stdafx.obj differ
diff --git a/EpdBaseClr/AssemblyInfo.cpp b/EpdBaseClr/AssemblyInfo.cpp
new file mode 100644
index 0000000..bc77ac2
--- /dev/null
+++ b/EpdBaseClr/AssemblyInfo.cpp
@@ -0,0 +1,22 @@
+#include "stdafx.h"
+
+using namespace System;
+using namespace System::Reflection;
+using namespace System::Runtime::CompilerServices;
+using namespace System::Runtime::InteropServices;
+using namespace System::Security::Permissions;
+
+[assembly:AssemblyTitleAttribute(L"EpdBaseClr")];
+[assembly:AssemblyDescriptionAttribute(L"")];
+[assembly:AssemblyConfigurationAttribute(L"")];
+[assembly:AssemblyCompanyAttribute(L"")];
+[assembly:AssemblyProductAttribute(L"EpdBaseClr")];
+[assembly:AssemblyCopyrightAttribute(L"Copyright (c) 2019")];
+[assembly:AssemblyTrademarkAttribute(L"")];
+[assembly:AssemblyCultureAttribute(L"")];
+
+[assembly:AssemblyVersionAttribute("1.0.*")];
+
+[assembly:ComVisible(false)];
+
+[assembly:CLSCompliantAttribute(true)];
diff --git a/EpdBaseClr/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm b/EpdBaseClr/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm
new file mode 100644
index 0000000..6b017a0
--- /dev/null
+++ b/EpdBaseClr/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.asm
@@ -0,0 +1,4 @@
+; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
+
+; Generated by VC++ for Common Language Runtime
+.file "C:\Users\admlvand\AppData\Local\Temp\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp"
diff --git a/EpdBaseClr/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj b/EpdBaseClr/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj
new file mode 100644
index 0000000..da834ea
Binary files /dev/null and b/EpdBaseClr/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.obj differ
diff --git a/EpdBaseClr/Debug/AssemblyInfo.obj b/EpdBaseClr/Debug/AssemblyInfo.obj
new file mode 100644
index 0000000..7e31fc3
Binary files /dev/null and b/EpdBaseClr/Debug/AssemblyInfo.obj differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.Build.CppClean.log b/EpdBaseClr/Debug/EpdBaseClr.Build.CppClean.log
new file mode 100644
index 0000000..800bf8f
--- /dev/null
+++ b/EpdBaseClr/Debug/EpdBaseClr.Build.CppClean.log
@@ -0,0 +1,21 @@
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.pch
+c:\l\src\cs\edos\epdbaseclr\debug\vc141.pdb
+c:\l\src\cs\edos\epdbaseclr\debug\stdafx.obj
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.obj
+c:\l\src\cs\edos\epdbaseclr\debug\assemblyinfo.obj
+c:\l\src\cs\edos\epdbaseclr\debug\.netframework,version=v4.7.2.assemblyattributes.obj
+c:\l\src\cs\edos\epdbaseclr\debug\.netframework,version=v4.7.2.assemblyattributes.asm
+c:\l\src\cs\edos\debug\epdbaseclr.dll
+c:\l\src\cs\edos\debug\epdbaseclr.pdb
+c:\l\src\cs\edos\epdbaseclr\debug\app.res
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\cl.command.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\cl.read.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\cl.write.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\link.command.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\link.read.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\link.write.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\metagen.read.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\metagen.write.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\rc.command.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\rc.read.1.tlog
+c:\l\src\cs\edos\epdbaseclr\debug\epdbaseclr.tlog\rc.write.1.tlog
diff --git a/EpdBaseClr/Debug/EpdBaseClr.log b/EpdBaseClr/Debug/EpdBaseClr.log
new file mode 100644
index 0000000..24a9193
--- /dev/null
+++ b/EpdBaseClr/Debug/EpdBaseClr.log
@@ -0,0 +1,2 @@
+ AssemblyInfo.obj : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
+ EpdBaseClr.vcxproj -> C:\l\src\cs\eDos\Debug\EpdBaseClr.dll
diff --git a/EpdBaseClr/Debug/EpdBaseClr.obj b/EpdBaseClr/Debug/EpdBaseClr.obj
new file mode 100644
index 0000000..10fa7f5
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.obj differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.pch b/EpdBaseClr/Debug/EpdBaseClr.pch
new file mode 100644
index 0000000..c053a37
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.pch differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.command.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..850adbf
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.command.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.read.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..c94a872
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.read.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.write.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..02b62a5
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/CL.write.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/EpdBaseClr.lastbuildstate b/EpdBaseClr/Debug/EpdBaseClr.tlog/EpdBaseClr.lastbuildstate
new file mode 100644
index 0000000..c395c96
--- /dev/null
+++ b/EpdBaseClr/Debug/EpdBaseClr.tlog/EpdBaseClr.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.7.2:PlatformToolSet=v141:EnableManagedIncrementalBuild=true:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|Win32|C:\l\src\cs\eDos\|
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/link.command.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/link.command.1.tlog
new file mode 100644
index 0000000..128b17e
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/link.command.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/link.read.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/link.read.1.tlog
new file mode 100644
index 0000000..cdefd1d
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/link.read.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/link.write.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/link.write.1.tlog
new file mode 100644
index 0000000..ede544f
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/link.write.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/metagen.read.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/metagen.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/EpdBaseClr/Debug/EpdBaseClr.tlog/metagen.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/metagen.write.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/metagen.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/EpdBaseClr/Debug/EpdBaseClr.tlog/metagen.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.command.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.command.1.tlog
new file mode 100644
index 0000000..358ff3a
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.command.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.read.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.read.1.tlog
new file mode 100644
index 0000000..ad94af8
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.read.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.write.1.tlog b/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.write.1.tlog
new file mode 100644
index 0000000..3e52c8c
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.tlog/rc.write.1.tlog differ
diff --git a/EpdBaseClr/Debug/EpdBaseClr.vcxprojAssemblyReference.cache b/EpdBaseClr/Debug/EpdBaseClr.vcxprojAssemblyReference.cache
new file mode 100644
index 0000000..77acc0d
Binary files /dev/null and b/EpdBaseClr/Debug/EpdBaseClr.vcxprojAssemblyReference.cache differ
diff --git a/EpdBaseClr/Debug/IR_READER_MS_DLL.dll b/EpdBaseClr/Debug/IR_READER_MS_DLL.dll
new file mode 100644
index 0000000..3edbef2
Binary files /dev/null and b/EpdBaseClr/Debug/IR_READER_MS_DLL.dll differ
diff --git a/EpdBaseClr/Debug/app.res b/EpdBaseClr/Debug/app.res
new file mode 100644
index 0000000..bf850e7
Binary files /dev/null and b/EpdBaseClr/Debug/app.res differ
diff --git a/EpdBaseClr/Debug/stdafx.obj b/EpdBaseClr/Debug/stdafx.obj
new file mode 100644
index 0000000..e2f0bd3
Binary files /dev/null and b/EpdBaseClr/Debug/stdafx.obj differ
diff --git a/EpdBaseClr/Debug/vc141.pdb b/EpdBaseClr/Debug/vc141.pdb
new file mode 100644
index 0000000..1ed1fc7
Binary files /dev/null and b/EpdBaseClr/Debug/vc141.pdb differ
diff --git a/EpdBaseClr/EpdBaseClr.cpp b/EpdBaseClr/EpdBaseClr.cpp
new file mode 100644
index 0000000..15a431c
--- /dev/null
+++ b/EpdBaseClr/EpdBaseClr.cpp
@@ -0,0 +1,78 @@
+#include "stdafx.h"
+
+#include "EpdBaseClr.h"
+
+EpdBaseClr::Epd2::Epd2(int port)
+{
+ epd = new EpdBase::Epd2U(port);
+ b = gcnew sEpdBase();
+ this->InitRV = epd->InitRv;
+
+}
+
+int EpdBaseClr::Epd2::Connect()
+{
+ b->CurrentDeviceID = 0;
+ epd->StartDiscover();
+ DiscRV = epd->DiscRV;
+ if (epd->DiscRV == 1 && epd->DeviceCount > 0) b->CurrentDeviceID = epd->DeviceIDs[0];
+ return DiscRV;
+}
+
+int EpdBaseClr::Epd2::GetStatus()
+{
+ //ReadStatus
+ StatusRV = 0; Issued = false; WearerName = String::Empty;
+ epd->ReadStatus();
+ StatusRV= epd->ReadStatusRV;
+ Issued = epd->EPDIssued;
+ WearerID = gcnew String((char *)epd->WearerID);
+ WearerName = gcnew String((char *)epd->WearerName);
+ isOn = (epd->DetectorsOn != 0);
+
+ return StatusRV;
+}
+
+int EpdBaseClr::Epd2::GetDoses()
+{
+ Hp10 = Hp07 = 0.0;
+ ReadDosesRV = epd->ReadDoses();
+
+ if (ReadDosesRV == 1) {
+ Hp10 = (double)epd->Hp10Dose / 64.0;
+ Hp07 = (double)epd->Hp07Dose / 64.0;
+ Hp07Peak = (double)epd->Hp07Peak / 64.0;
+ Hp10Peak = (double)epd->Hp10Peak / 64.0;
+ }
+
+ //epd->SoftVersion
+ return ReadDosesRV;
+}
+
+int EpdBaseClr::Epd2::SetDeIssued()
+{
+ return epd->DeIssue();
+}
+
+int EpdBaseClr::Epd2::SetIssued()
+{
+ epd->AlarmDoseHP07N = alarmHP07;
+ epd->AlarmDoseHP101G = alarmHP10;
+
+ memset(epd->WearerID, ' ', WearerIDLength); epd->WearerID[WearerIDLength] = 0;
+ char* str1 = (char*)(void *)Runtime::InteropServices::Marshal::StringToHGlobalAnsi(WearerID);
+ int l = strlen(str1);
+ if (l > WearerIDLength)l = WearerIDLength;
+ _memccpy( epd->WearerID+WearerIDLength-l, str1, l, WearerIDLength);
+ Runtime::InteropServices::Marshal::FreeHGlobal((IntPtr)str1);
+
+
+ memset(epd->WearerName, 0, WearerNameLength + 1);
+ char* str2 = (char*)(void*)Runtime::InteropServices::Marshal::StringToHGlobalAnsi(WearerName);
+ _memccpy(epd->WearerName, str2, strlen(str2), WearerNameLength);
+ Runtime::InteropServices::Marshal::FreeHGlobal((IntPtr)str2);
+
+
+ epd->Issue();
+ return 0;
+}
\ No newline at end of file
diff --git a/EpdBaseClr/EpdBaseClr.h b/EpdBaseClr/EpdBaseClr.h
new file mode 100644
index 0000000..f5e9030
--- /dev/null
+++ b/EpdBaseClr/EpdBaseClr.h
@@ -0,0 +1,60 @@
+#pragma once
+#include "..\EpdBase\EpdBase.h"
+#pragma comment(lib,"dll2/Reader2.lib")
+using namespace System;
+
+namespace EpdBaseClr {
+
+ public ref class sEpdBase
+ {
+ public :
+ DateTime^ RealTime;
+ unsigned int CurrentDeviceID;
+ };
+
+
+ public ref class Epd2
+ {
+
+
+ public:
+ EpdBase::Epd2U *epd;
+ sEpdBase^ b;
+ DateTime^ RealTime;
+ String^ WearerName;
+ String^ WearerID;
+ bool Issued;
+ bool isOn;
+
+ int InitRV;
+ int DiscRV;
+ int StatusRV;
+ int ReadDosesRV;
+
+
+ double Hp07;
+ double Hp10;
+ double Hp07Peak;
+ double Hp10Peak;
+
+
+ double alarmHP07;
+ double alarmHP10;
+
+
+ Epd2(int port);
+
+ int Connect();
+
+ int GetStatus();
+
+ int GetDoses();
+
+ int SetDeIssued();
+
+ int SetIssued();
+
+
+
+ };
+}
diff --git a/EpdBaseClr/EpdBaseClr.vcxproj b/EpdBaseClr/EpdBaseClr.vcxproj
new file mode 100644
index 0000000..10910fd
--- /dev/null
+++ b/EpdBaseClr/EpdBaseClr.vcxproj
@@ -0,0 +1,164 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ x64
+
+
+
+ 15.0
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}
+ v4.7.2
+ ManagedCProj
+ EpdBaseClr
+ 10.0.17763.0
+
+
+
+ DynamicLibrary
+ true
+ v141
+ true
+ Unicode
+
+
+ DynamicLibrary
+ false
+ v141
+ true
+ Unicode
+
+
+ DynamicLibrary
+ true
+ v141
+ true
+ Unicode
+
+
+ DynamicLibrary
+ false
+ v141
+ true
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+ true
+
+
+ false
+
+
+ false
+
+
+
+ Use
+ Level3
+ Disabled
+ WIN32;_DEBUG;%(PreprocessorDefinitions)
+
+
+
+
+
+
+
+ Use
+ Level3
+ Disabled
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+
+
+
+
+
+ Use
+ Level3
+ WIN32;NDEBUG;%(PreprocessorDefinitions)
+
+
+
+
+
+
+
+ Use
+ Level3
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Create
+ Create
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {3114a047-7562-42fe-94de-2418ef19ad9a}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/EpdBaseClr/EpdBaseClr.vcxproj.filters b/EpdBaseClr/EpdBaseClr.vcxproj.filters
new file mode 100644
index 0000000..9eeba3a
--- /dev/null
+++ b/EpdBaseClr/EpdBaseClr.vcxproj.filters
@@ -0,0 +1,49 @@
+
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
+
+
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Resource Files
+
+
+
+
+ Resource Files
+
+
+
\ No newline at end of file
diff --git a/EpdBaseClr/EpdBaseClr.vcxproj.user b/EpdBaseClr/EpdBaseClr.vcxproj.user
new file mode 100644
index 0000000..6e2aec7
--- /dev/null
+++ b/EpdBaseClr/EpdBaseClr.vcxproj.user
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/EpdBaseClr/IR_READER_MS_DLL.dll b/EpdBaseClr/IR_READER_MS_DLL.dll
new file mode 100644
index 0000000..3edbef2
Binary files /dev/null and b/EpdBaseClr/IR_READER_MS_DLL.dll differ
diff --git a/EpdBaseClr/Resource.h b/EpdBaseClr/Resource.h
new file mode 100644
index 0000000..1f2251c
--- /dev/null
+++ b/EpdBaseClr/Resource.h
@@ -0,0 +1,3 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by app.rc
diff --git a/EpdBaseClr/app.ico b/EpdBaseClr/app.ico
new file mode 100644
index 0000000..789d7cc
Binary files /dev/null and b/EpdBaseClr/app.ico differ
diff --git a/EpdBaseClr/app.rc b/EpdBaseClr/app.rc
new file mode 100644
index 0000000..eab4306
Binary files /dev/null and b/EpdBaseClr/app.rc differ
diff --git a/EpdBaseClr/dll2/IR_READER_MS_DLL.dll b/EpdBaseClr/dll2/IR_READER_MS_DLL.dll
new file mode 100644
index 0000000..3edbef2
Binary files /dev/null and b/EpdBaseClr/dll2/IR_READER_MS_DLL.dll differ
diff --git a/EpdBaseClr/dll2/Reader2.dll b/EpdBaseClr/dll2/Reader2.dll
new file mode 100644
index 0000000..3edbef2
Binary files /dev/null and b/EpdBaseClr/dll2/Reader2.dll differ
diff --git a/EpdBaseClr/dll2/Reader2.exp b/EpdBaseClr/dll2/Reader2.exp
new file mode 100644
index 0000000..5ba58d1
Binary files /dev/null and b/EpdBaseClr/dll2/Reader2.exp differ
diff --git a/EpdBaseClr/dll2/Reader2.lib b/EpdBaseClr/dll2/Reader2.lib
new file mode 100644
index 0000000..3e4941f
Binary files /dev/null and b/EpdBaseClr/dll2/Reader2.lib differ
diff --git a/EpdBaseClr/dll2/ex15.mif b/EpdBaseClr/dll2/ex15.mif
new file mode 100644
index 0000000..2cc2b02
--- /dev/null
+++ b/EpdBaseClr/dll2/ex15.mif
@@ -0,0 +1,1374 @@
+/******************************************************************************
+ *
+ * Module Name : 32 Bit Ex15 Interface DLL
+ *
+ * Module Part No. : 611/TA/40571/000
+ *
+ * File Name : EX15.MIF
+ *
+ * File Description : Top level functions exported by the DLL.
+ *
+ * Authors: : K Ferguson
+ *
+ ******************************************************************************
+ *
+ * This is an unpublished work, the copyright of which vests in Siemens
+ * plc. All rights reserved.
+ *
+ * The information contained herein is the property of Siemens plc and is
+ * supplied without liability for errors or omissions and no part may be
+ * reproduced, used or disclosed except as authorised by contract or other
+ * written permission. The copyright and the foregoing restriction on
+ * reproduction, use and disclosure extends to all the media in which this
+ * information may be embodied.
+ *
+ ******************************************************************************
+ ******************************************************************************
+ *
+ * MODIFICATION HISTORY
+ * ====================
+ *
+ * Mod Date Inits PR Description
+ * --- ---- ----- --- -----------
+ * AA 11/07/97 KLF - Initial version.
+ * AB 18/07/97 JMS - Modified to use AWP protocol.
+ * AC 23/07/97 JMS - Moved error source & code values from THREAD.LIF as
+ * they are used by external modules.
+ * AD 05/08/97 JMS - Added SetTimeouts() function to allow the user
+ * to set the comms. timeouts.
+ * AE 05/08/97 JMS - Clarified Discover() parameter names.
+ * AF 07/08/97 JMS - Seperated SetAutoCommit() from OpenDevice()
+ * function and added Port parameter to OpenDevice().
+ * Removed now redundant TestCounts parameter from
+ * the ReadConfig() and WriteConfig() functions.
+ * AG 08/08/97 JMS - Added Connect() function.
+ * AH 11/08/97 JMS - Extended some of the error reporting.
+ * AI 12/08/97 JMS - Revamped timeouts to timeout at message/frame-level
+ * rather than at lower comms. levels.
+ * AH 15/08/97 JMS - Extended error reporting.
+ * Added SetDiscoveryTimeslotPeriod() function.
+ * AI 26/08/97 JMS - Added Transmit() and Receive() functions to allow
+ * lower-level calls (eg. from EXCOMM) to bypass some
+ * of the message layer functionality.
+ * AJ 27/08/97 JMS - Fixed a typo from the previous changes.
+ * AK 29/08/97 JMS - Added extra tests and error codes for frame buffer
+ * overflow and retries exceed conditions.
+ * AL 02/01/97 JMS - Added FlushDiscoveryCache() function to allow the
+ * cache to be flushed by the application.
+ * AM 02/10/97 JMS - Added FlushBuffers() function to allow the Tx and
+ * Rx buffers to be flushed by the application.
+ * AN 14/10/97 JMS - Corrected the type of the Hp07Dose parameter of the
+ * WriteAlarmDoseThresholds() function from WORD to
+ * DWORD.
+ * AO 16/10/97 JMS - Added part number, function headers, etc. following
+ * review.
+ * AP 17/10/97 JMS - Added SetRetryCounts() to allow the retry counts
+ * to be set by the application.
+ * AQ 22/10/97 JMS - Removed now redundant error codes (ERR_*).
+ * AR 24/10/97 JMS - Added part number for Developer's Guide doc.
+ * AS 02/12/97 KLF - Various corrections after testing on version 1A.
+ * BA 11/05/99 JMS - Changed timestamps and timeouts to use instances
+ * of the Timex class rather than TickCount times, as
+ * TickCount times will wrap-around after 49.7 days
+ * of continuous up-time. Changed the timeout periods
+ * to be long types rather than DWORD to match the
+ * Timex convention.
+ * BB 04/02/00 EMH - Added WriteDisplayControlBits and WriteDisplayEnables
+ * BC 30/01/01 JMP - ERR_INVALID_ALARM_SETTINGS added
+ * BD 30/01/01 JMP - ERR_INVALID_NUMBER_OF_ALARMS added
+ * BE 08/02/01 JMP - ERR_INVALID_CONFIGURATION_LENGTH added
+ * ERR_INVALID_DISPLAY_CONTROL added
+ * BF 21/02/01 JMP - ERR_SCRATCH_OFFSET_PLUS_LEN added
+ * BG 15/08/02 JMP - Added new ANALOG2 commands
+ * BH 04/10/02 JMP - Modified Analog2 interface
+ * BI 02/06/03 PEB - Modified for compatibility with Microsoft Embedded Tools
+ * & PDA version of DLL
+ ******************************************************************************/
+
+/*
+ *
+ * IMPORTANT NOTE TO DEVELOPERS
+ *
+ * When using the DLL and not using the AutoCommit feature - that is to say
+ * functions are combined and processed upon a call to Commit - the following
+ * should be noted.
+ *
+ * 1)
+ * Data will not be assigned to pointers passed into functions until AFTER
+ * the Commit function has been called successfully. Developers should take
+ * care that the areas of memory that are referenced by the pointers remain
+ * valid until after the Commit function is called.
+ *
+ * 2)
+ * Functions are processed in the order that they are called. Should a call
+ * to the Commit function fail then the error information can be retrieved
+ * using the GetErrorDetails function. If the error information indicates
+ * that one of the combined functions failed, then the developer should assume
+ * that all the functions called BEFORE the one that failed, have been
+ * completed successfully. All the functions AFTER and INCLUDING the function
+ * which failed will NOT have been completed. The exception to this is Read
+ * functions which will NOT be completed in the conditions described above
+ * even if they were called BEFORE the function which failed.
+ *
+ */
+
+/*============================================================================*/
+
+#define SRC_NONE 0 // no error occured
+#define SRC_INT 1 // internal error
+#define SRC_DLL 2 // DLL logical error
+#define SRC_EX15 3 // error from Ex15
+
+#define ERR_NONE 0 // No error code (internal error)
+#define ERR_MSG 1 // Message not expected
+#define ERR_SHORT 2 // Message too short
+#define ERR_LENGTH 3 // Message data length not correct
+#define ERR_QUEUE 4 // Message queue overflow
+#define ERR_OVER 5 // Message buffer overflow
+#define ERR_PARAM 6 // Parameter error
+#define ERR_MEMORY 7 // Memory allocation failed
+#define ERR_NO_THREAD 8 // No thread object available
+#define ERR_NO_MSG 9 // No message layer available
+#define ERR_DEVICE_OPEN 10 // A device is already open
+#define ERR_AWP_USER_BUFF_TOO_SMALL 11 // AWP user supplied buffer too small
+#define ERR_AWP_TX_MSG_BUFF_OVERFLOW 12 // AWP message too big for buffer
+#define ERR_AWP_SEQ_MISMATCH 13 // AWP sequence number mismatch
+#define ERR_DISCOVERY_IN_PROGRESS 14 // Discovery in progress
+#define ERR_MSG_OPEN_FAILED 15 // Message layer Open failed
+#define ERR_MSG_NOT_ACTIVE 16 // Message layer not active
+#define ERR_LINK_OPEN_FAILED 17 // Link layer Open failed
+#define ERR_INVALID_FRAME 18 // Link layer invalid frame
+#define ERR_FRAME_TX_TIMEOUT 19 // Link layer frame Tx timeout
+#define ERR_OPEN_PORT_FAILED 20 // Link open device port failed
+#define ERR_CLOSE_PORT_FAILED 21 // Link close device port failed
+#define ERR_SET_PORT_TIMEOUTS_FAILED 22 // Link set port timeouts failed
+#define ERR_FRAME_RX_BUFF_OVERFLOW 23 // Frame Rx buffer overflowed
+#define ERR_FRAME_TX_RETRIES_EXCEEDED 24 // Frame Tx retry count exceeded
+#define ERR_FRAME_RX_RETRIES_EXCEEDED 25 // Frame Rx retry count exceeded
+#define ERR_FRAME_RX_RESULT_UNKNOWN 26 // Frame Receive() result unknown
+#define ERR_INDEX_TOO_LARGE 27 // index greater than profile entries
+#define ERR_INVALID_ALARM_SETTINGS 28 // This EPD may NOT have alarms 'off'
+#define ERR_INVALID_NUMBER_OF_ALARMS 29 // Passed Alarm array is incorrect size.
+#define ERR_INVALID_CONFIGURATION_LENGTH 30 // Passed Display Configuration is incorrect size.
+#define ERR_INVALID_DISPLAY_CONTROL 31 // This EPD may NOT have Display Units Changed.
+#define ERR_SCRATCH_OFFSET_PLUS_LEN 32 // This area of scratchpad may not be written.
+
+/*============================================================================*/
+
+#ifdef __BORLANDC__
+ #define EPDDLL_API _export
+#else //assume microsoft
+ #ifdef EPDDLL_EXPORTS
+ #define EPDDLL_API __declspec(dllexport)
+ #else
+ #define EPDDLL_API __declspec(dllimport)
+ #endif
+#endif
+
+#ifdef _WIN32_WCE //Windows CE / pocket PC
+#define PDA_BUILD
+#endif
+
+extern "C"
+{
+
+#ifndef PDA_BUILD //Only included on Desktop DLLs
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+EPDDLL_API void* WINAPI AllocateMemory( DWORD Size );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MemoryAllocated( void* const Address );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReleaseMemory( void* const Address );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadMemory(
+
+ void* const Address, WORD Offset, WORD Size, DWORD* const Value );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteMemory(
+
+ void* const Address, WORD Offset, WORD Size, DWORD* const Value );
+
+#endif //PDA BUILD
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI GetErrorDetails(
+
+ WORD* const Source, WORD* const Reason, WORD* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI GetDataMetric( WORD MetricNumber, WORD* const Metric );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI InitComms(
+
+ WORD Port, DWORD Baud, WORD Data, WORD Parity, WORD Stop );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI DeinitComms( WORD Port );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI Abort( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetTimeouts( WORD Port, long RxByteTimeout,
+ long RxMessageTimeout, long TxMessageTimeout );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetDiscoveryExpirationPeriod( WORD Port,
+ long ExpirationPeriod );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetDiscoveryTimeslotPeriod( WORD Port, long TimeslotPeriod );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetDiscoveryTimeslotCount( WORD Port, WORD TimeslotCount );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI FlushDiscoveryCache( WORD Port );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI Discover( WORD Port, DWORD* DeviceIDs, WORD MaxDevices,
+ WORD* const Count );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetRetryCounts( WORD RxRetryCount, WORD TxRetryCount );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetAutoCommit( WORD AutoCommit );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI OpenDevice( WORD Port, DWORD DeviceID );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI CloseDevice( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI FlushBuffers( WORD Port );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI Connect( DWORD DeviceID );
+
+#define ALLOW_LOW_LEVEL
+#ifdef ALLOW_LOW_LEVEL
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI Transmit( BYTE* TxBuffer, DWORD TxLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI Receive( BYTE* RxBuffer, DWORD* RxLength );
+#endif /* ALLOW_LOW_LEVEL */
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI Commit( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadCommsStats(
+
+ WORD* const XBOFSeen,
+ WORD* const TotalTxFrames,
+ WORD* const TotalRxFrames,
+ WORD* const GoodRxFrames,
+ WORD* const BadRxFrames,
+ WORD* const TotalWakeups,
+ WORD* const RxErrors );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI EpdOn( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI EpdOff( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadEpdID(
+
+ DWORD* const EpdID,
+ WORD* const HardVersion,
+ WORD* const SoftVersion,
+ WORD* const FunctionFlags );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadEpdStatus(
+
+ DWORD* const EpdClock,
+ DWORD* const RealTime,
+ WORD* const IssueCount,
+ DWORD* const OffTime,
+ WORD* const OperatingStatus,
+ WORD* const ErrorStatus,
+ WORD* const AlarmsStatus,
+ WORD* const OtherAlarms,
+ WORD* const EEPROMBadSectors );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI TestDetectors( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadWearerID( BYTE* const WearerID, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadWearerName( BYTE* const WearerName, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadWearer(
+
+ BYTE* const WearerID, WORD IDLength,
+ BYTE* const WearerName, WORD NameLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI IssueEpd( BYTE* const WearerID, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI DeIssueEpd( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteWearerName( BYTE* const WearerName, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI BaseLineCounts( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI SetFailFlag( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearFailFlag( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearLatchedAlarms( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearFaultFlags( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadDosesQuality(
+
+ DWORD* const Hp10Dose, DWORD* const Hp07Dose,
+ DWORD* const Hp10Total, DWORD* const Hp07Total,
+ WORD* const Knocks, WORD* const Resets, WORD* const QualityData );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadCounts(
+
+ DWORD* const D1, DWORD* const D2,
+ DWORD* const D3, DWORD* const D4, DWORD* const EpdClock );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadPeaks(
+
+ DWORD* const Hp10Peak, DWORD* const Hp07Peak,
+ DWORD* const Hp10Time, DWORD* const Hp07Time );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadRates( DWORD* const Hp10Rate, DWORD* const Hp07Rate );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadBaseCounts(
+
+ DWORD* const D1, DWORD* const D2,
+ DWORD* const D3, DWORD* const D4, DWORD* const EpdClock );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadCalibrationData(
+
+ WORD* const K1, WORD* const K2, WORD* const K3,
+ WORD* const K4, WORD* const K5, WORD* const K6,
+ WORD* const SG, WORD* const BC, WORD* const FB, WORD* const HG );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadAlarmDoseThresholds(
+
+ DWORD* const Hp10Dose1, DWORD* const Hp10Dose2, DWORD* const Hp07Dose );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadAlarmRateThresholds(
+
+ DWORD* const Hp10Rate1On, DWORD* const Hp10Rate2On, DWORD* const Hp07RateOn,
+ DWORD* const Hp10Rate1Off, DWORD* const Hp10Rate2Off, DWORD* const Hp07RateOff );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI DisplayFaultCode( WORD FaultCode );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSReadData(
+
+ DWORD* const Hp10Dose, DWORD* const Hp07Dose,
+ WORD* const Knocks, WORD* const Resets, WORD* const QualityData,
+ DWORD* const Hp10Peak, DWORD* const Hp07Peak,
+ DWORD* const Hp10Time, DWORD* const Hp07Time );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadProfileControl(
+
+ WORD* const Interval, DWORD* const TimeToNext );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadDoseProfile( WORD* const ProfileEntries );
+
+WORD EPDDLL_API WINAPI ReadDoseProfileSince(
+
+ DWORD EpdClock, WORD* const ProfileEntries );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadDoseProfileCache(
+
+ WORD Index,
+ DWORD* const EpdClock, WORD* const Interval,
+ DWORD* const Hp10Dose, DWORD* const Hp07Dose );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadConfig(
+
+ WORD* const CountDownTime,
+ DWORD* const ReturnTime,
+ WORD* const ChirpRate,
+ WORD* const TeleBaudSetting,
+ WORD* const SelfTestInterval,
+ WORD* const BatteryLoadTestInt,
+ WORD* const GeneralControl,
+ WORD* const CommsTimeout,
+ WORD* const InhibitTimeout,
+ WORD* const MinTxInterval,
+ WORD* const MaxTxIntervals,
+ WORD* const RandomiseWindow,
+ WORD* const DoseIncThresh );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadAlarmConfig(
+
+ BYTE* const Config, WORD ConfigLength,
+ BYTE* const Duration, WORD DurationLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadDisplayConfig(
+
+ WORD* const Control,
+ WORD* const LongSwitchTime,
+ WORD* const DoubleClickTime,
+ WORD* const DisplayDefaultTime,
+ WORD* const Default,
+ BYTE* const Config, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadErrorStore(
+
+ DWORD* const ErrorTime, WORD TimeLength,
+ BYTE* const ErrorCode, WORD CodeLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadSpecialWriteTimes( DWORD* const WriteTimes, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadSpecialDoseStore(
+
+ WORD Index, WORD Count,
+ DWORD* const Hp10Dose, WORD Hp10Length,
+ DWORD* const Hp07Dose, WORD Hp07Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearErrorStore( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearDose( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteDose( DWORD Hp10Dose, DWORD Hp07Dose );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteCountdownTimer( WORD wCountDownTime, WORD wStartNow );
+
+/*----------------------------------------------------------------------------*
+ *
+ * This function (WriteCountdownTimer) was written after the Developers Guide
+ * to the Ex15 Interface DLL (611/HB/40571/000)
+ * The first parameter wdCountDownTime is the count down time in seconds
+ * The second param byStartNow is a boolean to start the timer now
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearTotalDose( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteTotalDose( DWORD Hp10Total, DWORD Hp07Total );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ClearPeakRates( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteReturnForReadTime( DWORD ReturnTime );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteAlarmDoseThresholds(
+
+ DWORD Hp10Dose1, DWORD Hp10Dose2, DWORD Hp07Dose );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteAlarmRateThresholds(
+
+ DWORD Hp10Rate1On, DWORD Hp10Rate2On, DWORD Hp07RateOn,
+ DWORD Hp10Rate1Off, DWORD Hp10Rate2Off, DWORD Hp07RateOff );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteAlarmConfig(
+
+ BYTE* const Config, WORD ConfigLength,
+ BYTE* const Duration, WORD DurationLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteDisplayConfig(
+ WORD Control,
+ WORD LongSwitchTime,
+ WORD DoubleClickTime,
+ WORD DisplayDefaultTime,
+ WORD Default, BYTE* const Config, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteDisplayControlBits( WORD DisplayControlBits );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+ WORD EPDDLL_API WINAPI WriteDisplayEnables(
+ WORD Default, BYTE* const Config, WORD Length );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+ WORD EPDDLL_API WINAPI WriteConfig(
+
+ WORD CountDownTime,
+ DWORD ReturnTime,
+ WORD ChirpRate,
+ WORD TeleBaudSetting,
+ WORD SelfTestInterval,
+ WORD BatteryLoadTestInt,
+ WORD GeneralControl,
+ WORD CommsTimeout,
+ WORD InhibitTimeout,
+ WORD MinTxInterval,
+ WORD MaxTxIntervals,
+ WORD RandomiseWindow,
+ WORD DoseIncThresh );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteProfileControl( WORD Interval, DWORD TimeToNext );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteSpecialWriteTimes(
+
+ DWORD* const WriteTimes, WORD Time );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI EndSession( WORD AlarmCtrl, WORD Duration );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadScratchPad(
+
+ WORD Offset, WORD Length, void* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteScratchPad(
+
+ WORD Offset, WORD Length, void* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteChirpRate( WORD ChirpRate );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadRAM(
+
+ WORD Offset, WORD Length , void* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadASIC( WORD Register, WORD* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadDirectEEPROM(
+
+ WORD Offset, WORD Length, void* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSLogin( DWORD Password );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSClearWearer( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSReadWearer(
+
+ BYTE* const WearerID, WORD IDLength,
+ BYTE* const WearerName, WORD NameLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSIssue(
+
+ BYTE* const WearerID, WORD IDLength,
+ BYTE* const WearerName, WORD NameLength );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSDeIssue( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSClearData( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSWritePassword( DWORD Password );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSSetOffEnable( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ADSClearOffEnable( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRLogin( DWORD Password );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWriteCalFactors(
+
+ WORD K1, WORD K2, WORD K3, WORD K4, WORD K5, WORD K6 );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWriteDetectorThresholds(
+
+ WORD SG, WORD BC, WORD FB, WORD HG );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWriteRAM(
+
+ WORD Offset, WORD Length, void* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWriteDirectEEPROM(
+
+ WORD Offset, WORD Length, void* const Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRResetEpd( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRFormatEEPROM( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWriteASIC( WORD Register, WORD Data );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRSetAlwaysCount( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRClearAlwaysCount( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRSetGolden( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRClearGolden( void );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWriteEpdID(
+
+ DWORD EpdID,
+ WORD HardVersion,
+ WORD SoftVersion,
+ WORD FunctionFlags );
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI MFRWritePassword( DWORD Password );
+
+
+
+//additional commands for ANALOG2
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadA2Config(
+ BYTE* const byADC_LA,
+ BYTE* const byADC_LL,
+ BYTE* const byADC_SUPPLY,
+ BYTE* const byADC_BAT_TYPE,
+ WORD* const wOffDisplay,
+ BYTE* const byConfig7,
+ BYTE* const byConfig8);
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI ReadA2ConfigStatus(
+ BYTE* const byBatADC,
+ BYTE* const bySupplyADC,
+ BYTE* const byStatus3,
+ BYTE* const byStatus4);
+
+/*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI WriteA2Config(
+ BYTE byADC_LA,
+ BYTE byADC_LL,
+ BYTE byADC_SUPPLY,
+ BYTE byADC_BAT_TYPE,
+ WORD wOffDisplay,
+ BYTE byConfig7,
+ BYTE byConfig8 );
+
+ /*----------------------------------------------------------------------------*
+ *
+ * See the Developer's Guide to the Ex15 Interface DLL (611/HB/40571/000) for
+ * an explanation of this API function.
+ *
+ *----------------------------------------------------------------------------*/
+
+WORD EPDDLL_API WINAPI TestBattery( void );
+
+
+
+}
diff --git a/EpdBaseClr/stdafx.cpp b/EpdBaseClr/stdafx.cpp
new file mode 100644
index 0000000..a27b824
--- /dev/null
+++ b/EpdBaseClr/stdafx.cpp
@@ -0,0 +1 @@
+#include "stdafx.h"
diff --git a/EpdBaseClr/stdafx.h b/EpdBaseClr/stdafx.h
new file mode 100644
index 0000000..50e9667
--- /dev/null
+++ b/EpdBaseClr/stdafx.h
@@ -0,0 +1 @@
+#pragma once
diff --git a/TestDirect/Debug/TestDirect.log b/TestDirect/Debug/TestDirect.log
new file mode 100644
index 0000000..fbcf427
--- /dev/null
+++ b/TestDirect/Debug/TestDirect.log
@@ -0,0 +1,4 @@
+ pch.cpp
+ TestDirect.cpp
+c:\l\src\cs\edos\testdirect\testdirect.cpp(18): warning C4244: 'argument': conversion from 'DWORD' to 'WORD', possible loss of data
+ TestDirect.vcxproj -> C:\l\src\cs\eDos\Debug\TestDirect.exe
diff --git a/TestDirect/Debug/TestDirect.obj b/TestDirect/Debug/TestDirect.obj
new file mode 100644
index 0000000..f899d60
Binary files /dev/null and b/TestDirect/Debug/TestDirect.obj differ
diff --git a/TestDirect/Debug/TestDirect.pch b/TestDirect/Debug/TestDirect.pch
new file mode 100644
index 0000000..1b4eb58
Binary files /dev/null and b/TestDirect/Debug/TestDirect.pch differ
diff --git a/TestDirect/Debug/TestDirect.tlog/CL.command.1.tlog b/TestDirect/Debug/TestDirect.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..0ec4d02
Binary files /dev/null and b/TestDirect/Debug/TestDirect.tlog/CL.command.1.tlog differ
diff --git a/TestDirect/Debug/TestDirect.tlog/CL.read.1.tlog b/TestDirect/Debug/TestDirect.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..e6af83f
Binary files /dev/null and b/TestDirect/Debug/TestDirect.tlog/CL.read.1.tlog differ
diff --git a/TestDirect/Debug/TestDirect.tlog/CL.write.1.tlog b/TestDirect/Debug/TestDirect.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..3bcb304
Binary files /dev/null and b/TestDirect/Debug/TestDirect.tlog/CL.write.1.tlog differ
diff --git a/TestDirect/Debug/TestDirect.tlog/TestDirect.lastbuildstate b/TestDirect/Debug/TestDirect.tlog/TestDirect.lastbuildstate
new file mode 100644
index 0000000..fad4694
--- /dev/null
+++ b/TestDirect/Debug/TestDirect.tlog/TestDirect.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|Win32|C:\l\src\cs\eDos\|
diff --git a/TestDirect/Debug/TestDirect.tlog/link.command.1.tlog b/TestDirect/Debug/TestDirect.tlog/link.command.1.tlog
new file mode 100644
index 0000000..177b35f
Binary files /dev/null and b/TestDirect/Debug/TestDirect.tlog/link.command.1.tlog differ
diff --git a/TestDirect/Debug/TestDirect.tlog/link.read.1.tlog b/TestDirect/Debug/TestDirect.tlog/link.read.1.tlog
new file mode 100644
index 0000000..a3a9442
Binary files /dev/null and b/TestDirect/Debug/TestDirect.tlog/link.read.1.tlog differ
diff --git a/TestDirect/Debug/TestDirect.tlog/link.write.1.tlog b/TestDirect/Debug/TestDirect.tlog/link.write.1.tlog
new file mode 100644
index 0000000..4112081
Binary files /dev/null and b/TestDirect/Debug/TestDirect.tlog/link.write.1.tlog differ
diff --git a/TestDirect/Debug/pch.obj b/TestDirect/Debug/pch.obj
new file mode 100644
index 0000000..e903164
Binary files /dev/null and b/TestDirect/Debug/pch.obj differ
diff --git a/TestDirect/Debug/vc141.idb b/TestDirect/Debug/vc141.idb
new file mode 100644
index 0000000..83b2245
Binary files /dev/null and b/TestDirect/Debug/vc141.idb differ
diff --git a/TestDirect/Debug/vc141.pdb b/TestDirect/Debug/vc141.pdb
new file mode 100644
index 0000000..4a0c759
Binary files /dev/null and b/TestDirect/Debug/vc141.pdb differ
diff --git a/TestDirect/TestDirect.vcxproj.user b/TestDirect/TestDirect.vcxproj.user
new file mode 100644
index 0000000..6e2aec7
--- /dev/null
+++ b/TestDirect/TestDirect.vcxproj.user
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.log b/TestDirect/x64/Debug/TestDirect.log
new file mode 100644
index 0000000..69a0742
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.log
@@ -0,0 +1,7 @@
+ pch.cpp
+ TestDirect.cpp
+c:\l\src\cs\edos\testdirect\testdirect.cpp(18): warning C4244: 'argument': conversion from 'DWORD' to 'WORD', possible loss of data
+TestDirect.obj : error LNK2019: unresolved external symbol __imp_InitComms referenced in function main
+TestDirect.obj : error LNK2019: unresolved external symbol __imp_SetAutoCommit referenced in function main
+dll2\Reader2.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
+C:\l\src\cs\eDos\x64\Debug\TestDirect.exe : fatal error LNK1120: 2 unresolved externals
diff --git a/TestDirect/x64/Debug/TestDirect.obj b/TestDirect/x64/Debug/TestDirect.obj
new file mode 100644
index 0000000..45ff3e8
Binary files /dev/null and b/TestDirect/x64/Debug/TestDirect.obj differ
diff --git a/TestDirect/x64/Debug/TestDirect.pch b/TestDirect/x64/Debug/TestDirect.pch
new file mode 100644
index 0000000..8d62870
Binary files /dev/null and b/TestDirect/x64/Debug/TestDirect.pch differ
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/CL.command.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..35f3382
Binary files /dev/null and b/TestDirect/x64/Debug/TestDirect.tlog/CL.command.1.tlog differ
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/CL.read.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..e288c37
Binary files /dev/null and b/TestDirect/x64/Debug/TestDirect.tlog/CL.read.1.tlog differ
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/CL.write.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..af12ab5
Binary files /dev/null and b/TestDirect/x64/Debug/TestDirect.tlog/CL.write.1.tlog differ
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/TestDirect.lastbuildstate b/TestDirect/x64/Debug/TestDirect.tlog/TestDirect.lastbuildstate
new file mode 100644
index 0000000..41236eb
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/TestDirect.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|x64|C:\l\src\cs\eDos\|
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link-cvtres.read.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link-cvtres.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link-cvtres.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link-cvtres.write.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link-cvtres.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link-cvtres.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link-rc.read.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link-rc.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link-rc.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link-rc.write.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link-rc.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link-rc.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link.command.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link.command.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link.command.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link.read.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/link.write.1.tlog b/TestDirect/x64/Debug/TestDirect.tlog/link.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestDirect/x64/Debug/TestDirect.tlog/link.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestDirect/x64/Debug/TestDirect.tlog/unsuccessfulbuild b/TestDirect/x64/Debug/TestDirect.tlog/unsuccessfulbuild
new file mode 100644
index 0000000..e69de29
diff --git a/TestDirect/x64/Debug/pch.obj b/TestDirect/x64/Debug/pch.obj
new file mode 100644
index 0000000..638785e
Binary files /dev/null and b/TestDirect/x64/Debug/pch.obj differ
diff --git a/TestDirect/x64/Debug/vc141.idb b/TestDirect/x64/Debug/vc141.idb
new file mode 100644
index 0000000..5f0a587
Binary files /dev/null and b/TestDirect/x64/Debug/vc141.idb differ
diff --git a/TestDirect/x64/Debug/vc141.pdb b/TestDirect/x64/Debug/vc141.pdb
new file mode 100644
index 0000000..49ed3d8
Binary files /dev/null and b/TestDirect/x64/Debug/vc141.pdb differ
diff --git a/TestEdosBase/Debug/TestEdosBase.log b/TestEdosBase/Debug/TestEdosBase.log
new file mode 100644
index 0000000..c10b1d5
--- /dev/null
+++ b/TestEdosBase/Debug/TestEdosBase.log
@@ -0,0 +1,7 @@
+ pch.cpp
+ TestEdosBase.cpp
+c:\l\src\cs\edos\epdbase\timefunctions.h(12): warning C4091: 'static ': ignored on left of 'TimeFunctions' when no variable is declared
+ EpdBase.lib(EpdBase.obj) : /DEBUG:FASTLINK is not supported when managed code is present; restarting link with /DEBUG:FULL
+ EpdBase.lib(EpdBase.obj) : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
+pch.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
+ TestEdosBase.vcxproj -> C:\l\src\cs\eDos\Debug\TestEdosBase.exe
diff --git a/TestEdosBase/Debug/TestEdosBase.obj b/TestEdosBase/Debug/TestEdosBase.obj
new file mode 100644
index 0000000..e66b812
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.obj differ
diff --git a/TestEdosBase/Debug/TestEdosBase.pch b/TestEdosBase/Debug/TestEdosBase.pch
new file mode 100644
index 0000000..d48eb03
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.pch differ
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/CL.command.1.tlog b/TestEdosBase/Debug/TestEdosBase.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..73c9262
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.tlog/CL.command.1.tlog differ
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/CL.read.1.tlog b/TestEdosBase/Debug/TestEdosBase.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..acfce9f
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.tlog/CL.read.1.tlog differ
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/CL.write.1.tlog b/TestEdosBase/Debug/TestEdosBase.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..9fc87ec
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.tlog/CL.write.1.tlog differ
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/TestEdosBase.lastbuildstate b/TestEdosBase/Debug/TestEdosBase.tlog/TestEdosBase.lastbuildstate
new file mode 100644
index 0000000..fad4694
--- /dev/null
+++ b/TestEdosBase/Debug/TestEdosBase.tlog/TestEdosBase.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|Win32|C:\l\src\cs\eDos\|
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/link.command.1.tlog b/TestEdosBase/Debug/TestEdosBase.tlog/link.command.1.tlog
new file mode 100644
index 0000000..abace6a
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.tlog/link.command.1.tlog differ
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/link.read.1.tlog b/TestEdosBase/Debug/TestEdosBase.tlog/link.read.1.tlog
new file mode 100644
index 0000000..642c15a
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.tlog/link.read.1.tlog differ
diff --git a/TestEdosBase/Debug/TestEdosBase.tlog/link.write.1.tlog b/TestEdosBase/Debug/TestEdosBase.tlog/link.write.1.tlog
new file mode 100644
index 0000000..b338521
Binary files /dev/null and b/TestEdosBase/Debug/TestEdosBase.tlog/link.write.1.tlog differ
diff --git a/TestEdosBase/Debug/pch.obj b/TestEdosBase/Debug/pch.obj
new file mode 100644
index 0000000..66781e0
Binary files /dev/null and b/TestEdosBase/Debug/pch.obj differ
diff --git a/TestEdosBase/Debug/vc141.idb b/TestEdosBase/Debug/vc141.idb
new file mode 100644
index 0000000..830c6ae
Binary files /dev/null and b/TestEdosBase/Debug/vc141.idb differ
diff --git a/TestEdosBase/Debug/vc141.pdb b/TestEdosBase/Debug/vc141.pdb
new file mode 100644
index 0000000..0d67a00
Binary files /dev/null and b/TestEdosBase/Debug/vc141.pdb differ
diff --git a/TestEdosBase/TestEdosBase.cpp b/TestEdosBase/TestEdosBase.cpp
index 4498249..b03d48e 100644
--- a/TestEdosBase/TestEdosBase.cpp
+++ b/TestEdosBase/TestEdosBase.cpp
@@ -9,7 +9,7 @@
int main()
{
std::cout << "Hello World!\n";
- EpdBase::Epd2U ep = EpdBase::Epd2U(1);
+ EpdBase::Epd2U ep = EpdBase::Epd2U(3);
ep.StartDiscover();
if (ep.DeviceCount > 0) {
diff --git a/TestEdosBase/TestEdosBase.vcxproj.user b/TestEdosBase/TestEdosBase.vcxproj.user
new file mode 100644
index 0000000..6e2aec7
--- /dev/null
+++ b/TestEdosBase/TestEdosBase.vcxproj.user
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.Build.CppClean.log b/TestEdosBase/x64/Debug/TestEdosBase.Build.CppClean.log
new file mode 100644
index 0000000..d21b688
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.Build.CppClean.log
@@ -0,0 +1,20 @@
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.pch
+c:\l\src\cs\edos\testedosbase\x64\debug\vc141.pdb
+c:\l\src\cs\edos\testedosbase\x64\debug\vc141.idb
+c:\l\src\cs\edos\testedosbase\x64\debug\pch.obj
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.obj
+c:\l\src\cs\edos\x64\debug\testedosbase.pdb
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\cl.command.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\cl.read.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\cl.write.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.5988-cvtres.read.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.5988-cvtres.write.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.5988-rc.read.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.5988-rc.write.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.5988.read.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.5988.write.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.read.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.11868.write.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.command.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.read.1.tlog
+c:\l\src\cs\edos\testedosbase\x64\debug\testedosbase.tlog\link.write.1.tlog
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.log b/TestEdosBase/x64/Debug/TestEdosBase.log
new file mode 100644
index 0000000..55789d0
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.log
@@ -0,0 +1,48 @@
+ pch.cpp
+ TestEdosBase.cpp
+c:\l\src\cs\edos\epdbase\timefunctions.h(12): warning C4091: 'static ': ignored on left of 'TimeFunctions' when no variable is declared
+ EpdBase.lib(EpdBase.obj) : /DEBUG:FASTLINK is not supported when managed code is present; restarting link with /DEBUG:FULL
+ EpdBase.lib(EpdBase.obj) : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
+pch.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00003C) "extern "C" unsigned short __cdecl ReadCalibrationData(unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadCalibrationData@@$$J0YAGQEAG000000000@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadTresHolds(void)" (?ReadTresHolds@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00003D) "extern "C" unsigned short __cdecl ReadAlarmRateThresholds(unsigned long * const,unsigned long * const,unsigned long * const,unsigned long * const,unsigned long * const,unsigned long * const)" (?ReadAlarmRateThresholds@@$$J0YAGQEAK00000@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadTresHolds(void)" (?ReadTresHolds@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00003E) "extern "C" unsigned short __cdecl ReadAlarmDoseThresholds(unsigned long * const,unsigned long * const,unsigned long * const)" (?ReadAlarmDoseThresholds@@$$J0YAGQEAK00@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadTresHolds(void)" (?ReadTresHolds@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00003F) "extern "C" unsigned short __cdecl EndSession(unsigned short,unsigned short)" (?EndSession@@$$J0YAGGG@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::TurnOff(void)" (?TurnOff@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000040) "extern "C" unsigned short __cdecl EpdOff(void)" (?EpdOff@@$$J0YAGXZ) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::TurnOff(void)" (?TurnOff@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000041) "extern "C" unsigned short __cdecl ReadConfig(unsigned short * const,unsigned long * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadConfig@@$$J0YAGQEAGQEAK00000000000@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::EPDReadConfig(void)" (?EPDReadConfig@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000042) "extern "C" unsigned short __cdecl ReadWearer(unsigned char * const,unsigned short,unsigned char * const,unsigned short)" (?ReadWearer@@$$J0YAGQEAEG0G@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000044) "extern "C" unsigned short __cdecl Commit(void)" (?Commit@@$$J0YAGXZ) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000045) "extern "C" unsigned short __cdecl ReadEpdID(unsigned long * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadEpdID@@$$J0YAGQEAKQEAG11@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000046) "extern "C" unsigned short __cdecl ReadEpdStatus(unsigned long * const,unsigned long * const,unsigned short * const,unsigned long * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadEpdStatus@@$$J0YAGQEAK0QEAG011111@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000047) "extern "C" unsigned short __cdecl CloseDevice(void)" (?CloseDevice@@$$J0YAGXZ) referenced in function "public: void __cdecl EpdBase::Epd2U::Close(void)" (?Close@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000048) "extern "C" unsigned short __cdecl OpenDevice(unsigned short,unsigned long)" (?OpenDevice@@$$J0YAGGK@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::Open(unsigned long)" (?Open@Epd2U@EpdBase@@$$FQEAAXK@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000049) "extern "C" unsigned short __cdecl Connect(unsigned long)" (?Connect@@$$J0YAGK@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::Open(unsigned long)" (?Open@Epd2U@EpdBase@@$$FQEAAXK@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00004B) "extern "C" unsigned short __cdecl EpdOn(void)" (?EpdOn@@$$J0YAGXZ) referenced in function "public: void __cdecl EpdBase::Epd2U::StartDiscover(void)" (?StartDiscover@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00004C) "extern "C" unsigned short __cdecl Discover(unsigned short,unsigned long *,unsigned short,unsigned short * const)" (?Discover@@$$J0YAGGPEAKGQEAG@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::StartDiscover(void)" (?StartDiscover@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00004D) "extern "C" unsigned short __cdecl FlushDiscoveryCache(unsigned short)" (?FlushDiscoveryCache@@$$J0YAGG@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::StartDiscover(void)" (?StartDiscover@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00004E) "extern "C" unsigned short __cdecl DeinitComms(unsigned short)" (?DeinitComms@@$$J0YAGG@Z) referenced in function "public: __cdecl EpdBase::Epd2U::~Epd2U(void)" (??1Epd2U@EpdBase@@$$FQEAA@XZ)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A00004F) "extern "C" unsigned short __cdecl GetErrorDetails(unsigned short * const,unsigned short * const,unsigned short * const)" (?GetErrorDetails@@$$J0YAGQEAG00@Z) referenced in function "public: __cdecl EpdBase::Epd2U::Epd2U(int)" (??0Epd2U@EpdBase@@$$FQEAA@H@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000050) "extern "C" unsigned short __cdecl InitComms(unsigned short,unsigned long,unsigned short,unsigned short,unsigned short)" (?InitComms@@$$J0YAGGKGGG@Z) referenced in function "public: __cdecl EpdBase::Epd2U::Epd2U(int)" (??0Epd2U@EpdBase@@$$FQEAA@H@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2028: unresolved token (0A000051) "extern "C" unsigned short __cdecl SetAutoCommit(unsigned short)" (?SetAutoCommit@@$$J0YAGG@Z) referenced in function "public: __cdecl EpdBase::Epd2U::Epd2U(int)" (??0Epd2U@EpdBase@@$$FQEAA@H@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl SetAutoCommit(unsigned short)" (?SetAutoCommit@@$$J0YAGG@Z) referenced in function "public: __cdecl EpdBase::Epd2U::Epd2U(int)" (??0Epd2U@EpdBase@@$$FQEAA@H@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl InitComms(unsigned short,unsigned long,unsigned short,unsigned short,unsigned short)" (?InitComms@@$$J0YAGGKGGG@Z) referenced in function "public: __cdecl EpdBase::Epd2U::Epd2U(int)" (??0Epd2U@EpdBase@@$$FQEAA@H@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl GetErrorDetails(unsigned short * const,unsigned short * const,unsigned short * const)" (?GetErrorDetails@@$$J0YAGQEAG00@Z) referenced in function "public: __cdecl EpdBase::Epd2U::Epd2U(int)" (??0Epd2U@EpdBase@@$$FQEAA@H@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl DeinitComms(unsigned short)" (?DeinitComms@@$$J0YAGG@Z) referenced in function "public: __cdecl EpdBase::Epd2U::~Epd2U(void)" (??1Epd2U@EpdBase@@$$FQEAA@XZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl FlushDiscoveryCache(unsigned short)" (?FlushDiscoveryCache@@$$J0YAGG@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::StartDiscover(void)" (?StartDiscover@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl Discover(unsigned short,unsigned long *,unsigned short,unsigned short * const)" (?Discover@@$$J0YAGGPEAKGQEAG@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::StartDiscover(void)" (?StartDiscover@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl EpdOn(void)" (?EpdOn@@$$J0YAGXZ) referenced in function "public: void __cdecl EpdBase::Epd2U::StartDiscover(void)" (?StartDiscover@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl Connect(unsigned long)" (?Connect@@$$J0YAGK@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::Open(unsigned long)" (?Open@Epd2U@EpdBase@@$$FQEAAXK@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl OpenDevice(unsigned short,unsigned long)" (?OpenDevice@@$$J0YAGGK@Z) referenced in function "public: void __cdecl EpdBase::Epd2U::Open(unsigned long)" (?Open@Epd2U@EpdBase@@$$FQEAAXK@Z)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl CloseDevice(void)" (?CloseDevice@@$$J0YAGXZ) referenced in function "public: void __cdecl EpdBase::Epd2U::Close(void)" (?Close@Epd2U@EpdBase@@$$FQEAAXXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadEpdStatus(unsigned long * const,unsigned long * const,unsigned short * const,unsigned long * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadEpdStatus@@$$J0YAGQEAK0QEAG011111@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadEpdID(unsigned long * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadEpdID@@$$J0YAGQEAKQEAG11@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl Commit(void)" (?Commit@@$$J0YAGXZ) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadWearer(unsigned char * const,unsigned short,unsigned char * const,unsigned short)" (?ReadWearer@@$$J0YAGQEAEG0G@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadStatus(void)" (?ReadStatus@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadConfig(unsigned short * const,unsigned long * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadConfig@@$$J0YAGQEAGQEAK00000000000@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::EPDReadConfig(void)" (?EPDReadConfig@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl EpdOff(void)" (?EpdOff@@$$J0YAGXZ) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::TurnOff(void)" (?TurnOff@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl EndSession(unsigned short,unsigned short)" (?EndSession@@$$J0YAGGG@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::TurnOff(void)" (?TurnOff@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadAlarmDoseThresholds(unsigned long * const,unsigned long * const,unsigned long * const)" (?ReadAlarmDoseThresholds@@$$J0YAGQEAK00@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadTresHolds(void)" (?ReadTresHolds@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadAlarmRateThresholds(unsigned long * const,unsigned long * const,unsigned long * const,unsigned long * const,unsigned long * const,unsigned long * const)" (?ReadAlarmRateThresholds@@$$J0YAGQEAK00000@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadTresHolds(void)" (?ReadTresHolds@Epd2U@EpdBase@@$$FQEAAGXZ)
+EpdBase.lib(EpdBase.obj) : error LNK2019: unresolved external symbol "extern "C" unsigned short __cdecl ReadCalibrationData(unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const,unsigned short * const)" (?ReadCalibrationData@@$$J0YAGQEAG000000000@Z) referenced in function "public: unsigned short __cdecl EpdBase::Epd2U::ReadTresHolds(void)" (?ReadTresHolds@Epd2U@EpdBase@@$$FQEAAGXZ)
+dll2\Reader2.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
+C:\l\src\cs\eDos\x64\Debug\TestEdosBase.exe : fatal error LNK1120: 40 unresolved externals
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.obj b/TestEdosBase/x64/Debug/TestEdosBase.obj
new file mode 100644
index 0000000..ecc8f4a
Binary files /dev/null and b/TestEdosBase/x64/Debug/TestEdosBase.obj differ
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.pch b/TestEdosBase/x64/Debug/TestEdosBase.pch
new file mode 100644
index 0000000..7399211
Binary files /dev/null and b/TestEdosBase/x64/Debug/TestEdosBase.pch differ
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.command.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..f294602
Binary files /dev/null and b/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.command.1.tlog differ
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.read.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..8ba5aa6
Binary files /dev/null and b/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.read.1.tlog differ
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.write.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..808b143
Binary files /dev/null and b/TestEdosBase/x64/Debug/TestEdosBase.tlog/CL.write.1.tlog differ
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/TestEdosBase.lastbuildstate b/TestEdosBase/x64/Debug/TestEdosBase.tlog/TestEdosBase.lastbuildstate
new file mode 100644
index 0000000..41236eb
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/TestEdosBase.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|x64|C:\l\src\cs\eDos\|
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-cvtres.read.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-cvtres.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-cvtres.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-cvtres.write.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-cvtres.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-cvtres.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-rc.read.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-rc.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-rc.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-rc.write.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-rc.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316-rc.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316.read.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316.write.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.13316.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.read.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.write.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.396.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.command.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.command.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.command.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.read.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.read.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.read.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.write.1.tlog b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.write.1.tlog
new file mode 100644
index 0000000..46b134b
--- /dev/null
+++ b/TestEdosBase/x64/Debug/TestEdosBase.tlog/link.write.1.tlog
@@ -0,0 +1 @@
+ÿþ
\ No newline at end of file
diff --git a/TestEdosBase/x64/Debug/TestEdosBase.tlog/unsuccessfulbuild b/TestEdosBase/x64/Debug/TestEdosBase.tlog/unsuccessfulbuild
new file mode 100644
index 0000000..e69de29
diff --git a/TestEdosBase/x64/Debug/pch.obj b/TestEdosBase/x64/Debug/pch.obj
new file mode 100644
index 0000000..ffb9021
Binary files /dev/null and b/TestEdosBase/x64/Debug/pch.obj differ
diff --git a/TestEdosBase/x64/Debug/vc141.idb b/TestEdosBase/x64/Debug/vc141.idb
new file mode 100644
index 0000000..5466cb1
Binary files /dev/null and b/TestEdosBase/x64/Debug/vc141.idb differ
diff --git a/TestEdosBase/x64/Debug/vc141.pdb b/TestEdosBase/x64/Debug/vc141.pdb
new file mode 100644
index 0000000..7c59a60
Binary files /dev/null and b/TestEdosBase/x64/Debug/vc141.pdb differ
diff --git a/eDos.sln b/eDos.sln
index f7ecd87..d5e4700 100644
--- a/eDos.sln
+++ b/eDos.sln
@@ -1,51 +1,141 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28307.329
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EpdBase", "EpdBase\EpdBase.vcxproj", "{3114A047-7562-42FE-94DE-2418EF19AD9A}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestEdosBase", "TestEdosBase\TestEdosBase.vcxproj", "{7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestDirect", "TestDirect\TestDirect.vcxproj", "{3655B312-F7C2-4825-BD5F-E087F6AF2D90}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
- Release|x64 = Release|x64
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x64.ActiveCfg = Debug|x64
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x64.Build.0 = Debug|x64
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x86.ActiveCfg = Debug|Win32
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x86.Build.0 = Debug|Win32
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x64.ActiveCfg = Release|x64
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x64.Build.0 = Release|x64
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x86.ActiveCfg = Release|Win32
- {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x86.Build.0 = Release|Win32
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x64.ActiveCfg = Debug|x64
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x64.Build.0 = Debug|x64
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x86.ActiveCfg = Debug|Win32
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x86.Build.0 = Debug|Win32
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x64.ActiveCfg = Release|x64
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x64.Build.0 = Release|x64
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x86.ActiveCfg = Release|Win32
- {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x86.Build.0 = Release|Win32
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x64.ActiveCfg = Debug|x64
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x64.Build.0 = Debug|x64
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x86.ActiveCfg = Debug|Win32
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x86.Build.0 = Debug|Win32
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x64.ActiveCfg = Release|x64
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x64.Build.0 = Release|x64
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x86.ActiveCfg = Release|Win32
- {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x86.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {72198428-64BB-49B2-BC67-B588947AA1E1}
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.329
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EpdBase", "EpdBase\EpdBase.vcxproj", "{3114A047-7562-42FE-94DE-2418EF19AD9A}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestEdosBase", "TestEdosBase\TestEdosBase.vcxproj", "{7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestDirect", "TestDirect\TestDirect.vcxproj", "{3655B312-F7C2-4825-BD5F-E087F6AF2D90}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "eDosStationApp", "eDosStationApp\eDosStationApp.vcxproj", "{A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "eDosStation", "eDosStation\eDosStation.csproj", "{9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EpdBaseClr", "EpdBaseClr\EpdBaseClr.vcxproj", "{F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|ARM = Debug|ARM
+ Debug|ARM64 = Debug|ARM64
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|ARM = Release|ARM
+ Release|ARM64 = Release|ARM64
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|ARM.ActiveCfg = Debug|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|ARM64.ActiveCfg = Debug|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x64.ActiveCfg = Debug|x64
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x64.Build.0 = Debug|x64
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x86.ActiveCfg = Debug|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Debug|x86.Build.0 = Debug|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|Any CPU.ActiveCfg = Release|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|ARM.ActiveCfg = Release|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|ARM64.ActiveCfg = Release|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x64.ActiveCfg = Release|x64
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x64.Build.0 = Release|x64
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x86.ActiveCfg = Release|Win32
+ {3114A047-7562-42FE-94DE-2418EF19AD9A}.Release|x86.Build.0 = Release|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|ARM.ActiveCfg = Debug|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|ARM64.ActiveCfg = Debug|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x64.ActiveCfg = Debug|x64
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x64.Build.0 = Debug|x64
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x86.ActiveCfg = Debug|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Debug|x86.Build.0 = Debug|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|Any CPU.ActiveCfg = Release|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|ARM.ActiveCfg = Release|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|ARM64.ActiveCfg = Release|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x64.ActiveCfg = Release|x64
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x64.Build.0 = Release|x64
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x86.ActiveCfg = Release|Win32
+ {7B3DD1C5-D8D0-408C-A272-FF5E4A30DF24}.Release|x86.Build.0 = Release|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|ARM.ActiveCfg = Debug|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|ARM64.ActiveCfg = Debug|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x64.ActiveCfg = Debug|x64
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x64.Build.0 = Debug|x64
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x86.ActiveCfg = Debug|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Debug|x86.Build.0 = Debug|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|Any CPU.ActiveCfg = Release|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|ARM.ActiveCfg = Release|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|ARM64.ActiveCfg = Release|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x64.ActiveCfg = Release|x64
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x64.Build.0 = Release|x64
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x86.ActiveCfg = Release|Win32
+ {3655B312-F7C2-4825-BD5F-E087F6AF2D90}.Release|x86.Build.0 = Release|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|ARM.ActiveCfg = Debug|ARM
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|ARM.Build.0 = Debug|ARM
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|ARM.Deploy.0 = Debug|ARM
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|ARM64.ActiveCfg = Debug|ARM64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|ARM64.Build.0 = Debug|ARM64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|ARM64.Deploy.0 = Debug|ARM64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|x64.ActiveCfg = Debug|x64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|x64.Build.0 = Debug|x64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|x64.Deploy.0 = Debug|x64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|x86.ActiveCfg = Debug|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|x86.Build.0 = Debug|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Debug|x86.Deploy.0 = Debug|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|Any CPU.ActiveCfg = Release|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|ARM.ActiveCfg = Release|ARM
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|ARM.Build.0 = Release|ARM
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|ARM.Deploy.0 = Release|ARM
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|ARM64.ActiveCfg = Release|ARM64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|ARM64.Build.0 = Release|ARM64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|ARM64.Deploy.0 = Release|ARM64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|x64.ActiveCfg = Release|x64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|x64.Build.0 = Release|x64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|x64.Deploy.0 = Release|x64
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|x86.ActiveCfg = Release|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|x86.Build.0 = Release|Win32
+ {A9A6D31B-34F4-47E4-BD05-2294C9A7B4DC}.Release|x86.Deploy.0 = Release|Win32
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|ARM.Build.0 = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|x64.Build.0 = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Debug|x86.Build.0 = Debug|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|ARM.ActiveCfg = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|ARM.Build.0 = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|ARM64.Build.0 = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|x64.ActiveCfg = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|x64.Build.0 = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|x86.ActiveCfg = Release|Any CPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}.Release|x86.Build.0 = Release|Any CPU
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|ARM.ActiveCfg = Debug|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|ARM64.ActiveCfg = Debug|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|x64.ActiveCfg = Debug|x64
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|x64.Build.0 = Debug|x64
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|x86.ActiveCfg = Debug|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Debug|x86.Build.0 = Debug|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|Any CPU.ActiveCfg = Release|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|ARM.ActiveCfg = Release|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|ARM64.ActiveCfg = Release|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|x64.ActiveCfg = Release|x64
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|x64.Build.0 = Release|x64
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|x86.ActiveCfg = Release|Win32
+ {F1F47B79-9930-48B0-8DDE-56E2C4BED2A2}.Release|x86.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {72198428-64BB-49B2-BC67-B588947AA1E1}
+ EndGlobalSection
+EndGlobal
diff --git a/eDosStation/App.config b/eDosStation/App.config
new file mode 100644
index 0000000..5754728
--- /dev/null
+++ b/eDosStation/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/App.xaml b/eDosStation/App.xaml
new file mode 100644
index 0000000..8971e4e
--- /dev/null
+++ b/eDosStation/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/eDosStation/App.xaml.cs b/eDosStation/App.xaml.cs
new file mode 100644
index 0000000..9063fac
--- /dev/null
+++ b/eDosStation/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace eDosStation
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/eDosStation/EpdEntry.xaml b/eDosStation/EpdEntry.xaml
new file mode 100644
index 0000000..2bfe890
--- /dev/null
+++ b/eDosStation/EpdEntry.xaml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/EpdEntry.xaml.cs b/eDosStation/EpdEntry.xaml.cs
new file mode 100644
index 0000000..bc937c5
--- /dev/null
+++ b/eDosStation/EpdEntry.xaml.cs
@@ -0,0 +1,111 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+
+namespace eDosStation
+{
+ ///
+ /// Interaction logic for ShowEPDDose.xaml
+ ///
+ public partial class EpdEntry : Window
+ {
+ EpdBaseClr.Epd2 ep;
+ bool EpdFound = false;
+ DispatcherTimer dispatcherTimer;
+ int Search;
+
+ public EpdEntry()
+ {
+ InitializeComponent();
+ }
+
+
+
+ private void LoadDoses()
+ {
+ ep.GetStatus();
+
+ if (ep.Issued)
+ {
+ MessageBox.Show("EPD is currently issued\nPlease take an other","EDP",MessageBoxButton.OK,MessageBoxImage.Hand,MessageBoxResult.OK,MessageBoxOptions.ServiceNotification);
+ this.Close();
+ return;
+ }
+
+
+
+
+ }
+
+ private void Window_Loaded(object sender, RoutedEventArgs e)
+ {
+ ep = new EpdBaseClr.Epd2(3);
+ ep.Connect();
+ if (ep.DiscRV == 1 && ep.b.CurrentDeviceID > 0)
+ {
+ EpdFound = true;
+ statusEPD.Content = $"EPD: {ep.b.CurrentDeviceID}";
+ LoadDoses();
+ }
+ if (!EpdFound)
+ {
+ statusEPD.Content = $"EPD: Wait ";
+ Search = 100;
+ dispatcherTimer = new DispatcherTimer();
+ dispatcherTimer.Tick += DispatcherTimer_Tick;
+ dispatcherTimer.Interval = new TimeSpan(0, 0, 2);
+ dispatcherTimer.Start();
+ }
+
+ }
+
+ private void DispatcherTimer_Tick(object sender, EventArgs e)
+ {
+ dispatcherTimer.Stop();
+ ep.Connect();
+ if (ep.DiscRV == 1 && ep.b.CurrentDeviceID > 0)
+ {
+ EpdFound = true;
+ statusEPD.Content = $"EPD: {ep.b.CurrentDeviceID}";
+ LoadDoses();
+ }
+ if (!EpdFound)
+ { Search--;
+ if (Search > 0)
+ {
+ statusEPD.Content = $"Search {Search}";
+ dispatcherTimer.Start();
+ } else
+ {
+ statusEPD.Content = $"Search Timeout";
+ }
+
+ }
+
+ }
+
+ private void BIssue_Click(object sender, RoutedEventArgs e)
+ {
+ bIssue.IsEnabled = false;
+ ep.alarmHP07 = double.Parse(aHP07.Text);
+ ep.alarmHP10 = double.Parse(aHP10.Text);
+ ep.WearerID = wID.Text;
+ ep.WearerName = wName.Text;
+ ep.SetIssued();
+ this.Close();
+
+ }
+ }
+}
+
diff --git a/eDosStation/EpdExit.xaml b/eDosStation/EpdExit.xaml
new file mode 100644
index 0000000..1c9ca9e
--- /dev/null
+++ b/eDosStation/EpdExit.xaml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/EpdExit.xaml.cs b/eDosStation/EpdExit.xaml.cs
new file mode 100644
index 0000000..312c866
--- /dev/null
+++ b/eDosStation/EpdExit.xaml.cs
@@ -0,0 +1,103 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+
+namespace eDosStation
+{
+ ///
+ /// Interaction logic for ShowEPDDose.xaml
+ ///
+ public partial class EpdExit: Window
+ {
+ EpdBaseClr.Epd2 ep;
+ bool EpdFound = false;
+ DispatcherTimer dispatcherTimer;
+ int Search;
+
+ public EpdExit()
+ {
+ InitializeComponent();
+ }
+
+
+
+ private void LoadDoses()
+ {
+ ep.GetStatus();
+
+ if (!ep.Issued)
+ {
+ MessageBox.Show("This EPD is not issued","EDP",MessageBoxButton.OK,MessageBoxImage.Hand,MessageBoxResult.OK,MessageBoxOptions.ServiceNotification);
+ this.Close();
+ return;
+ }
+
+ isIssued.IsChecked = ep.Issued;
+ Wearer.Text = ep.WearerName;
+
+ ep.GetDoses();
+ HpDose07.Text = $"HP07: {ep.Hp07:0.00 µ Sv} ";
+ HpDose10.Text = $"Hp10: {ep.Hp10:0.00 µ Sv}";
+ ep.SetDeIssued();
+
+ }
+
+ private void Window_Loaded(object sender, RoutedEventArgs e)
+ {
+ ep = new EpdBaseClr.Epd2(3);
+ ep.Connect();
+ if (ep.DiscRV == 1 && ep.b.CurrentDeviceID > 0)
+ {
+ EpdFound = true;
+ statusEPD.Content = $"EPD: {ep.b.CurrentDeviceID}";
+ LoadDoses();
+ }
+ if (!EpdFound)
+ {
+ statusEPD.Content = $"EPD: Wait ";
+ Search = 100;
+ dispatcherTimer = new DispatcherTimer();
+ dispatcherTimer.Tick += DispatcherTimer_Tick;
+ dispatcherTimer.Interval = new TimeSpan(0, 0, 2);
+ dispatcherTimer.Start();
+ }
+
+ }
+
+ private void DispatcherTimer_Tick(object sender, EventArgs e)
+ {
+ dispatcherTimer.Stop();
+ ep.Connect();
+ if (ep.DiscRV == 1 && ep.b.CurrentDeviceID > 0)
+ {
+ EpdFound = true;
+ statusEPD.Content = $"EPD: {ep.b.CurrentDeviceID}";
+ LoadDoses();
+ }
+ if (!EpdFound)
+ { Search--;
+ if (Search > 0)
+ {
+ statusEPD.Content = $"Search {Search}";
+ dispatcherTimer.Start();
+ } else
+ {
+ statusEPD.Content = $"Search Timeout";
+ }
+
+ }
+
+ }
+ }
+}
diff --git a/eDosStation/IR_READER_MS_DLL.dll b/eDosStation/IR_READER_MS_DLL.dll
new file mode 100644
index 0000000..3edbef2
Binary files /dev/null and b/eDosStation/IR_READER_MS_DLL.dll differ
diff --git a/eDosStation/MainWindow.xaml b/eDosStation/MainWindow.xaml
new file mode 100644
index 0000000..8870db6
--- /dev/null
+++ b/eDosStation/MainWindow.xaml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/eDosStation/MainWindow.xaml.cs b/eDosStation/MainWindow.xaml.cs
new file mode 100644
index 0000000..e163b4b
--- /dev/null
+++ b/eDosStation/MainWindow.xaml.cs
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace eDosStation
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+
+ private void Button_Click(object sender, RoutedEventArgs e)
+ {
+ var w = new ShowEPDDose();
+ w.ShowDialog();
+ }
+
+ private void BEntry_Click(object sender, RoutedEventArgs e)
+ {
+ var w = new EpdEntry();
+ w.ShowDialog();
+
+ }
+
+ private void BExit_Click(object sender, RoutedEventArgs e)
+ {
+ var w = new EpdExit();
+ w.ShowDialog();
+
+ }
+ }
+}
diff --git a/eDosStation/Properties/AssemblyInfo.cs b/eDosStation/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..70af0cf
--- /dev/null
+++ b/eDosStation/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("eDosStation")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("eDosStation")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/eDosStation/Properties/Resources.Designer.cs b/eDosStation/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..0171334
--- /dev/null
+++ b/eDosStation/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace eDosStation.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("eDosStation.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/eDosStation/Properties/Resources.resx b/eDosStation/Properties/Resources.resx
new file mode 100644
index 0000000..ffecec8
--- /dev/null
+++ b/eDosStation/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/eDosStation/Properties/Settings.Designer.cs b/eDosStation/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..fa8f0ef
--- /dev/null
+++ b/eDosStation/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace eDosStation.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/eDosStation/Properties/Settings.settings b/eDosStation/Properties/Settings.settings
new file mode 100644
index 0000000..8f2fd95
--- /dev/null
+++ b/eDosStation/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/ShowEPDDose.xaml b/eDosStation/ShowEPDDose.xaml
new file mode 100644
index 0000000..61ecf38
--- /dev/null
+++ b/eDosStation/ShowEPDDose.xaml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/ShowEPDDose.xaml.cs b/eDosStation/ShowEPDDose.xaml.cs
new file mode 100644
index 0000000..21f1283
--- /dev/null
+++ b/eDosStation/ShowEPDDose.xaml.cs
@@ -0,0 +1,96 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+
+namespace eDosStation
+{
+ ///
+ /// Interaction logic for ShowEPDDose.xaml
+ ///
+ public partial class ShowEPDDose : Window
+ {
+ EpdBaseClr.Epd2 ep;
+ bool EpdFound = false;
+ DispatcherTimer dispatcherTimer;
+ int Search;
+
+ public ShowEPDDose()
+ {
+ InitializeComponent();
+ }
+
+
+
+ private void LoadDoses()
+ {
+ ep.GetStatus();
+ isIssued.IsChecked = ep.Issued;
+ Wearer.Text = ep.WearerName;
+
+ ep.GetDoses();
+ HpDose07.Text = $"HP07: {ep.Hp07:0.00 µ Sv} ";
+ HpDose10.Text = $"Hp10: {ep.Hp10:0.00 µ Sv}";
+
+
+
+ }
+
+ private void Window_Loaded(object sender, RoutedEventArgs e)
+ {
+ ep = new EpdBaseClr.Epd2(3);
+ ep.Connect();
+ if (ep.DiscRV == 1 && ep.b.CurrentDeviceID > 0)
+ {
+ EpdFound = true;
+ statusEPD.Content = $"EPD: {ep.b.CurrentDeviceID}";
+ LoadDoses();
+ }
+ if (!EpdFound)
+ {
+ statusEPD.Content = $"EPD: Wait ";
+ Search = 100;
+ dispatcherTimer = new DispatcherTimer();
+ dispatcherTimer.Tick += DispatcherTimer_Tick;
+ dispatcherTimer.Interval = new TimeSpan(0, 0, 2);
+ dispatcherTimer.Start();
+ }
+
+ }
+
+ private void DispatcherTimer_Tick(object sender, EventArgs e)
+ {
+ dispatcherTimer.Stop();
+ ep.Connect();
+ if (ep.DiscRV == 1 && ep.b.CurrentDeviceID > 0)
+ {
+ EpdFound = true;
+ statusEPD.Content = $"EPD: {ep.b.CurrentDeviceID}";
+ LoadDoses();
+ }
+ if (!EpdFound)
+ { Search--;
+ if (Search > 0)
+ {
+ statusEPD.Content = $"Search {Search}";
+ dispatcherTimer.Start();
+ } else
+ {
+ statusEPD.Content = $"Search Timeout";
+ }
+
+ }
+
+ }
+ }
+}
diff --git a/eDosStation/bin/Debug/EpdBaseClr.dll b/eDosStation/bin/Debug/EpdBaseClr.dll
new file mode 100644
index 0000000..8e7c627
Binary files /dev/null and b/eDosStation/bin/Debug/EpdBaseClr.dll differ
diff --git a/eDosStation/bin/Debug/EpdBaseClr.pdb b/eDosStation/bin/Debug/EpdBaseClr.pdb
new file mode 100644
index 0000000..f870f52
Binary files /dev/null and b/eDosStation/bin/Debug/EpdBaseClr.pdb differ
diff --git a/eDosStation/bin/Debug/IR_READER_MS_DLL.dll b/eDosStation/bin/Debug/IR_READER_MS_DLL.dll
new file mode 100644
index 0000000..3edbef2
Binary files /dev/null and b/eDosStation/bin/Debug/IR_READER_MS_DLL.dll differ
diff --git a/eDosStation/bin/Debug/eDosStation.exe b/eDosStation/bin/Debug/eDosStation.exe
new file mode 100644
index 0000000..e6649e6
Binary files /dev/null and b/eDosStation/bin/Debug/eDosStation.exe differ
diff --git a/eDosStation/bin/Debug/eDosStation.exe.config b/eDosStation/bin/Debug/eDosStation.exe.config
new file mode 100644
index 0000000..5754728
--- /dev/null
+++ b/eDosStation/bin/Debug/eDosStation.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/bin/Debug/eDosStation.pdb b/eDosStation/bin/Debug/eDosStation.pdb
new file mode 100644
index 0000000..ff16959
Binary files /dev/null and b/eDosStation/bin/Debug/eDosStation.pdb differ
diff --git a/eDosStation/eDosStation.csproj b/eDosStation/eDosStation.csproj
new file mode 100644
index 0000000..f1070bd
--- /dev/null
+++ b/eDosStation/eDosStation.csproj
@@ -0,0 +1,125 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {9B12FDB8-0FD9-4C1E-A904-6FC74C35D50F}
+ WinExe
+ eDosStation
+ eDosStation
+ v4.7.2
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ EpdExit.xaml
+
+
+ EpdEntry.xaml
+
+
+ ShowEPDDose.xaml
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+ MSBuild:Compile
+ Designer
+
+
+ Designer
+ MSBuild:Compile
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+ {f1f47b79-9930-48b0-8dde-56e2c4bed2a2}
+ EpdBaseClr
+
+
+
+
\ No newline at end of file
diff --git a/eDosStation/eDosStation.csproj.user b/eDosStation/eDosStation.csproj.user
new file mode 100644
index 0000000..7e13e72
--- /dev/null
+++ b/eDosStation/eDosStation.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ true
+
+
\ No newline at end of file
diff --git a/eDosStation/obj/Debug/App.g.cs b/eDosStation/obj/Debug/App.g.cs
new file mode 100644
index 0000000..02dbbdc
--- /dev/null
+++ b/eDosStation/obj/Debug/App.g.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A7F6389780F2A734A0903FB389F1FAEA1A05B7F3"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ eDosStation.App app = new eDosStation.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/App.g.i.cs b/eDosStation/obj/Debug/App.g.i.cs
new file mode 100644
index 0000000..02dbbdc
--- /dev/null
+++ b/eDosStation/obj/Debug/App.g.i.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A7F6389780F2A734A0903FB389F1FAEA1A05B7F3"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ eDosStation.App app = new eDosStation.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/eDosStation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..6a4c577
Binary files /dev/null and b/eDosStation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/eDosStation/obj/Debug/Entry - Copy.g.i.cs b/eDosStation/obj/Debug/Entry - Copy.g.i.cs
new file mode 100644
index 0000000..bec72d9
--- /dev/null
+++ b/eDosStation/obj/Debug/Entry - Copy.g.i.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\Entry - Copy.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77F92CA73F87E4800789A8C969839FBB6C9A0755"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// Entry
+ ///
+ public partial class Entry : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\Entry - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\Entry - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\Entry - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\Entry - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\Entry - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/entry%20-%20copy.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\Entry - Copy.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\Entry - Copy.xaml"
+ ((eDosStation.Entry)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/Entry.g.i.cs b/eDosStation/obj/Debug/Entry.g.i.cs
new file mode 100644
index 0000000..db873fb
--- /dev/null
+++ b/eDosStation/obj/Debug/Entry.g.i.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\Entry.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77F92CA73F87E4800789A8C969839FBB6C9A0755"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// Entry
+ ///
+ public partial class Entry : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\Entry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\Entry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\Entry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\Entry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\Entry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/entry.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\Entry.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\Entry.xaml"
+ ((eDosStation.Entry)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/EpdEntry.baml b/eDosStation/obj/Debug/EpdEntry.baml
new file mode 100644
index 0000000..dc2a8d3
Binary files /dev/null and b/eDosStation/obj/Debug/EpdEntry.baml differ
diff --git a/eDosStation/obj/Debug/EpdEntry.g.cs b/eDosStation/obj/Debug/EpdEntry.g.cs
new file mode 100644
index 0000000..d23e068
--- /dev/null
+++ b/eDosStation/obj/Debug/EpdEntry.g.cs
@@ -0,0 +1,158 @@
+#pragma checksum "..\..\EpdEntry.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6E2B97E0EF7B7BE9CFAF3334B27D6DECDE52F020"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// EpdEntry
+ ///
+ public partial class EpdEntry : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox wID;
+
+ #line default
+ #line hidden
+
+
+ #line 34 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox wName;
+
+ #line default
+ #line hidden
+
+
+ #line 37 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox aHP07;
+
+ #line default
+ #line hidden
+
+
+ #line 40 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox aHP10;
+
+ #line default
+ #line hidden
+
+
+ #line 42 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button bIssue;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/epdentry.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\EpdEntry.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\EpdEntry.xaml"
+ ((eDosStation.EpdEntry)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.wID = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 4:
+ this.wName = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 5:
+ this.aHP07 = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 6:
+ this.aHP10 = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 7:
+ this.bIssue = ((System.Windows.Controls.Button)(target));
+
+ #line 42 "..\..\EpdEntry.xaml"
+ this.bIssue.Click += new System.Windows.RoutedEventHandler(this.BIssue_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/EpdEntry.g.i.cs b/eDosStation/obj/Debug/EpdEntry.g.i.cs
new file mode 100644
index 0000000..d23e068
--- /dev/null
+++ b/eDosStation/obj/Debug/EpdEntry.g.i.cs
@@ -0,0 +1,158 @@
+#pragma checksum "..\..\EpdEntry.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6E2B97E0EF7B7BE9CFAF3334B27D6DECDE52F020"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// EpdEntry
+ ///
+ public partial class EpdEntry : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox wID;
+
+ #line default
+ #line hidden
+
+
+ #line 34 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox wName;
+
+ #line default
+ #line hidden
+
+
+ #line 37 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox aHP07;
+
+ #line default
+ #line hidden
+
+
+ #line 40 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox aHP10;
+
+ #line default
+ #line hidden
+
+
+ #line 42 "..\..\EpdEntry.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button bIssue;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/epdentry.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\EpdEntry.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\EpdEntry.xaml"
+ ((eDosStation.EpdEntry)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.wID = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 4:
+ this.wName = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 5:
+ this.aHP07 = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 6:
+ this.aHP10 = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 7:
+ this.bIssue = ((System.Windows.Controls.Button)(target));
+
+ #line 42 "..\..\EpdEntry.xaml"
+ this.bIssue.Click += new System.Windows.RoutedEventHandler(this.BIssue_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/EpdExit.baml b/eDosStation/obj/Debug/EpdExit.baml
new file mode 100644
index 0000000..c97a05e
Binary files /dev/null and b/eDosStation/obj/Debug/EpdExit.baml differ
diff --git a/eDosStation/obj/Debug/EpdExit.g.cs b/eDosStation/obj/Debug/EpdExit.g.cs
new file mode 100644
index 0000000..0b1c5c6
--- /dev/null
+++ b/eDosStation/obj/Debug/EpdExit.g.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\EpdExit.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2333FD150FCDB26C92D2B79BD6CDADE3A982E891"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// EpdExit
+ ///
+ public partial class EpdExit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/epdexit.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\EpdExit.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\EpdExit.xaml"
+ ((eDosStation.EpdExit)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/EpdExit.g.i.cs b/eDosStation/obj/Debug/EpdExit.g.i.cs
new file mode 100644
index 0000000..0b1c5c6
--- /dev/null
+++ b/eDosStation/obj/Debug/EpdExit.g.i.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\EpdExit.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2333FD150FCDB26C92D2B79BD6CDADE3A982E891"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// EpdExit
+ ///
+ public partial class EpdExit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\EpdExit.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/epdexit.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\EpdExit.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\EpdExit.xaml"
+ ((eDosStation.EpdExit)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/MainWindow.baml b/eDosStation/obj/Debug/MainWindow.baml
new file mode 100644
index 0000000..e1a661b
Binary files /dev/null and b/eDosStation/obj/Debug/MainWindow.baml differ
diff --git a/eDosStation/obj/Debug/MainWindow.g.cs b/eDosStation/obj/Debug/MainWindow.g.cs
new file mode 100644
index 0000000..7e172f5
--- /dev/null
+++ b/eDosStation/obj/Debug/MainWindow.g.cs
@@ -0,0 +1,131 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "293C4A8609C4FC76487089EBBB89C05AFB13AE7A"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem Status;
+
+ #line default
+ #line hidden
+
+
+ #line 19 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button bEntry;
+
+ #line default
+ #line hidden
+
+
+ #line 20 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button bExit;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.Status = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 2:
+ this.bEntry = ((System.Windows.Controls.Button)(target));
+
+ #line 19 "..\..\MainWindow.xaml"
+ this.bEntry.Click += new System.Windows.RoutedEventHandler(this.BEntry_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+ this.bExit = ((System.Windows.Controls.Button)(target));
+
+ #line 20 "..\..\MainWindow.xaml"
+ this.bExit.Click += new System.Windows.RoutedEventHandler(this.BExit_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 4:
+
+ #line 21 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/MainWindow.g.i.cs b/eDosStation/obj/Debug/MainWindow.g.i.cs
new file mode 100644
index 0000000..7e172f5
--- /dev/null
+++ b/eDosStation/obj/Debug/MainWindow.g.i.cs
@@ -0,0 +1,131 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "293C4A8609C4FC76487089EBBB89C05AFB13AE7A"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem Status;
+
+ #line default
+ #line hidden
+
+
+ #line 19 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button bEntry;
+
+ #line default
+ #line hidden
+
+
+ #line 20 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button bExit;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.Status = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 2:
+ this.bEntry = ((System.Windows.Controls.Button)(target));
+
+ #line 19 "..\..\MainWindow.xaml"
+ this.bEntry.Click += new System.Windows.RoutedEventHandler(this.BEntry_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+ this.bExit = ((System.Windows.Controls.Button)(target));
+
+ #line 20 "..\..\MainWindow.xaml"
+ this.bExit.Click += new System.Windows.RoutedEventHandler(this.BExit_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 4:
+
+ #line 21 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/ShowEPDDose - Copy.g.i.cs b/eDosStation/obj/Debug/ShowEPDDose - Copy.g.i.cs
new file mode 100644
index 0000000..e5239ac
--- /dev/null
+++ b/eDosStation/obj/Debug/ShowEPDDose - Copy.g.i.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\ShowEPDDose - Copy.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9ACC572AF15638DDA2A96F347BB3131B882F143F"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// ShowEPDDose
+ ///
+ public partial class ShowEPDDose : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\ShowEPDDose - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\ShowEPDDose - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\ShowEPDDose - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\ShowEPDDose - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\ShowEPDDose - Copy.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/showepddose%20-%20copy.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\ShowEPDDose - Copy.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\ShowEPDDose - Copy.xaml"
+ ((eDosStation.ShowEPDDose)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/ShowEPDDose.baml b/eDosStation/obj/Debug/ShowEPDDose.baml
new file mode 100644
index 0000000..747178e
Binary files /dev/null and b/eDosStation/obj/Debug/ShowEPDDose.baml differ
diff --git a/eDosStation/obj/Debug/ShowEPDDose.g.cs b/eDosStation/obj/Debug/ShowEPDDose.g.cs
new file mode 100644
index 0000000..f508364
--- /dev/null
+++ b/eDosStation/obj/Debug/ShowEPDDose.g.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\ShowEPDDose.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9ACC572AF15638DDA2A96F347BB3131B882F143F"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// ShowEPDDose
+ ///
+ public partial class ShowEPDDose : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/showepddose.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\ShowEPDDose.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\ShowEPDDose.xaml"
+ ((eDosStation.ShowEPDDose)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/ShowEPDDose.g.i.cs b/eDosStation/obj/Debug/ShowEPDDose.g.i.cs
new file mode 100644
index 0000000..f508364
--- /dev/null
+++ b/eDosStation/obj/Debug/ShowEPDDose.g.i.cs
@@ -0,0 +1,141 @@
+#pragma checksum "..\..\ShowEPDDose.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9ACC572AF15638DDA2A96F347BB3131B882F143F"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using eDosStation;
+
+
+namespace eDosStation {
+
+
+ ///
+ /// ShowEPDDose
+ ///
+ public partial class ShowEPDDose : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 11 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Primitives.StatusBarItem statusEPD;
+
+ #line default
+ #line hidden
+
+
+ #line 27 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.CheckBox isIssued;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock Wearer;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose07;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\ShowEPDDose.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock HpDose10;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/eDosStation;component/showepddose.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\ShowEPDDose.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+
+ #line 8 "..\..\ShowEPDDose.xaml"
+ ((eDosStation.ShowEPDDose)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.statusEPD = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
+ return;
+ case 3:
+ this.isIssued = ((System.Windows.Controls.CheckBox)(target));
+ return;
+ case 4:
+ this.Wearer = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.HpDose07 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.HpDose10 = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/eDosStation/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/eDosStation/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/eDosStation/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/eDosStation/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/eDosStation/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/eDosStation/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/eDosStation/obj/Debug/eDosStation.Properties.Resources.resources b/eDosStation/obj/Debug/eDosStation.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/eDosStation/obj/Debug/eDosStation.Properties.Resources.resources differ
diff --git a/eDosStation/obj/Debug/eDosStation.csproj.CopyComplete b/eDosStation/obj/Debug/eDosStation.csproj.CopyComplete
new file mode 100644
index 0000000..e69de29
diff --git a/eDosStation/obj/Debug/eDosStation.csproj.CoreCompileInputs.cache b/eDosStation/obj/Debug/eDosStation.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..35b766d
--- /dev/null
+++ b/eDosStation/obj/Debug/eDosStation.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+0d637810eb17e9867bcb529040c08e7d8cda300a
diff --git a/eDosStation/obj/Debug/eDosStation.csproj.FileListAbsolute.txt b/eDosStation/obj/Debug/eDosStation.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..447a334
--- /dev/null
+++ b/eDosStation/obj/Debug/eDosStation.csproj.FileListAbsolute.txt
@@ -0,0 +1,24 @@
+C:\l\src\cs\eDos\eDosStation\bin\Debug\eDosStation.exe.config
+C:\l\src\cs\eDos\eDosStation\bin\Debug\eDosStation.exe
+C:\l\src\cs\eDos\eDosStation\bin\Debug\eDosStation.pdb
+C:\l\src\cs\eDos\eDosStation\bin\Debug\EpdBaseClr.dll
+C:\l\src\cs\eDos\eDosStation\bin\Debug\EpdBaseClr.pdb
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.csprojAssemblyReference.cache
+C:\l\src\cs\eDos\eDosStation\obj\Debug\MainWindow.g.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\ShowEPDDose.g.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\App.g.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation_MarkupCompile.cache
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation_MarkupCompile.lref
+C:\l\src\cs\eDos\eDosStation\obj\Debug\MainWindow.baml
+C:\l\src\cs\eDos\eDosStation\obj\Debug\ShowEPDDose.baml
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.g.resources
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.Properties.Resources.resources
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.csproj.GenerateResource.cache
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.csproj.CoreCompileInputs.cache
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.csproj.CopyComplete
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.exe
+C:\l\src\cs\eDos\eDosStation\obj\Debug\eDosStation.pdb
+C:\l\src\cs\eDos\eDosStation\obj\Debug\EpdExit.g.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\EpdEntry.g.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\EpdExit.baml
+C:\l\src\cs\eDos\eDosStation\obj\Debug\EpdEntry.baml
diff --git a/eDosStation/obj/Debug/eDosStation.csproj.GenerateResource.cache b/eDosStation/obj/Debug/eDosStation.csproj.GenerateResource.cache
new file mode 100644
index 0000000..bc48c7d
Binary files /dev/null and b/eDosStation/obj/Debug/eDosStation.csproj.GenerateResource.cache differ
diff --git a/eDosStation/obj/Debug/eDosStation.csprojAssemblyReference.cache b/eDosStation/obj/Debug/eDosStation.csprojAssemblyReference.cache
new file mode 100644
index 0000000..7ff8a67
Binary files /dev/null and b/eDosStation/obj/Debug/eDosStation.csprojAssemblyReference.cache differ
diff --git a/eDosStation/obj/Debug/eDosStation.exe b/eDosStation/obj/Debug/eDosStation.exe
new file mode 100644
index 0000000..e6649e6
Binary files /dev/null and b/eDosStation/obj/Debug/eDosStation.exe differ
diff --git a/eDosStation/obj/Debug/eDosStation.g.resources b/eDosStation/obj/Debug/eDosStation.g.resources
new file mode 100644
index 0000000..b53538e
Binary files /dev/null and b/eDosStation/obj/Debug/eDosStation.g.resources differ
diff --git a/eDosStation/obj/Debug/eDosStation.pdb b/eDosStation/obj/Debug/eDosStation.pdb
new file mode 100644
index 0000000..ff16959
Binary files /dev/null and b/eDosStation/obj/Debug/eDosStation.pdb differ
diff --git a/eDosStation/obj/Debug/eDosStation_MarkupCompile.cache b/eDosStation/obj/Debug/eDosStation_MarkupCompile.cache
new file mode 100644
index 0000000..eae957c
--- /dev/null
+++ b/eDosStation/obj/Debug/eDosStation_MarkupCompile.cache
@@ -0,0 +1,20 @@
+eDosStation
+
+
+winexe
+C#
+.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\
+eDosStation
+none
+false
+DEBUG;TRACE
+C:\l\src\cs\eDos\eDosStation\App.xaml
+41411600614
+
+8972505444
+14-572982170
+EpdExit.xaml;MainWindow.xaml;EpdEntry.xaml;ShowEPDDose.xaml;
+
+False
+
diff --git a/eDosStation/obj/Debug/eDosStation_MarkupCompile.i.cache b/eDosStation/obj/Debug/eDosStation_MarkupCompile.i.cache
new file mode 100644
index 0000000..e27fcbe
--- /dev/null
+++ b/eDosStation/obj/Debug/eDosStation_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+eDosStation
+
+
+winexe
+C#
+.cs
+C:\l\src\cs\eDos\eDosStation\obj\Debug\
+eDosStation
+none
+false
+DEBUG;TRACE
+C:\l\src\cs\eDos\eDosStation\App.xaml
+41411600614
+
+12-91017941
+14-572982170
+EpdExit.xaml;MainWindow.xaml;EpdEntry.xaml;ShowEPDDose.xaml;
+
+True
+
diff --git a/eDosStation/obj/Debug/eDosStation_MarkupCompile.i.lref b/eDosStation/obj/Debug/eDosStation_MarkupCompile.i.lref
new file mode 100644
index 0000000..897672f
--- /dev/null
+++ b/eDosStation/obj/Debug/eDosStation_MarkupCompile.i.lref
@@ -0,0 +1,7 @@
+
+
+FC:\l\src\cs\eDos\eDosStation\EpdExit.xaml;;
+FC:\l\src\cs\eDos\eDosStation\MainWindow.xaml;;
+FC:\l\src\cs\eDos\eDosStation\EpdEntry.xaml;;
+FC:\l\src\cs\eDos\eDosStation\ShowEPDDose.xaml;;
+
diff --git a/eDosStation/obj/Debug/eDosStation_MarkupCompile.lref b/eDosStation/obj/Debug/eDosStation_MarkupCompile.lref
new file mode 100644
index 0000000..897672f
--- /dev/null
+++ b/eDosStation/obj/Debug/eDosStation_MarkupCompile.lref
@@ -0,0 +1,7 @@
+
+
+FC:\l\src\cs\eDos\eDosStation\EpdExit.xaml;;
+FC:\l\src\cs\eDos\eDosStation\MainWindow.xaml;;
+FC:\l\src\cs\eDos\eDosStation\EpdEntry.xaml;;
+FC:\l\src\cs\eDos\eDosStation\ShowEPDDose.xaml;;
+
diff --git a/eDosStationApp/App.xaml b/eDosStationApp/App.xaml
new file mode 100644
index 0000000..cb2ed56
--- /dev/null
+++ b/eDosStationApp/App.xaml
@@ -0,0 +1,7 @@
+
+
+
diff --git a/eDosStationApp/App.xaml.cpp b/eDosStationApp/App.xaml.cpp
new file mode 100644
index 0000000..081eb83
--- /dev/null
+++ b/eDosStationApp/App.xaml.cpp
@@ -0,0 +1,136 @@
+//
+// App.xaml.cpp
+// Implementation of the App class.
+//
+
+#include "pch.h"
+#include "DirectXPage.xaml.h"
+
+using namespace eDosStationApp;
+
+using namespace Platform;
+using namespace Windows::ApplicationModel;
+using namespace Windows::ApplicationModel::Activation;
+using namespace Windows::Foundation;
+using namespace Windows::Foundation::Collections;
+using namespace Windows::Storage;
+using namespace Windows::UI::Xaml;
+using namespace Windows::UI::Xaml::Controls;
+using namespace Windows::UI::Xaml::Controls::Primitives;
+using namespace Windows::UI::Xaml::Data;
+using namespace Windows::UI::Xaml::Input;
+using namespace Windows::UI::Xaml::Interop;
+using namespace Windows::UI::Xaml::Media;
+using namespace Windows::UI::Xaml::Navigation;
+///
+/// Initializes the singleton application object. This is the first line of authored code
+/// executed, and as such is the logical equivalent of main() or WinMain().
+///
+App::App()
+{
+ InitializeComponent();
+ Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending);
+ Resuming += ref new EventHandler