extra log options

This commit is contained in:
luc 2026-10-14 12:44:18 +02:00
parent a6cbc1ea03
commit 144bccf896
30 changed files with 3571 additions and 761 deletions

View file

@ -23,12 +23,14 @@ void EpdBase::Epd2U::test()
EpdBase::Epd2U::Epd2U(int comport)
{
port = comport;
CommsInitialized = 0;
isBG = isNG = VersionOK = hasAlarm = false;
maxDiscoverTime = 10000;
hWaitTimer = CreateWaitableTimer(NULL, TRUE, NULL);
hCancel = CreateWaitableTimer(NULL, TRUE, NULL);
if (port == 0) return;
SetAutoCommit(0);
Error = 123;
@ -53,6 +55,7 @@ WORD EpdBase::Epd2U::WriteConfig()
DWORD EpdBase::Epd2U::StartCom()
{
DWORD rv;
ResetEvent(hCancel);
ErrorReason = 0;
ErrorSource = 0;
int mx = 10;
@ -93,6 +96,10 @@ void EpdBase::Epd2U::EndCom()
EpdBase::Epd2U::~Epd2U()
{
EndCom();
if (logFile.is_open()) {
logFile << "--- DLL Shutting down ---\n";
logFile.close();
}
}
bool EpdBase::Epd2U::isCancelled()
@ -101,7 +108,7 @@ bool EpdBase::Epd2U::isCancelled()
}
int EpdBase::Epd2U::StartDiscover( int EpdTimeoutms)
int EpdBase::Epd2U::StartDiscover( int EpdTimeoutms) //not used ?
{
ResetEvent(hCancel);
EPDStep = EpdSteps::StepDiscovering;
@ -162,6 +169,7 @@ int EpdBase::Epd2U::StartDiscover( int EpdTimeoutms)
int EpdBase::Epd2U::Open(DWORD DeviceID)
{
int rv = 0;
ResetEvent(hCancel);
CurrentDeviceID = DeviceID;
if (port > 0 && CommsInitialized==1) {
ConRV = Connect(DeviceID);
@ -549,15 +557,20 @@ WORD EpdBase::Epd2U::PrepareForIssue()
EPDStepResult = EpdStepResults::Started;
CommitRV = WriteConfig();
LogMessage("PrepareForIssue WriteConfig={}",CommitRV);
CommitRV = 0;
ClearAlarms();
Commit();
//if (CommitRV) CommitRV = Commit();
if (CommitRV) CommitRV = ClearDose();
LogMessage("PrepareForIssue ClearDose={}", CommitRV);
if (CommitRV) CommitRV = ClearTotalDose();
if (CommitRV) CommitRV = ClearPeakRates();
if (CommitRV) CommitRV = Commit();
LogMessage("PrepareForIssue LastCommit={}", CommitRV);
if (CommitRV) rv = 0; else rv = 1;
EPDStepResult = EpdStepResults::OK;
if (progressCallback) {
progressCallback(EPDStep, EPDStepResult);
@ -717,6 +730,7 @@ int EpdBase::Epd2U::IssueAndCheck(float gain)
if (isNG) {
int kx = (int)gain;
rv = ReadCal();
LogMessage("IssueAndCheck ReadCal={}",rv);
if (rv != 0 || K6 != 1310) { rv = 1; goto error; }
if (K3 != kx || K4 != kx)
{
@ -727,6 +741,7 @@ int EpdBase::Epd2U::IssueAndCheck(float gain)
}
rv = PrepareForIssue();
rv = Issue(true); // data already loaded
LogMessage("IssueAndCheck Issue={}", rv);
return rv;
error:
return rv;

View file

@ -1,6 +1,8 @@
#pragma once
#pragma unmanaged
#include <windows.h>
#include <fstream>
#include <format>
#include "reader2.h"
#include "../EpdBaseClr/EpdProgress.h"
@ -21,7 +23,7 @@ namespace EpdBase
bool hasFault = false;
public:
std::ofstream logFile;
WORD port = 3;
const WORD MaxDevices = 10;
@ -271,6 +273,20 @@ namespace EpdBase
typedef void (*ProgressCallback)(EpdSteps percentage, EpdStepResults result);
ProgressCallback progressCallback;
void test();
template<typename... Args>
void LogMessage(std::format_string<Args...> fmt, Args&&... args) {
if (logFile.is_open()) {
std::string msg = std::format(fmt, std::forward<Args>(args)...);
logFile << msg << "\n";
logFile.flush(); // Zorg dat het direct naar schijf wordt geschreven
}
// Optioneel ook naar Visual Studio Output window sturen:
std::string debugMsg = std::format(fmt, std::forward<Args>(args)...) + "\n";
OutputDebugStringA(debugMsg.c_str());
}
};
}

View file

@ -45,14 +45,14 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
@ -92,6 +92,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies />
@ -103,6 +104,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies />
@ -113,6 +115,7 @@
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies />
@ -123,6 +126,7 @@
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies />

View file

@ -241,6 +241,7 @@ int WINAPI Connect33(CommsHandle hComms, DiscoveryId epd, bool wait = false)
Epd3Base::Epd3U::Epd3U(int _comport)
{
port = _comport;
comPort[3] = 48 + _comport;
CommsInitialized = 0;
@ -312,13 +313,19 @@ Epd3Base::Epd3U::Epd3U(int _comport)
if (hCompletion == 0) hCompletion = CreateEvent(NULL, TRUE, FALSE, NULL);
if (hCancel == 0) hCancel = CreateEvent(NULL, TRUE, FALSE, NULL);
}
Epd3Base::Epd3U::~Epd3U()
{
EndCom(isConnected);
if (hCompletion != 0) { CloseHandle(hCompletion); hCompletion = 0; }
if (hCancel != 0) { CloseHandle(hCancel); hCancel = 0; }
if (logFile.is_open()) {
logFile << "--- DLL Shutting down ---\n";
logFile.close();
}
}
int Epd3Base::Epd3U::DisconnectAndConnect()
@ -492,21 +499,26 @@ int Epd3Base::Epd3U::StartDiscover(int tokentimeout)
Dll3RV = WaitForMultipleObjects(2, handles, false , tokentimeout);
if (Dll3RV == WAIT_OBJECT_0) {
DiscoverError = DiscoverErrorNone;
LogMessage("Discovery completed successfully Epd{}.", Epd.Id);
rv = 1; //ok was set
}
else if (Dll3RV == WAIT_OBJECT_0+1) {
DiscoverError = DiscoverErrorCancel;
LogMessage("Discovery cancel");
rv = 1; //cancel
rv2 = StopDiscovery(epdComsHandle);
}
else if (Dll3RV == WAIT_TIMEOUT) {
rv = 1;
ConnectTimerFired = 1;
LogMessage("Discovery timeout");
DiscoverError = DiscoverErrorTimeout;
rv2 = StopDiscovery(epdComsHandle);
}
else {
LogMessage("Discovery failed with error {}.", Dll3RV);
rv = 2;
DiscoverError = DiscoverErrorOther;
rv2 = StopDiscovery(epdComsHandle);
}
@ -514,8 +526,8 @@ int Epd3Base::Epd3U::StartDiscover(int tokentimeout)
if (DiscoverError == DiscoverErrorNone && DeviceCount > 0 && Epd.Id >0) {
if (isMK3)
Dll3RV = SetResponseTimeout(epdComsHandle, static_cast<uint32_t>(ResponseTimeout * 1.5)); //initial
Dll3RV = Connect33(epdComsHandle, Epd, true);
if (Dll3RV != 0) {
DiscoverError = DiscoverErrorConnecting;

View file

@ -3,6 +3,8 @@
#pragma unmanaged
#include <windows.h>
#include <fstream> // Nodig voor std::ofstream
//#include <msclr/marshal_cppstd.h> // Nodig voor conversie naar managed strings indien nodig
#pragma unmanaged
#include <chrono>
@ -111,6 +113,8 @@ namespace Epd3Base {
class Epd3U
{
public:
const char* LogFileName;
std::ofstream logFile;
char comPort[5] = { "COM4" };
CommsHandle epdComsHandle;
//uint32_t CurrentDeviceID;
@ -521,7 +525,18 @@ namespace Epd3Base {
ProgressCallback progressCallback;
void test();
template<typename... Args>
void LogMessage(std::format_string<Args...> fmt, Args&&... args) {
if (logFile.is_open()) {
std::string msg = std::format(fmt, std::forward<Args>(args)...);
logFile << msg << "\n";
logFile.flush(); // Zorg dat het direct naar schijf wordt geschreven
}
};
// Optioneel ook naar Visual Studio Output window sturen:
std::string debugMsg = std::format(fmt, std::forward<Args>(args)...) + "\n";
OutputDebugStringA(debugMsg.c_str());
}
};
}

View file

@ -2,7 +2,9 @@
#include "EpdBaseClr.h"
#pragma managed
#include "../EpdBase3/Epd3Base.h" // or "Epd3Base.h" if on include path
#include <filesystem>
#include <fstream>
#include <msclr/marshal_cppstd.h>
typedef void (*ProgressCallback)(int percentage, const char* message);
void EpdBaseClr::Epd2::OnCancelRequested()
@ -26,6 +28,65 @@ int EpdBaseClr::Epd2::SetEndNotifyAlarm(UInt16 NotifyAlarm, UINT16 NotifyAlarmDu
return 0;
}
//#include <filesystem>
//#include <fstream>
//#include <msclr/marshal_cppstd.h> // Required for String^ to std::string conversion
int EpdBaseClr::Epd2::SetDebugLog(System::String^ path)
{
namespace fs = std::filesystem;
// Convert managed System::String^ to standard std::string
std::string nativePath;
if (!System::String::IsNullOrEmpty(path)) {
nativePath = msclr::interop::marshal_as<std::string>(path);
}
bool hasPath = !nativePath.empty();
fs::path logDir = nativePath;
// Main logFile
if (hasPath) {
if (logFile) {
delete logFile;
}
logFile = new std::ofstream(logDir / "epdclr.log", std::ios::out | std::ios::app);
LogMessage("Epd2 log open");
}
else {
if (logFile) {
delete logFile;
logFile = nullptr;
}
}
// epd3 log file
if (epd3) {
if (hasPath) {
epd3->logFile.open(logDir / "epdbase3.log", std::ios::out | std::ios::app);
}
else if (epd3->logFile.is_open()) {
epd3->logFile.close();
}
}
// epd2 log file
if (epd) {
if (hasPath) {
epd->logFile.open(logDir / "epdbase.log", std::ios::out | std::ios::app);
}
else if (epd->logFile.is_open()) {
epd->logFile.close();
}
}
return 0;
}
/// <summary>
///
/// </summary>
@ -99,7 +160,6 @@ int EpdBaseClr::Epd2::GetSteps()
}
return nsteps;
}
int EpdBaseClr::Epd2::GetErrors()
{
if (epd3->errorm009 > 0 || epd3->errorm007 > 0 || epd3->errorm102 > 0 || epd3->errorm202 > 0 || epd3->error_other > 0) {
@ -114,7 +174,6 @@ int EpdBaseClr::Epd2::GetErrors()
return 1;
}
void EpdBaseClr::Epd2::OnProgress(EpdSteps step, EpdStepResults result)
{
// Handle the progress info here (e.g., print or log it)
@ -124,10 +183,8 @@ void EpdBaseClr::Epd2::OnProgress(EpdSteps step, EpdStepResults result)
Sleep(100);
}
}
EpdBaseClr::Epd2::Epd2(int port, bool OnlyMK2)
{
//HANDLE hMod = LoadLibrary(L"Reader2.dll");
EpdID = 0;
isMK3 = EPDIssued = isBG = 0;
onlyMK2 = OnlyMK2;
@ -173,6 +230,13 @@ EpdBaseClr::Epd2::~Epd2()
epd3 = nullptr;
}
this->!Epd2();
if (logFile) {
if (logFile->is_open()) {
logFile->close();
}
delete logFile;
logFile = nullptr;
}
}
EpdBaseClr::Epd2::!Epd2()
@ -338,8 +402,8 @@ int EpdBaseClr::Epd2::AfterGetStatus(EpdBase::Epd2U *epd)
eDoshasAlarm = epd->hasAlarm;
eDosHasFault = epd->hasFault;
EpdID = epd->EpdID;
EpdID = epd3->Epd.Id;
//EpdID = epd->EpdID;
//EpdID = epd3->Epd.Id; no!
HardVersion = epd->HardVersion / 100;
HardVersionMinor = epd->HardVersion % 100;
SoftVersion = epd->SoftVersion;
@ -965,14 +1029,18 @@ int EpdBaseClr::Epd2::IssueAndCheck(float gain, float ChirpRate, bool WriteConfi
{
int rv = 0;
if (!isMK3) {
LogMessage("IssueAndCheck: !isMK3 BeforeSetIssued");
BeforeSetIssued(epd);
rv = epd->IssueAndCheck(gain);
LogMessage("IssueAndCheck: !isMK3 rv={}",rv);
}
else {
LogMessage("IssueAndCheck: isMK3 BeforeSetIssued");
epd3->WriteConfig32 = WriteConfig;
BeforeSetIssued(epd3); //geen interactie met epd
rv = epd3->IssueAndCheck(gain, ChirpRate); // set step,error
EPDIssued = epd3->EPDIssued;
LogMessage("IssueAndCheck: isMK3 rv={}", rv);
}
return rv;
}
@ -984,15 +1052,27 @@ int EpdBaseClr::Epd2::SwitchCon()
if (epd) epd->EndCom();
Sleep(500);
rv=epd3->StartCom();
LogMessage("SwitchCon: StartCom returned {}" , rv);
}
}
else {
int i = 0;
if (epd->CommsInitialized == 0) {
if (epd3) epd3->EndCom(epd3->isConnected);
if (epd3)
epd3->EndCom(epd3->isConnected);
Sleep(500);
rv = epd->StartCom(); //0=ok
LogMessage("SwitchCon: StartCom returned {}", rv);
if (!rv) rv = epd->Open(EpdID);
LogMessage("SwitchCon: Open returned {}", rv);
if (!rv) rv = epd->ReadStatus();
LogMessage("SwitchCon: ReadStatus returned {}", rv);
}
}
return rv;
@ -1056,6 +1136,7 @@ int EpdBaseClr::Epd2::ConnectAndStatus()
else
{
rv = epd3->ConnectAndStatus(tokenSourceTimeout);
ErrorStep = (int)epd3->EPDStep;
ErrorRV = (int)epd3->Error;
switch (epd3->DiscoverError) {
@ -1074,13 +1155,17 @@ int EpdBaseClr::Epd2::ConnectAndStatus()
ErrorEPD = EpdErrorCodes::EpdErrorConnecting;
break;
}
LogMessage("ConnectAndStatus: rv {} ErrorEPD {}", rv, (int)ErrorEPD);
}
}
catch (System::Exception^ e) {
std::string errorMsg = msclr::interop::marshal_as<std::string>(e->Message);
LogMessage("ConnectAndStatus: Exception occurred {}", errorMsg);
}
finally
{
}
if (rv==0) {
if (onlyMK2) {
DeviceCount = epd->DeviceCount;
@ -1093,15 +1178,17 @@ int EpdBaseClr::Epd2::ConnectAndStatus()
else {
DeviceCount = epd3->DeviceCount;
EpdID = epd3->Epd.Id;
epd->EpdID = EpdID;
isMK3 = epd3->isMK3;
isBG = epd3->isBG;
isNG = epd3->isNG;
epd->EpdID = epd3->Epd.Id;
}
if (isMK3) {
AfterGetStatus(epd3);
}
else {
if (!onlyMK2) rv = SwitchCon();
else rv= epd->ReadStatus();
AfterGetStatus(epd);
@ -1127,6 +1214,7 @@ int EpdBaseClr::Epd2::ConnectAndStatus()
error:
ErrorStep = step;
ErrorRV = rv;
LogMessage("ConnectAndStatus: Error occurred step {} rv {} ErrorEPD {}", step, rv, (int)ErrorEPD);
return rv;
}

View file

@ -216,6 +216,7 @@ namespace EpdBaseClr {
//bool hasAlarm = false;
public:
std::ofstream* logFile;
bool onlyMK2;
EpdBase::Epd2U *epd;
Epd3Base::Epd3U* epd3;
@ -427,6 +428,11 @@ namespace EpdBaseClr {
bool HasStepError();
int SetEndNotifyAlarm(UInt16 NotifyAlarm, UINT16 NotifyAlarmDuration);
int SetDebugLog(String^ path);
int OtherParam(int ResponseTimeout, int DiscoveryCacheTimeout,int ReconnectRetries, int SleepAfterClear, int SleepBeforeReconnect, int SleepAfterDisconnect, Boolean DoDisconnectAfterClear, Boolean DoDisconnectBeforeReconnect, Boolean DoProtectSession, Boolean DoUserprofile);
int SetReleaseLogging(bool doLog);
@ -441,6 +447,29 @@ namespace EpdBaseClr {
void WaitEpd();
//int PrepareForIssue();
template<typename... Args>
void LogMessage(std::format_string<Args...> fmt, Args&&... args) {
if (logFile && logFile->is_open()) {
std::string msg = std::format(fmt, std::forward<Args>(args)...);
*logFile << msg << "\n";
logFile->flush();
}
std::string debugMsg = std::format(fmt, std::forward<Args>(args)...) + "\n";
OutputDebugStringA(debugMsg.c_str());
}
//// Extra handig voor C# callers die een System::String^ doorgeven:
//void LogManagedMessage(System::String^ managedMessage) {
// // Converteer System::String^ naar std::string
// std::string nativeMsg = msclr::interop::marshal_as<std::string>(managedMessage);
// if (logFile && logFile->is_open()) {
// *logFile << nativeMsg << "\n";
// logFile->flush();
// }
// OutputDebugStringA((nativeMsg + "\n").c_str());
//}
};
}

View file

@ -2,12 +2,12 @@
// C++ / Win32 resource editor vereist getallen met komma's
#define VERSION_MAJOR 4
#define VERSION_MINOR 1
#define VERSION_MINOR 2
#define VERSION_BUILD 0
#define VERSION_REVISION 0
// Strings voor de tekstuele weergave
#define VERSION_STRING "4.1.0.0"
#define VERSION_STRING "4.2.0.0"
#define COPYRIGHT_STRING "Copyright (c) 2019-2026 LSW-Tech Luc Vandenbroucke"
#define COMPANY_STRING "LSW-Tech"
#define PRODUCT_STRING "EpdBaseClr"

View file

@ -121,7 +121,10 @@ BEGIN
@BatNoload_mV, @Batload_mV, @CPU_mV, @r_InvalidState, @r_OperationTimeout, @r_InsufficientPriv,
@r_OperationFailed, @r_OtherError, @WriteTime, @Registered);
END;
GO
GRANT SELECT ON [dbo].[EPDDeviceLog] TO [eDosStation]
GRANT SELECT ON [dbo].[EPDDevice] TO [eDosStation]
GRANT EXECUTE ON [dbo].[EPDAddLog] TO [eDosStation]
GO
INSERT INTO [dbo].[DatabaseVersion] (VersionNumber, VersionDate, Description)
VALUES (3, GETDATE(), 'Log');

View file

@ -18,7 +18,7 @@
<userSettings>
<eDosStation.Properties.Settings>
<setting name="ComPort" serializeAs="String">
<value>3</value>
<value>6</value>
</setting>
<setting name="Inst_CODE1" serializeAs="String">
<value>1</value>
@ -68,6 +68,12 @@
<setting name="DoUserProfile" serializeAs="String">
<value>False</value>
</setting>
<setting name="ignoreEpdIssuedOtherStation" serializeAs="String">
<value>False</value>
</setting>
<setting name="DllLogPath" serializeAs="String">
<value />
</setting>
</eDosStation.Properties.Settings>
</userSettings>
<appSettings>

View file

@ -292,7 +292,7 @@
</Grid>
</TabItem>
<TabItem Name="tbEPD" FontSize="25" >
<Grid DataContext="{Binding Mode=OneWay, Source={StaticResource getTaskListViewSource}}" Margin="0,0,0,218" >
<Grid DataContext="{Binding Mode=OneWay, Source={StaticResource getTaskListViewSource}}" Margin="0,0,0,0" >
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
@ -387,7 +387,7 @@
<TextEffect Foreground="#FFE66464"/>
</TextBlock.TextEffects>
</TextBlock>
<telerik:RadStepProgressBar Grid.Row="5" x:Name="stepEPD" CanUserSelect="False" Margin="10,0,10,10" AnimationDuration="0" >
<telerik:RadStepProgressBar Grid.Row="5" x:Name="stepEPD" CanUserSelect="False" Margin="10,0,10,0" AnimationDuration="0" >
<telerik:RadStepProgressBarItem Content="Open" />
<telerik:RadStepProgressBarItem Content="Connect" />
<telerik:RadStepProgressBarItem Content="Status" />

View file

@ -91,6 +91,7 @@ namespace eDosStation
Dispatcher.InvokeAsync(() => StopProgress("Writing config"));
DoEvents();
System.Threading.Thread.Sleep(100);
Dispatcher.InvokeAsync(() => GetEPD());
}
private bool LoadDoses()
@ -537,9 +538,7 @@ namespace eDosStation
if (thisStation.LogAll || ep.HasStepError())
{
var s = ep.GetSteps();
DecodeResults.logsteps(module, ep.StepReturnValues, thisStation.splunkLog);
var t = ep.GetErrors();
DecodeResults.logerrors(module, ep.ErrorReturnValues, thisStation.splunkLog);
}
@ -582,6 +581,7 @@ namespace eDosStation
}
else
{
thisStation.splunkLog.WriteSplunkLog(module, step, LSWLib.CLog.iseverity.err, lresultMessage: $"DeviceCount : {ep.DeviceCount} EpdID : {ep.EpdID} >");
System.Diagnostics.Debug.WriteLine("Not loaded");
EntryState = eEntryState.epdtimeout;
System.Diagnostics.Debug.WriteLine("TIME OUT");
@ -1095,6 +1095,7 @@ namespace eDosStation
{
ep = new EpdBaseClr.Epd2(thisStation.ComPort, thisStation.OnlyMK2);
ep.SetFeedbackSound(thisStation.useBeep, thisStation.useBeepMK3());
ep.SetDebugLog(Properties.Settings.Default.DllLogPath);
//ep.SetEndNotifyAlarm(0, 0);
ep.OtherParam(thisStation.ResponseTimeout, thisStation.DiscoveryCacheTimeout, thisStation.ReconnectRetries, thisStation.SleepAfterClear, thisStation.SleepBeforeReconnect, thisStation.SleepAfterDisconnect, thisStation.DoDisconnectAfterClear, thisStation.DoDisconnectBeforeReconnect, thisStation.DoProtectSession, thisStation.DoUserProfile);

View file

@ -1,4 +1,5 @@
using System;
using System.Diagnostics.Eventing.Reader;
using System.Windows;
using System.Windows.Media;
using System.Windows.Threading;
@ -198,9 +199,16 @@ namespace eDosStation
}
if (station != thisStation.ID_Station)
{
endWithMessage($"This EPD was issued on another station (ID:{station})");
if (!thisStation.ignoreEpdIssuedOtherStation)
{
endWithMessage($"This EPD was issued on another station (ID:{station}) Ignoring={thisStation.ignoreEpdIssuedOtherStation}");
return;
}
else
MessageBox.Show($"This EPD was issued on another station (ID:{station}) Ignoring");
}
//Check id EPD is manual exit
string WearerFullName = string.Empty;

View file

@ -75,5 +75,5 @@ using System.Windows;
//2026-08-17 3.01 telerik upgrade, cleanup old files
//2026-08-17 3.03 reconnect,issuewithalarms
//2026-09-22 4.00 no disconnect, set correct displayids, parameter set for retries, sleep, reconnect
[assembly: AssemblyVersion("4.1.0.0")]
[assembly: AssemblyFileVersion("4.1.0.0")]
[assembly: AssemblyVersion("4.1.7.0")]
[assembly: AssemblyFileVersion("4.1.7.0")]

View file

@ -25,7 +25,7 @@ namespace eDosStation.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("3")]
[global::System.Configuration.DefaultSettingValueAttribute("6")]
public int ComPort {
get {
return ((int)(this["ComPort"]));
@ -237,5 +237,29 @@ namespace eDosStation.Properties {
this["DoUserProfile"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool ignoreEpdIssuedOtherStation {
get {
return ((bool)(this["ignoreEpdIssuedOtherStation"]));
}
set {
this["ignoreEpdIssuedOtherStation"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string DllLogPath {
get {
return ((string)(this["DllLogPath"]));
}
set {
this["DllLogPath"] = value;
}
}
}
}

View file

@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="ComPort" Type="System.Int32" Scope="User">
<Value Profile="(Default)">3</Value>
<Value Profile="(Default)">6</Value>
</Setting>
<Setting Name="Inst_CODE1" Type="System.Int32" Scope="User">
<Value Profile="(Default)">1</Value>
@ -61,5 +61,11 @@
<Setting Name="DoUserProfile" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="ignoreEpdIssuedOtherStation" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="DllLogPath" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>

View file

@ -1 +1 @@
11/10/2026 14:59:32,55
14/10/2026 12:24:05,16

View file

@ -86,6 +86,7 @@ namespace eDosStation
public Boolean DoDisconnectBeforeReconnect = false;
public Boolean DoProtectSession = false;
public Boolean DoUserProfile = false;
internal bool ignoreEpdIssuedOtherStation=true;
public ushort useBeepMK3()
{
@ -106,6 +107,7 @@ namespace eDosStation
Error = 0;
ErrorMessage = string.Empty;
ComPort = 0;
ignoreEpdIssuedOtherStation = Properties.Settings.Default.ignoreEpdIssuedOtherStation;
Inst_CODE1 = defInst_CODE1;
Inst_CODE2 = defInst_CODE2;
Inst_Name1 = defInst_Name1;

View file

@ -208,17 +208,17 @@ exit
# RGlnaUNlcnQsIEluYy4xQTA/BgNVBAMTOERpZ2lDZXJ0IFRydXN0ZWQgRzQgVGlt
# ZVN0YW1waW5nIFJTQTQwOTYgU0hBMjU2IDIwMjUgQ0ExAhAIT9wzT35FTtvDD4/5
# khg1MA0GCWCGSAFlAwQCAQUAoGkwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAc
# BgkqhkiG9w0BCQUxDxcNMjYxMDExMT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B3Ic/j8iYjF
# zbTHTq4kiWOVzjKvPaP8Tn7CECLDQEl6j6hyLfXEHZ7lXT4DD7JPT+EaFU+M+qB/
# CizrW/12RraM7ixxDh5teYQnuFFWGUENj8YrZq4sqWURpMqWtmLiycVCK8OWTw9c
# B9MeIW4fWULI6AJgWH6BlfKQBnnm+zj91hC7e1KJChuMj9hNtwhx0cCvo/9H3e+0
# 0LchKThUFhS9LVkGSLiBwAl1/o+M37jM1xHMZar6lrODJfAVb/W+tD+KOOLMHNmb
# +KwINHeiUhWFwi/ue0iFvYd2ti+kC1AtJbV0qZN3sG6vhVG4eXUATgUI72LAEzC1
# dTlRwDn9OatjXr07qfqZ0X2wZ20acoGRdGcB+h5XN/NkAkOadmGTW6NuNVWyfiCA
# wWJHpKKGjzXKMqWwcCmVnBslawoNuYuA2unhVtURfjGP+lUIM4PcTvMOQczmkldH
# 4cGu5ztb0U14eK5mpKlwUy2t9fq7O0MVqHw2NFNuBwQ=
# SIG # End signature block

View file

@ -262,17 +262,17 @@ Write-Host "Database is volledig up-to-date!" -ForegroundColor Green
# RGlnaUNlcnQsIEluYy4xQTA/BgNVBAMTOERpZ2lDZXJ0IFRydXN0ZWQgRzQgVGlt
# ZVN0YW1waW5nIFJTQTQwOTYgU0hBMjU2IDIwMjUgQ0ExAhAIT9wzT35FTtvDD4/5
# khg1MA0GCWCGSAFlAwQCAQUAoGkwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAc
# BgkqhkiG9w0BCQUxDxcNMjYxMDExMTMyNzQxWjAvBgkqhkiG9w0BCQQxIgQgX8Jz
# BgkqhkiG9w0BCQUxDxcNMjYxMDE0MTAyNzM5WjAvBgkqhkiG9w0BCQQxIgQgX8Jz
# mt8t4dFlf6dbnq2GYMYV89o+noBMKSYbxRzsddYwDQYJKoZIhvcNAQEBBQAEggIA
# AstvYa9nxt+whhf4CLQrH9V+m7A2UgBEJX/Dyn13NOQou7sHZ80L1Vn0Mso8UjPL
# UeFVJpebaE+BWd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b7Fq6fdbbqFQGqXvLV
# 1ea5MhrCyvbdAt17z9qzpGVA2wErX9CorLFdfXep/1RjUGtEVgaZLwNs2MuuSMYZ
# oi8vj9WU/f4uqcvPyRsS9tx4HF0aZ2nAY2e77M5B80+hiwF8mSiN/x5SBN9actCB
# h1HWbAEXOYeY/UMTNv2JTBqkscyP0M15T7wlkn6BmNmzBZRZwJSveCGAx6JcGIhK
# AAUkSvszPNb3BzSBwnJMeXqeez7BW85Gpd3ElTl7sps=
# SIG # End signature block

View file

@ -146,9 +146,9 @@ start-process -wait -workingdirectory "c:\software" -filepath "C:\Program Files\
Write-Host "Other script finished! Continuing main script..." -ForegroundColor Green
echo Certificate
Import-Certificate -FilePath "c:\software\sckca.cer" -CertStoreLocation Cert:\LocalMachine\Root
Import-Certificate -FilePath "c:\software\ictinteremediate.cer" -CertStoreLocation Cert:\LocalMachine\Ca
Import-Certificate -FilePath "c:\software\signertrust.cer" -CertStoreLocation Cert:\LocalMachine\TrustedPublisher
Import-Certificate -FilePath "c:\software\sckca.cer" -CertStoreLocation Cert:\LocalMachine\Root | Out-Null
Import-Certificate -FilePath "c:\software\ictinteremediate.cer" -CertStoreLocation Cert:\LocalMachine\Ca | Out-Null
Import-Certificate -FilePath "c:\software\signertrust.cer" -CertStoreLocation Cert:\LocalMachine\TrustedPublisher | Out-Null
$SourcePath = "C:\software\OfflineModules"
@ -171,8 +171,8 @@ exit
# SIG # Begin signature block
# MIIlPAYJKoZIhvcNAQcCoIIlLTCCJSkCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUD22DD0SO4Na67fVCB2K9jFjN
# WxWggh9wMIIFjTCCBHWgAwIBAgIQDpsYjvnQLefv21DiCEAYWjANBgkqhkiG9w0B
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4D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P26t45A6gTjDFiZnwc3cU1Q=
# W64uQY+gDKVuyHcB92QfUvTyWvzd1qg1I0L2jZrv39XHgB4G1uRvGCjkmKkYErp1
# yvwA/icQ1piQZYK9GozvgTyTKVOVxwF7rhbUkdw6cMlNz2DOcXy73aakyLveDBIG
# +9UbOfj+guUlVtJBRC5JiMKnxBA9ba6L+hp07bK5UhTYE5ep2YeOrPn3dMbBUR2o
# kKwrQHs6H+Tk9phQXfgg4TnWZotVM2J7IMQtoorSDJeQqHSgr2oTwjuu495ce7pj
# xajo+/FMjJ0yiYpF32/+2eS83miFIf/UmqCoU5J1AvpPaVWXPhfNnAlkXCSi6Jul
# sOHem7xKp2NPniDvj3nL+a9XXKfjcs6cmLDKVv7xkSAHQ6ilUKNntqJDpLs37FPV
# V22ZHE9fG9HM9kQ6avY+h4YkQEQdsHS/lDWW9T2RAHbwHS0Avt+zwKA0vteBIqzJ
# Yd7jeW2RpMNDMV74jvZd8WNqQ6FvGo2npE+t1zKSJb4qVk9f6k/B4vsEpfig0g+s
# RZ0LO2UmUGiM1F+csmqOb6t2irJZGV+o/yGUvme4IJGvUfnmuib/fwc8+TTJ5Ban
# PzcVeDnWDqy2bg5/z0Jyu9637GiA5WDEz10qVpYBjLA1dvpEjbQfx1J27Qulwzr7
# bkujZkOw4ZY1vE2GsgOJYwK29prPVAqTpVlNk8rGjRo=
# SIG # End signature block

View file

@ -4,6 +4,6 @@
<appSettings>
<add key="smtpServer" value="192.168.113.120" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="smtpPort" value="25" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="smtpFrom" value="lvandenb@sckcen.be" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
<add key="smtpFrom" value="lvandenbu@sckcen.be" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
</appSettings>
</configuration>

File diff suppressed because it is too large Load diff

80
syncEdosLocal/DataSet1.cs Normal file
View file

@ -0,0 +1,80 @@
namespace syncEdosLocal
{
partial class DataSet1
{
}
}
namespace syncEdosLocal.DataSet1TableAdapters
{
partial class EPDDeviceLogTableAdapter
{
public string DynamicConnectionString
{
set
{
// 1. Update the primary connection string
if (this.Connection != null)
{
this.Connection.ConnectionString = value;
}
// 2. Clear/Update the cached custom queries collection
if (this._commandCollection == null)
{
this.InitCommandCollection();
}
// Loop through every cached query and forcefully update its connection
for (int i = 0; i < this._commandCollection.Length; i++)
{
if (this._commandCollection[i] != null)
{
this._commandCollection[i].Connection.ConnectionString = value;
}
}
}
}
public bool AcceptChangesDuringFill
{
get { return this.Adapter.AcceptChangesDuringFill; }
set { this.Adapter.AcceptChangesDuringFill = value; }
}
}
public partial class EPDIDTableAdapter {
public bool AcceptChangesDuringFill
{
get { return this.Adapter.AcceptChangesDuringFill; }
set { this.Adapter.AcceptChangesDuringFill = value; }
}
public string DynamicConnectionString
{
set
{
// 1. Update the primary connection string
if (this.Connection != null)
{
this.Connection.ConnectionString = value;
}
// 2. Clear/Update the cached custom queries collection
if (this._commandCollection == null)
{
this.InitCommandCollection();
}
// Loop through every cached query and forcefully update its connection
for (int i = 0; i < this._commandCollection.Length; i++)
{
if (this._commandCollection[i] != null)
{
this._commandCollection[i].Connection.ConnectionString = value;
}
}
}
}
}
}

View file

@ -2,7 +2,7 @@
<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="eDosLocalConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="eDosLocalConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.syncEdosLocal.Properties.Settings.GlobalReference.Default.eDosLocalConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="eDosConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="eDosConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.syncEdosLocal.Properties.Settings.GlobalReference.Default.eDosConnectionString" Provider="System.Data.SqlClient" />
@ -288,133 +288,329 @@
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EPDIDTableAdapter" GeneratorDataComponentClassName="EPDIDTableAdapter" Name="EPDID" UserDataComponentName="EPDIDTableAdapter">
<MainSource>
<DbSource ConnectionRef="eDosLocalConnectionString (Settings)" DbObjectName="eDosLocal.dbo.EPDDevice" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT EPDID, FirmWare, First_Station, firstseen, Last_Station, lastseen, epdType
FROM epddevice</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>[dbo].[EpdDeviceLogUpdate]</CommandText>
<Parameters />
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="EPDID" DataSetColumn="EPDID" />
<Mapping SourceColumn="FirmWare" DataSetColumn="FirmWare" />
<Mapping SourceColumn="First_Station" DataSetColumn="First_Station" />
<Mapping SourceColumn="firstseen" DataSetColumn="firstseen" />
<Mapping SourceColumn="Last_Station" DataSetColumn="Last_Station" />
<Mapping SourceColumn="lastseen" DataSetColumn="lastseen" />
<Mapping SourceColumn="epdType" DataSetColumn="epdType" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EPDDeviceLogTableAdapter" GeneratorDataComponentClassName="EPDDeviceLogTableAdapter" Name="EPDDeviceLog" UserDataComponentName="EPDDeviceLogTableAdapter">
<MainSource>
<DbSource ConnectionRef="eDosLocalConnectionString (Settings)" DbObjectName="eDosLocal.dbo.EPDDeviceLog" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>EpdDeviceLogUpdate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EPDID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="EPDID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Station" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Station" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Visit" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Visit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@updated" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumn="updated" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatNoload_mV" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="BatNoload_mV" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Batload_mV" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="Batload_mV" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CPU_mv" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="CPU_mV" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_InvalidState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_InvalidState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OperationTimeout" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_OperationTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_InsufficientPriv" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_InsufficientPriv" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OperationFailed" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_OperationFailed" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OtherError" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_OtherError" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Registered" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Registered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@WriteTime" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="WriteTime" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT EPDID, ID_Station, ID_Visit, updated, BatNoload_mV, Batload_mV, CPU_mV, r_InvalidState, r_OperationTimeout, r_InsufficientPriv, r_OperationFailed, r_OtherError, Registered, WriteTime
FROM EPDDeviceLog
WHERE (ID_Station = @ID_STATION) AND (ID_Visit &gt; @MaxVisit)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="ID_STATION" ColumnName="ID_Station" DataSourceName="eDosLocal.dbo.EPDDeviceLog" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_STATION" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Station" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="MaxVisit" ColumnName="ID_Visit" DataSourceName="eDosLocal.dbo.EPDDeviceLog" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MaxVisit" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Visit" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="EPDID" DataSetColumn="EPDID" />
<Mapping SourceColumn="ID_Station" DataSetColumn="ID_Station" />
<Mapping SourceColumn="ID_Visit" DataSetColumn="ID_Visit" />
<Mapping SourceColumn="updated" DataSetColumn="updated" />
<Mapping SourceColumn="BatNoload_mV" DataSetColumn="BatNoload_mV" />
<Mapping SourceColumn="Batload_mV" DataSetColumn="Batload_mV" />
<Mapping SourceColumn="CPU_mV" DataSetColumn="CPU_mV" />
<Mapping SourceColumn="r_InvalidState" DataSetColumn="r_InvalidState" />
<Mapping SourceColumn="r_OperationTimeout" DataSetColumn="r_OperationTimeout" />
<Mapping SourceColumn="r_InsufficientPriv" DataSetColumn="r_InsufficientPriv" />
<Mapping SourceColumn="r_OperationFailed" DataSetColumn="r_OperationFailed" />
<Mapping SourceColumn="r_OtherError" DataSetColumn="r_OtherError" />
<Mapping SourceColumn="Registered" DataSetColumn="Registered" />
<Mapping SourceColumn="WriteTime" DataSetColumn="WriteTime" />
</Mappings>
<Sources>
<DbSource ConnectionRef="eDosLocalConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertQuery">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>EpdDeviceLogUpdate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EPDID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="EPDID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Station" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Station" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Visit" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Visit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@updated" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumn="updated" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatNoload_mV" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="BatNoload_mV" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Batload_mV" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="Batload_mV" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CPU_mv" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="CPU_mV" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_InvalidState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_InvalidState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OperationTimeout" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_OperationTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_InsufficientPriv" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_InsufficientPriv" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OperationFailed" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_OperationFailed" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OtherError" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="r_OtherError" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Registered" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Registered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@WriteTime" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="WriteTime" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources>
<DbSource ConnectionRef="eDosConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetMaxVisit" MethodsParameterType="CLR" Modifier="Public" Name="GetMaxVisit" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="GetMaxVisit">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ISNULL(MAX(ID_Visit), 0) AS id_visit
FROM EPDDeviceLog
WHERE (ID_Station = @ID_Station)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="ID_Station" ColumnName="ID_Station" DataSourceName="eDosLocal.dbo.EPDDeviceLog" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Station" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_Station" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="eDosLocalConnectionString (Settings)" DbObjectName="eDosLocal.dbo.GetID_LocalStation" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="GetID_LocalStation" MethodsParameterType="CLR" Modifier="Public" Name="GetID_LocalStation" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="GetID_LocalStation">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.GetID_LocalStation</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="eDosConnectionString (Settings)" DbObjectName="eDos.dbo.EpdDeviceLogUpdate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="EpdDeviceLogUpdate" MethodsParameterType="CLR" Modifier="Public" Name="EpdDeviceLogUpdate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="EpdDeviceLogUpdate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.EpdDeviceLogUpdate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EPDID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Station" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Visit" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@updated" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatNoload_mV" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Batload_mV" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CPU_mv" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_InvalidState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OperationTimeout" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_InsufficientPriv" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OperationFailed" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@r_OtherError" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Registered" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@WriteTime" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
<xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DataSet1" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="LocalVisits" msprop:Generator_TableClassName="LocalVisitsDataTable" msprop:Generator_TableVarName="tableLocalVisits" msprop:Generator_TablePropName="LocalVisits" msprop:Generator_RowDeletingName="LocalVisitsRowDeleting" msprop:Generator_RowChangingName="LocalVisitsRowChanging" msprop:Generator_RowEvHandlerName="LocalVisitsRowChangeEventHandler" msprop:Generator_RowDeletedName="LocalVisitsRowDeleted" msprop:Generator_UserTableName="LocalVisits" msprop:Generator_RowChangedName="LocalVisitsRowChanged" msprop:Generator_RowEvArgName="LocalVisitsRowChangeEvent" msprop:Generator_RowClassName="LocalVisitsRow">
<xs:element name="LocalVisits" msprop:Generator_RowEvHandlerName="LocalVisitsRowChangeEventHandler" msprop:Generator_RowDeletedName="LocalVisitsRowDeleted" msprop:Generator_RowDeletingName="LocalVisitsRowDeleting" msprop:Generator_RowEvArgName="LocalVisitsRowChangeEvent" msprop:Generator_TablePropName="LocalVisits" msprop:Generator_RowChangedName="LocalVisitsRowChanged" msprop:Generator_UserTableName="LocalVisits" msprop:Generator_RowChangingName="LocalVisitsRowChanging" msprop:Generator_RowClassName="LocalVisitsRow" msprop:Generator_TableClassName="LocalVisitsDataTable" msprop:Generator_TableVarName="tableLocalVisits">
<xs:complexType>
<xs:sequence>
<xs:element name="ID_Station" msprop:Generator_ColumnVarNameInTable="columnID_Station" msprop:Generator_ColumnPropNameInRow="ID_Station" msprop:Generator_ColumnPropNameInTable="ID_StationColumn" msprop:Generator_UserColumnName="ID_Station" type="xs:int" />
<xs:element name="ID_Visit" msprop:Generator_ColumnVarNameInTable="columnID_Visit" msprop:Generator_ColumnPropNameInRow="ID_Visit" msprop:Generator_ColumnPropNameInTable="ID_VisitColumn" msprop:Generator_UserColumnName="ID_Visit" type="xs:int" />
<xs:element name="Inst_CODE" msprop:Generator_ColumnVarNameInTable="columnInst_CODE" msprop:Generator_ColumnPropNameInRow="Inst_CODE" msprop:Generator_ColumnPropNameInTable="Inst_CODEColumn" msprop:Generator_UserColumnName="Inst_CODE" type="xs:int" />
<xs:element name="PersID" msprop:Generator_ColumnVarNameInTable="columnPersID" msprop:Generator_ColumnPropNameInRow="PersID" msprop:Generator_ColumnPropNameInTable="PersIDColumn" msprop:Generator_UserColumnName="PersID" type="xs:int" minOccurs="0" />
<xs:element name="ID_Task" msprop:Generator_ColumnVarNameInTable="columnID_Task" msprop:Generator_ColumnPropNameInRow="ID_Task" msprop:Generator_ColumnPropNameInTable="ID_TaskColumn" msprop:Generator_UserColumnName="ID_Task" type="xs:int" minOccurs="0" />
<xs:element name="EntryTime" msprop:Generator_ColumnVarNameInTable="columnEntryTime" msprop:Generator_ColumnPropNameInRow="EntryTime" msprop:Generator_ColumnPropNameInTable="EntryTimeColumn" msprop:Generator_UserColumnName="EntryTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="ReturnTime" msprop:Generator_ColumnVarNameInTable="columnReturnTime" msprop:Generator_ColumnPropNameInRow="ReturnTime" msprop:Generator_ColumnPropNameInTable="ReturnTimeColumn" msprop:Generator_UserColumnName="ReturnTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp10Dose" msprop:Generator_ColumnVarNameInTable="columnHp10Dose" msprop:Generator_ColumnPropNameInRow="Hp10Dose" msprop:Generator_ColumnPropNameInTable="Hp10DoseColumn" msprop:Generator_UserColumnName="Hp10Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Dose" msprop:Generator_ColumnVarNameInTable="columnHp07Dose" msprop:Generator_ColumnPropNameInRow="Hp07Dose" msprop:Generator_ColumnPropNameInTable="Hp07DoseColumn" msprop:Generator_UserColumnName="Hp07Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Total" msprop:Generator_ColumnVarNameInTable="columnHp10Total" msprop:Generator_ColumnPropNameInRow="Hp10Total" msprop:Generator_ColumnPropNameInTable="Hp10TotalColumn" msprop:Generator_UserColumnName="Hp10Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Total" msprop:Generator_ColumnVarNameInTable="columnHp07Total" msprop:Generator_ColumnPropNameInRow="Hp07Total" msprop:Generator_ColumnPropNameInTable="Hp07TotalColumn" msprop:Generator_UserColumnName="Hp07Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Peak" msprop:Generator_ColumnVarNameInTable="columnHp10Peak" msprop:Generator_ColumnPropNameInRow="Hp10Peak" msprop:Generator_ColumnPropNameInTable="Hp10PeakColumn" msprop:Generator_UserColumnName="Hp10Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Peak" msprop:Generator_ColumnVarNameInTable="columnHp07Peak" msprop:Generator_ColumnPropNameInRow="Hp07Peak" msprop:Generator_ColumnPropNameInTable="Hp07PeakColumn" msprop:Generator_UserColumnName="Hp07Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Time" msprop:Generator_ColumnVarNameInTable="columnHp10Time" msprop:Generator_ColumnPropNameInRow="Hp10Time" msprop:Generator_ColumnPropNameInTable="Hp10TimeColumn" msprop:Generator_UserColumnName="Hp10Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp07Time" msprop:Generator_ColumnVarNameInTable="columnHp07Time" msprop:Generator_ColumnPropNameInRow="Hp07Time" msprop:Generator_ColumnPropNameInTable="Hp07TimeColumn" msprop:Generator_UserColumnName="Hp07Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="ID_EPD" msprop:Generator_ColumnVarNameInTable="columnID_EPD" msprop:Generator_ColumnPropNameInRow="ID_EPD" msprop:Generator_ColumnPropNameInTable="ID_EPDColumn" msprop:Generator_UserColumnName="ID_EPD" type="xs:int" minOccurs="0" />
<xs:element name="QualityData" msprop:Generator_ColumnVarNameInTable="columnQualityData" msprop:Generator_ColumnPropNameInRow="QualityData" msprop:Generator_ColumnPropNameInTable="QualityDataColumn" msprop:Generator_UserColumnName="QualityData" type="xs:int" minOccurs="0" />
<xs:element name="K1" msprop:Generator_ColumnVarNameInTable="columnK1" msprop:Generator_ColumnPropNameInRow="K1" msprop:Generator_ColumnPropNameInTable="K1Column" msprop:Generator_UserColumnName="K1" type="xs:int" minOccurs="0" />
<xs:element name="K2" msprop:Generator_ColumnVarNameInTable="columnK2" msprop:Generator_ColumnPropNameInRow="K2" msprop:Generator_ColumnPropNameInTable="K2Column" msprop:Generator_UserColumnName="K2" type="xs:int" minOccurs="0" />
<xs:element name="K3" msprop:Generator_ColumnVarNameInTable="columnK3" msprop:Generator_ColumnPropNameInRow="K3" msprop:Generator_ColumnPropNameInTable="K3Column" msprop:Generator_UserColumnName="K3" type="xs:int" minOccurs="0" />
<xs:element name="K4" msprop:Generator_ColumnVarNameInTable="columnK4" msprop:Generator_ColumnPropNameInRow="K4" msprop:Generator_ColumnPropNameInTable="K4Column" msprop:Generator_UserColumnName="K4" type="xs:int" minOccurs="0" />
<xs:element name="K5" msprop:Generator_ColumnVarNameInTable="columnK5" msprop:Generator_ColumnPropNameInRow="K5" msprop:Generator_ColumnPropNameInTable="K5Column" msprop:Generator_UserColumnName="K5" type="xs:int" minOccurs="0" />
<xs:element name="K6" msprop:Generator_ColumnVarNameInTable="columnK6" msprop:Generator_ColumnPropNameInRow="K6" msprop:Generator_ColumnPropNameInTable="K6Column" msprop:Generator_UserColumnName="K6" type="xs:int" minOccurs="0" />
<xs:element name="SG" msprop:Generator_ColumnVarNameInTable="columnSG" msprop:Generator_ColumnPropNameInRow="SG" msprop:Generator_ColumnPropNameInTable="SGColumn" msprop:Generator_UserColumnName="SG" type="xs:int" minOccurs="0" />
<xs:element name="BC" msprop:Generator_ColumnVarNameInTable="columnBC" msprop:Generator_ColumnPropNameInRow="BC" msprop:Generator_ColumnPropNameInTable="BCColumn" msprop:Generator_UserColumnName="BC" type="xs:int" minOccurs="0" />
<xs:element name="FB" msprop:Generator_ColumnVarNameInTable="columnFB" msprop:Generator_ColumnPropNameInRow="FB" msprop:Generator_ColumnPropNameInTable="FBColumn" msprop:Generator_UserColumnName="FB" type="xs:int" minOccurs="0" />
<xs:element name="HG" msprop:Generator_ColumnVarNameInTable="columnHG" msprop:Generator_ColumnPropNameInRow="HG" msprop:Generator_ColumnPropNameInTable="HGColumn" msprop:Generator_UserColumnName="HG" type="xs:int" minOccurs="0" />
<xs:element name="alarmStatus" msprop:Generator_ColumnVarNameInTable="columnalarmStatus" msprop:Generator_ColumnPropNameInRow="alarmStatus" msprop:Generator_ColumnPropNameInTable="alarmStatusColumn" msprop:Generator_UserColumnName="alarmStatus" type="xs:int" minOccurs="0" />
<xs:element name="otherAlarms" msprop:Generator_ColumnVarNameInTable="columnotherAlarms" msprop:Generator_ColumnPropNameInRow="otherAlarms" msprop:Generator_ColumnPropNameInTable="otherAlarmsColumn" msprop:Generator_UserColumnName="otherAlarms" type="xs:int" minOccurs="0" />
<xs:element name="errorStatus" msprop:Generator_ColumnVarNameInTable="columnerrorStatus" msprop:Generator_ColumnPropNameInRow="errorStatus" msprop:Generator_ColumnPropNameInTable="errorStatusColumn" msprop:Generator_UserColumnName="errorStatus" type="xs:int" minOccurs="0" />
<xs:element name="operatingStatus" msprop:Generator_ColumnVarNameInTable="columnoperatingStatus" msprop:Generator_ColumnPropNameInRow="operatingStatus" msprop:Generator_ColumnPropNameInTable="operatingStatusColumn" msprop:Generator_UserColumnName="operatingStatus" type="xs:int" minOccurs="0" />
<xs:element name="isBG" msprop:Generator_ColumnVarNameInTable="columnisBG" msprop:Generator_ColumnPropNameInRow="isBG" msprop:Generator_ColumnPropNameInTable="isBGColumn" msprop:Generator_UserColumnName="isBG" type="xs:boolean" minOccurs="0" />
<xs:element name="isComplete" msprop:Generator_ColumnVarNameInTable="columnisComplete" msprop:Generator_ColumnPropNameInRow="isComplete" msprop:Generator_ColumnPropNameInTable="isCompleteColumn" msprop:Generator_UserColumnName="isComplete" type="xs:boolean" />
<xs:element name="isDeleted" msprop:Generator_ColumnVarNameInTable="columnisDeleted" msprop:Generator_ColumnPropNameInRow="isDeleted" msprop:Generator_ColumnPropNameInTable="isDeletedColumn" msprop:Generator_UserColumnName="isDeleted" type="xs:boolean" />
<xs:element name="isAlarm" msprop:Generator_ColumnVarNameInTable="columnisAlarm" msprop:Generator_ColumnPropNameInRow="isAlarm" msprop:Generator_ColumnPropNameInTable="isAlarmColumn" msprop:Generator_UserColumnName="isAlarm" type="xs:boolean" />
<xs:element name="isAlarmCleared" msprop:Generator_ColumnVarNameInTable="columnisAlarmCleared" msprop:Generator_ColumnPropNameInRow="isAlarmCleared" msprop:Generator_ColumnPropNameInTable="isAlarmClearedColumn" msprop:Generator_UserColumnName="isAlarmCleared" type="xs:boolean" />
<xs:element name="isManualExit" msprop:Generator_ColumnVarNameInTable="columnisManualExit" msprop:Generator_ColumnPropNameInRow="isManualExit" msprop:Generator_ColumnPropNameInTable="isManualExitColumn" msprop:Generator_UserColumnName="isManualExit" type="xs:boolean" />
<xs:element name="ID_Station_Return" msprop:Generator_ColumnVarNameInTable="columnID_Station_Return" msprop:Generator_ColumnPropNameInRow="ID_Station_Return" msprop:Generator_ColumnPropNameInTable="ID_Station_ReturnColumn" msprop:Generator_UserColumnName="ID_Station_Return" type="xs:int" minOccurs="0" />
<xs:element name="ENTRY_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnENTRY_EPD_CLOCK" msprop:Generator_ColumnPropNameInRow="ENTRY_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="ENTRY_EPD_CLOCKColumn" msprop:Generator_UserColumnName="ENTRY_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="EXIT_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnEXIT_EPD_CLOCK" msprop:Generator_ColumnPropNameInRow="EXIT_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="EXIT_EPD_CLOCKColumn" msprop:Generator_UserColumnName="EXIT_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="TIME_LOST" msprop:Generator_ColumnVarNameInTable="columnTIME_LOST" msprop:Generator_ColumnPropNameInRow="TIME_LOST" msprop:Generator_ColumnPropNameInTable="TIME_LOSTColumn" msprop:Generator_UserColumnName="TIME_LOST" type="xs:int" minOccurs="0" />
<xs:element name="VisitStatus" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVisitStatus" msprop:Generator_ColumnPropNameInRow="VisitStatus" msprop:Generator_ColumnPropNameInTable="VisitStatusColumn" msprop:Generator_UserColumnName="VisitStatus" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="syncedEntry" msprop:Generator_ColumnVarNameInTable="columnsyncedEntry" msprop:Generator_ColumnPropNameInRow="syncedEntry" msprop:Generator_ColumnPropNameInTable="syncedEntryColumn" msprop:Generator_UserColumnName="syncedEntry" type="xs:boolean" />
<xs:element name="syncedExit" msprop:Generator_ColumnVarNameInTable="columnsyncedExit" msprop:Generator_ColumnPropNameInRow="syncedExit" msprop:Generator_ColumnPropNameInTable="syncedExitColumn" msprop:Generator_UserColumnName="syncedExit" type="xs:boolean" />
<xs:element name="epdType" msprop:Generator_ColumnVarNameInTable="columnepdType" msprop:Generator_ColumnPropNameInRow="epdType" msprop:Generator_ColumnPropNameInTable="epdTypeColumn" msprop:Generator_UserColumnName="epdType" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="epdID" msprop:Generator_ColumnVarNameInTable="columnepdID" msprop:Generator_ColumnPropNameInRow="epdID" msprop:Generator_ColumnPropNameInTable="epdIDColumn" msprop:Generator_UserColumnName="epdID" type="xs:int" minOccurs="0" />
<xs:element name="eDosBatteryWarning" msprop:Generator_ColumnVarNameInTable="columneDosBatteryWarning" msprop:Generator_ColumnPropNameInRow="eDosBatteryWarning" msprop:Generator_ColumnPropNameInTable="eDosBatteryWarningColumn" msprop:Generator_UserColumnName="eDosBatteryWarning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose07Warning" msprop:Generator_ColumnPropNameInRow="eDosDose07Warning" msprop:Generator_ColumnPropNameInTable="eDosDose07WarningColumn" msprop:Generator_UserColumnName="eDosDose07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose07Alarm" msprop:Generator_ColumnPropNameInRow="eDosDose07Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose07AlarmColumn" msprop:Generator_UserColumnName="eDosDose07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate07Warning" msprop:Generator_ColumnPropNameInRow="eDosRate07Warning" msprop:Generator_ColumnPropNameInTable="eDosRate07WarningColumn" msprop:Generator_UserColumnName="eDosRate07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate07Alarm" msprop:Generator_ColumnPropNameInRow="eDosRate07Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate07AlarmColumn" msprop:Generator_UserColumnName="eDosRate07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose10Warning" msprop:Generator_ColumnPropNameInRow="eDosDose10Warning" msprop:Generator_ColumnPropNameInTable="eDosDose10WarningColumn" msprop:Generator_UserColumnName="eDosDose10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose10Alarm" msprop:Generator_ColumnPropNameInRow="eDosDose10Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose10AlarmColumn" msprop:Generator_UserColumnName="eDosDose10Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate10Warning" msprop:Generator_ColumnPropNameInRow="eDosRate10Warning" msprop:Generator_ColumnPropNameInTable="eDosRate10WarningColumn" msprop:Generator_UserColumnName="eDosRate10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate10Alarm" msprop:Generator_ColumnPropNameInRow="eDosRate10Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate10AlarmColumn" msprop:Generator_UserColumnName="eDosRate10Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="ID_Station" msprop:Generator_ColumnPropNameInTable="ID_StationColumn" msprop:Generator_ColumnPropNameInRow="ID_Station" msprop:Generator_UserColumnName="ID_Station" msprop:Generator_ColumnVarNameInTable="columnID_Station" type="xs:int" />
<xs:element name="ID_Visit" msprop:Generator_ColumnPropNameInTable="ID_VisitColumn" msprop:Generator_ColumnPropNameInRow="ID_Visit" msprop:Generator_UserColumnName="ID_Visit" msprop:Generator_ColumnVarNameInTable="columnID_Visit" type="xs:int" />
<xs:element name="Inst_CODE" msprop:Generator_ColumnPropNameInTable="Inst_CODEColumn" msprop:Generator_ColumnPropNameInRow="Inst_CODE" msprop:Generator_UserColumnName="Inst_CODE" msprop:Generator_ColumnVarNameInTable="columnInst_CODE" type="xs:int" />
<xs:element name="PersID" msprop:Generator_ColumnPropNameInTable="PersIDColumn" msprop:Generator_ColumnPropNameInRow="PersID" msprop:Generator_UserColumnName="PersID" msprop:Generator_ColumnVarNameInTable="columnPersID" type="xs:int" minOccurs="0" />
<xs:element name="ID_Task" msprop:Generator_ColumnPropNameInTable="ID_TaskColumn" msprop:Generator_ColumnPropNameInRow="ID_Task" msprop:Generator_UserColumnName="ID_Task" msprop:Generator_ColumnVarNameInTable="columnID_Task" type="xs:int" minOccurs="0" />
<xs:element name="EntryTime" msprop:Generator_ColumnPropNameInTable="EntryTimeColumn" msprop:Generator_ColumnPropNameInRow="EntryTime" msprop:Generator_UserColumnName="EntryTime" msprop:Generator_ColumnVarNameInTable="columnEntryTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="ReturnTime" msprop:Generator_ColumnPropNameInTable="ReturnTimeColumn" msprop:Generator_ColumnPropNameInRow="ReturnTime" msprop:Generator_UserColumnName="ReturnTime" msprop:Generator_ColumnVarNameInTable="columnReturnTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp10Dose" msprop:Generator_ColumnPropNameInTable="Hp10DoseColumn" msprop:Generator_ColumnPropNameInRow="Hp10Dose" msprop:Generator_UserColumnName="Hp10Dose" msprop:Generator_ColumnVarNameInTable="columnHp10Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Dose" msprop:Generator_ColumnPropNameInTable="Hp07DoseColumn" msprop:Generator_ColumnPropNameInRow="Hp07Dose" msprop:Generator_UserColumnName="Hp07Dose" msprop:Generator_ColumnVarNameInTable="columnHp07Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Total" msprop:Generator_ColumnPropNameInTable="Hp10TotalColumn" msprop:Generator_ColumnPropNameInRow="Hp10Total" msprop:Generator_UserColumnName="Hp10Total" msprop:Generator_ColumnVarNameInTable="columnHp10Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Total" msprop:Generator_ColumnPropNameInTable="Hp07TotalColumn" msprop:Generator_ColumnPropNameInRow="Hp07Total" msprop:Generator_UserColumnName="Hp07Total" msprop:Generator_ColumnVarNameInTable="columnHp07Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Peak" msprop:Generator_ColumnPropNameInTable="Hp10PeakColumn" msprop:Generator_ColumnPropNameInRow="Hp10Peak" msprop:Generator_UserColumnName="Hp10Peak" msprop:Generator_ColumnVarNameInTable="columnHp10Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Peak" msprop:Generator_ColumnPropNameInTable="Hp07PeakColumn" msprop:Generator_ColumnPropNameInRow="Hp07Peak" msprop:Generator_UserColumnName="Hp07Peak" msprop:Generator_ColumnVarNameInTable="columnHp07Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Time" msprop:Generator_ColumnPropNameInTable="Hp10TimeColumn" msprop:Generator_ColumnPropNameInRow="Hp10Time" msprop:Generator_UserColumnName="Hp10Time" msprop:Generator_ColumnVarNameInTable="columnHp10Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp07Time" msprop:Generator_ColumnPropNameInTable="Hp07TimeColumn" msprop:Generator_ColumnPropNameInRow="Hp07Time" msprop:Generator_UserColumnName="Hp07Time" msprop:Generator_ColumnVarNameInTable="columnHp07Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="ID_EPD" msprop:Generator_ColumnPropNameInTable="ID_EPDColumn" msprop:Generator_ColumnPropNameInRow="ID_EPD" msprop:Generator_UserColumnName="ID_EPD" msprop:Generator_ColumnVarNameInTable="columnID_EPD" type="xs:int" minOccurs="0" />
<xs:element name="QualityData" msprop:Generator_ColumnPropNameInTable="QualityDataColumn" msprop:Generator_ColumnPropNameInRow="QualityData" msprop:Generator_UserColumnName="QualityData" msprop:Generator_ColumnVarNameInTable="columnQualityData" type="xs:int" minOccurs="0" />
<xs:element name="K1" msprop:Generator_ColumnPropNameInTable="K1Column" msprop:Generator_ColumnPropNameInRow="K1" msprop:Generator_UserColumnName="K1" msprop:Generator_ColumnVarNameInTable="columnK1" type="xs:int" minOccurs="0" />
<xs:element name="K2" msprop:Generator_ColumnPropNameInTable="K2Column" msprop:Generator_ColumnPropNameInRow="K2" msprop:Generator_UserColumnName="K2" msprop:Generator_ColumnVarNameInTable="columnK2" type="xs:int" minOccurs="0" />
<xs:element name="K3" msprop:Generator_ColumnPropNameInTable="K3Column" msprop:Generator_ColumnPropNameInRow="K3" msprop:Generator_UserColumnName="K3" msprop:Generator_ColumnVarNameInTable="columnK3" type="xs:int" minOccurs="0" />
<xs:element name="K4" msprop:Generator_ColumnPropNameInTable="K4Column" msprop:Generator_ColumnPropNameInRow="K4" msprop:Generator_UserColumnName="K4" msprop:Generator_ColumnVarNameInTable="columnK4" type="xs:int" minOccurs="0" />
<xs:element name="K5" msprop:Generator_ColumnPropNameInTable="K5Column" msprop:Generator_ColumnPropNameInRow="K5" msprop:Generator_UserColumnName="K5" msprop:Generator_ColumnVarNameInTable="columnK5" type="xs:int" minOccurs="0" />
<xs:element name="K6" msprop:Generator_ColumnPropNameInTable="K6Column" msprop:Generator_ColumnPropNameInRow="K6" msprop:Generator_UserColumnName="K6" msprop:Generator_ColumnVarNameInTable="columnK6" type="xs:int" minOccurs="0" />
<xs:element name="SG" msprop:Generator_ColumnPropNameInTable="SGColumn" msprop:Generator_ColumnPropNameInRow="SG" msprop:Generator_UserColumnName="SG" msprop:Generator_ColumnVarNameInTable="columnSG" type="xs:int" minOccurs="0" />
<xs:element name="BC" msprop:Generator_ColumnPropNameInTable="BCColumn" msprop:Generator_ColumnPropNameInRow="BC" msprop:Generator_UserColumnName="BC" msprop:Generator_ColumnVarNameInTable="columnBC" type="xs:int" minOccurs="0" />
<xs:element name="FB" msprop:Generator_ColumnPropNameInTable="FBColumn" msprop:Generator_ColumnPropNameInRow="FB" msprop:Generator_UserColumnName="FB" msprop:Generator_ColumnVarNameInTable="columnFB" type="xs:int" minOccurs="0" />
<xs:element name="HG" msprop:Generator_ColumnPropNameInTable="HGColumn" msprop:Generator_ColumnPropNameInRow="HG" msprop:Generator_UserColumnName="HG" msprop:Generator_ColumnVarNameInTable="columnHG" type="xs:int" minOccurs="0" />
<xs:element name="alarmStatus" msprop:Generator_ColumnPropNameInTable="alarmStatusColumn" msprop:Generator_ColumnPropNameInRow="alarmStatus" msprop:Generator_UserColumnName="alarmStatus" msprop:Generator_ColumnVarNameInTable="columnalarmStatus" type="xs:int" minOccurs="0" />
<xs:element name="otherAlarms" msprop:Generator_ColumnPropNameInTable="otherAlarmsColumn" msprop:Generator_ColumnPropNameInRow="otherAlarms" msprop:Generator_UserColumnName="otherAlarms" msprop:Generator_ColumnVarNameInTable="columnotherAlarms" type="xs:int" minOccurs="0" />
<xs:element name="errorStatus" msprop:Generator_ColumnPropNameInTable="errorStatusColumn" msprop:Generator_ColumnPropNameInRow="errorStatus" msprop:Generator_UserColumnName="errorStatus" msprop:Generator_ColumnVarNameInTable="columnerrorStatus" type="xs:int" minOccurs="0" />
<xs:element name="operatingStatus" msprop:Generator_ColumnPropNameInTable="operatingStatusColumn" msprop:Generator_ColumnPropNameInRow="operatingStatus" msprop:Generator_UserColumnName="operatingStatus" msprop:Generator_ColumnVarNameInTable="columnoperatingStatus" type="xs:int" minOccurs="0" />
<xs:element name="isBG" msprop:Generator_ColumnPropNameInTable="isBGColumn" msprop:Generator_ColumnPropNameInRow="isBG" msprop:Generator_UserColumnName="isBG" msprop:Generator_ColumnVarNameInTable="columnisBG" type="xs:boolean" minOccurs="0" />
<xs:element name="isComplete" msprop:Generator_ColumnPropNameInTable="isCompleteColumn" msprop:Generator_ColumnPropNameInRow="isComplete" msprop:Generator_UserColumnName="isComplete" msprop:Generator_ColumnVarNameInTable="columnisComplete" type="xs:boolean" />
<xs:element name="isDeleted" msprop:Generator_ColumnPropNameInTable="isDeletedColumn" msprop:Generator_ColumnPropNameInRow="isDeleted" msprop:Generator_UserColumnName="isDeleted" msprop:Generator_ColumnVarNameInTable="columnisDeleted" type="xs:boolean" />
<xs:element name="isAlarm" msprop:Generator_ColumnPropNameInTable="isAlarmColumn" msprop:Generator_ColumnPropNameInRow="isAlarm" msprop:Generator_UserColumnName="isAlarm" msprop:Generator_ColumnVarNameInTable="columnisAlarm" type="xs:boolean" />
<xs:element name="isAlarmCleared" msprop:Generator_ColumnPropNameInTable="isAlarmClearedColumn" msprop:Generator_ColumnPropNameInRow="isAlarmCleared" msprop:Generator_UserColumnName="isAlarmCleared" msprop:Generator_ColumnVarNameInTable="columnisAlarmCleared" type="xs:boolean" />
<xs:element name="isManualExit" msprop:Generator_ColumnPropNameInTable="isManualExitColumn" msprop:Generator_ColumnPropNameInRow="isManualExit" msprop:Generator_UserColumnName="isManualExit" msprop:Generator_ColumnVarNameInTable="columnisManualExit" type="xs:boolean" />
<xs:element name="ID_Station_Return" msprop:Generator_ColumnPropNameInTable="ID_Station_ReturnColumn" msprop:Generator_ColumnPropNameInRow="ID_Station_Return" msprop:Generator_UserColumnName="ID_Station_Return" msprop:Generator_ColumnVarNameInTable="columnID_Station_Return" type="xs:int" minOccurs="0" />
<xs:element name="ENTRY_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="ENTRY_EPD_CLOCKColumn" msprop:Generator_ColumnPropNameInRow="ENTRY_EPD_CLOCK" msprop:Generator_UserColumnName="ENTRY_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnENTRY_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="EXIT_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="EXIT_EPD_CLOCKColumn" msprop:Generator_ColumnPropNameInRow="EXIT_EPD_CLOCK" msprop:Generator_UserColumnName="EXIT_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnEXIT_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="TIME_LOST" msprop:Generator_ColumnPropNameInTable="TIME_LOSTColumn" msprop:Generator_ColumnPropNameInRow="TIME_LOST" msprop:Generator_UserColumnName="TIME_LOST" msprop:Generator_ColumnVarNameInTable="columnTIME_LOST" type="xs:int" minOccurs="0" />
<xs:element name="VisitStatus" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="VisitStatusColumn" msprop:Generator_ColumnPropNameInRow="VisitStatus" msprop:Generator_UserColumnName="VisitStatus" msprop:Generator_ColumnVarNameInTable="columnVisitStatus" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="syncedEntry" msprop:Generator_ColumnPropNameInTable="syncedEntryColumn" msprop:Generator_ColumnPropNameInRow="syncedEntry" msprop:Generator_UserColumnName="syncedEntry" msprop:Generator_ColumnVarNameInTable="columnsyncedEntry" type="xs:boolean" />
<xs:element name="syncedExit" msprop:Generator_ColumnPropNameInTable="syncedExitColumn" msprop:Generator_ColumnPropNameInRow="syncedExit" msprop:Generator_UserColumnName="syncedExit" msprop:Generator_ColumnVarNameInTable="columnsyncedExit" type="xs:boolean" />
<xs:element name="epdType" msprop:Generator_ColumnPropNameInTable="epdTypeColumn" msprop:Generator_ColumnPropNameInRow="epdType" msprop:Generator_UserColumnName="epdType" msprop:Generator_ColumnVarNameInTable="columnepdType" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="epdID" msprop:Generator_ColumnPropNameInTable="epdIDColumn" msprop:Generator_ColumnPropNameInRow="epdID" msprop:Generator_UserColumnName="epdID" msprop:Generator_ColumnVarNameInTable="columnepdID" type="xs:int" minOccurs="0" />
<xs:element name="eDosBatteryWarning" msprop:Generator_ColumnPropNameInTable="eDosBatteryWarningColumn" msprop:Generator_ColumnPropNameInRow="eDosBatteryWarning" msprop:Generator_UserColumnName="eDosBatteryWarning" msprop:Generator_ColumnVarNameInTable="columneDosBatteryWarning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Warning" msprop:Generator_ColumnPropNameInTable="eDosDose07WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosDose07Warning" msprop:Generator_UserColumnName="eDosDose07Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose07AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosDose07Alarm" msprop:Generator_UserColumnName="eDosDose07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Warning" msprop:Generator_ColumnPropNameInTable="eDosRate07WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosRate07Warning" msprop:Generator_UserColumnName="eDosRate07Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate07AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosRate07Alarm" msprop:Generator_UserColumnName="eDosRate07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Warning" msprop:Generator_ColumnPropNameInTable="eDosDose10WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosDose10Warning" msprop:Generator_UserColumnName="eDosDose10Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose10AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosDose10Alarm" msprop:Generator_UserColumnName="eDosDose10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose10Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Warning" msprop:Generator_ColumnPropNameInTable="eDosRate10WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosRate10Warning" msprop:Generator_UserColumnName="eDosRate10Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate10AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosRate10Alarm" msprop:Generator_UserColumnName="eDosRate10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate10Alarm" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CentralVisits" msprop:Generator_TableClassName="CentralVisitsDataTable" msprop:Generator_TableVarName="tableCentralVisits" msprop:Generator_TablePropName="CentralVisits" msprop:Generator_RowDeletingName="CentralVisitsRowDeleting" msprop:Generator_RowChangingName="CentralVisitsRowChanging" msprop:Generator_RowEvHandlerName="CentralVisitsRowChangeEventHandler" msprop:Generator_RowDeletedName="CentralVisitsRowDeleted" msprop:Generator_UserTableName="CentralVisits" msprop:Generator_RowChangedName="CentralVisitsRowChanged" msprop:Generator_RowEvArgName="CentralVisitsRowChangeEvent" msprop:Generator_RowClassName="CentralVisitsRow">
<xs:element name="CentralVisits" msprop:Generator_RowEvHandlerName="CentralVisitsRowChangeEventHandler" msprop:Generator_RowDeletedName="CentralVisitsRowDeleted" msprop:Generator_RowDeletingName="CentralVisitsRowDeleting" msprop:Generator_RowEvArgName="CentralVisitsRowChangeEvent" msprop:Generator_TablePropName="CentralVisits" msprop:Generator_RowChangedName="CentralVisitsRowChanged" msprop:Generator_UserTableName="CentralVisits" msprop:Generator_RowChangingName="CentralVisitsRowChanging" msprop:Generator_RowClassName="CentralVisitsRow" msprop:Generator_TableClassName="CentralVisitsDataTable" msprop:Generator_TableVarName="tableCentralVisits">
<xs:complexType>
<xs:sequence>
<xs:element name="ID_Station" msprop:Generator_ColumnVarNameInTable="columnID_Station" msprop:Generator_ColumnPropNameInRow="ID_Station" msprop:Generator_ColumnPropNameInTable="ID_StationColumn" msprop:Generator_UserColumnName="ID_Station" type="xs:int" />
<xs:element name="ID_Visit" msprop:Generator_ColumnVarNameInTable="columnID_Visit" msprop:Generator_ColumnPropNameInRow="ID_Visit" msprop:Generator_ColumnPropNameInTable="ID_VisitColumn" msprop:Generator_UserColumnName="ID_Visit" type="xs:int" />
<xs:element name="Inst_CODE" msprop:Generator_ColumnVarNameInTable="columnInst_CODE" msprop:Generator_ColumnPropNameInRow="Inst_CODE" msprop:Generator_ColumnPropNameInTable="Inst_CODEColumn" msprop:Generator_UserColumnName="Inst_CODE" type="xs:int" />
<xs:element name="PersID" msprop:Generator_ColumnVarNameInTable="columnPersID" msprop:Generator_ColumnPropNameInRow="PersID" msprop:Generator_ColumnPropNameInTable="PersIDColumn" msprop:Generator_UserColumnName="PersID" type="xs:int" minOccurs="0" />
<xs:element name="ID_Task" msprop:Generator_ColumnVarNameInTable="columnID_Task" msprop:Generator_ColumnPropNameInRow="ID_Task" msprop:Generator_ColumnPropNameInTable="ID_TaskColumn" msprop:Generator_UserColumnName="ID_Task" type="xs:int" minOccurs="0" />
<xs:element name="EntryTime" msprop:Generator_ColumnVarNameInTable="columnEntryTime" msprop:Generator_ColumnPropNameInRow="EntryTime" msprop:Generator_ColumnPropNameInTable="EntryTimeColumn" msprop:Generator_UserColumnName="EntryTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="ReturnTime" msprop:Generator_ColumnVarNameInTable="columnReturnTime" msprop:Generator_ColumnPropNameInRow="ReturnTime" msprop:Generator_ColumnPropNameInTable="ReturnTimeColumn" msprop:Generator_UserColumnName="ReturnTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp10Dose" msprop:Generator_ColumnVarNameInTable="columnHp10Dose" msprop:Generator_ColumnPropNameInRow="Hp10Dose" msprop:Generator_ColumnPropNameInTable="Hp10DoseColumn" msprop:Generator_UserColumnName="Hp10Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Dose" msprop:Generator_ColumnVarNameInTable="columnHp07Dose" msprop:Generator_ColumnPropNameInRow="Hp07Dose" msprop:Generator_ColumnPropNameInTable="Hp07DoseColumn" msprop:Generator_UserColumnName="Hp07Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Total" msprop:Generator_ColumnVarNameInTable="columnHp10Total" msprop:Generator_ColumnPropNameInRow="Hp10Total" msprop:Generator_ColumnPropNameInTable="Hp10TotalColumn" msprop:Generator_UserColumnName="Hp10Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Total" msprop:Generator_ColumnVarNameInTable="columnHp07Total" msprop:Generator_ColumnPropNameInRow="Hp07Total" msprop:Generator_ColumnPropNameInTable="Hp07TotalColumn" msprop:Generator_UserColumnName="Hp07Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Peak" msprop:Generator_ColumnVarNameInTable="columnHp10Peak" msprop:Generator_ColumnPropNameInRow="Hp10Peak" msprop:Generator_ColumnPropNameInTable="Hp10PeakColumn" msprop:Generator_UserColumnName="Hp10Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Peak" msprop:Generator_ColumnVarNameInTable="columnHp07Peak" msprop:Generator_ColumnPropNameInRow="Hp07Peak" msprop:Generator_ColumnPropNameInTable="Hp07PeakColumn" msprop:Generator_UserColumnName="Hp07Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Time" msprop:Generator_ColumnVarNameInTable="columnHp10Time" msprop:Generator_ColumnPropNameInRow="Hp10Time" msprop:Generator_ColumnPropNameInTable="Hp10TimeColumn" msprop:Generator_UserColumnName="Hp10Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp07Time" msprop:Generator_ColumnVarNameInTable="columnHp07Time" msprop:Generator_ColumnPropNameInRow="Hp07Time" msprop:Generator_ColumnPropNameInTable="Hp07TimeColumn" msprop:Generator_UserColumnName="Hp07Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="ID_EPD" msprop:Generator_ColumnVarNameInTable="columnID_EPD" msprop:Generator_ColumnPropNameInRow="ID_EPD" msprop:Generator_ColumnPropNameInTable="ID_EPDColumn" msprop:Generator_UserColumnName="ID_EPD" type="xs:int" minOccurs="0" />
<xs:element name="QualityData" msprop:Generator_ColumnVarNameInTable="columnQualityData" msprop:Generator_ColumnPropNameInRow="QualityData" msprop:Generator_ColumnPropNameInTable="QualityDataColumn" msprop:Generator_UserColumnName="QualityData" type="xs:int" minOccurs="0" />
<xs:element name="K1" msprop:Generator_ColumnVarNameInTable="columnK1" msprop:Generator_ColumnPropNameInRow="K1" msprop:Generator_ColumnPropNameInTable="K1Column" msprop:Generator_UserColumnName="K1" type="xs:int" minOccurs="0" />
<xs:element name="K2" msprop:Generator_ColumnVarNameInTable="columnK2" msprop:Generator_ColumnPropNameInRow="K2" msprop:Generator_ColumnPropNameInTable="K2Column" msprop:Generator_UserColumnName="K2" type="xs:int" minOccurs="0" />
<xs:element name="K3" msprop:Generator_ColumnVarNameInTable="columnK3" msprop:Generator_ColumnPropNameInRow="K3" msprop:Generator_ColumnPropNameInTable="K3Column" msprop:Generator_UserColumnName="K3" type="xs:int" minOccurs="0" />
<xs:element name="K4" msprop:Generator_ColumnVarNameInTable="columnK4" msprop:Generator_ColumnPropNameInRow="K4" msprop:Generator_ColumnPropNameInTable="K4Column" msprop:Generator_UserColumnName="K4" type="xs:int" minOccurs="0" />
<xs:element name="K5" msprop:Generator_ColumnVarNameInTable="columnK5" msprop:Generator_ColumnPropNameInRow="K5" msprop:Generator_ColumnPropNameInTable="K5Column" msprop:Generator_UserColumnName="K5" type="xs:int" minOccurs="0" />
<xs:element name="K6" msprop:Generator_ColumnVarNameInTable="columnK6" msprop:Generator_ColumnPropNameInRow="K6" msprop:Generator_ColumnPropNameInTable="K6Column" msprop:Generator_UserColumnName="K6" type="xs:int" minOccurs="0" />
<xs:element name="SG" msprop:Generator_ColumnVarNameInTable="columnSG" msprop:Generator_ColumnPropNameInRow="SG" msprop:Generator_ColumnPropNameInTable="SGColumn" msprop:Generator_UserColumnName="SG" type="xs:int" minOccurs="0" />
<xs:element name="BC" msprop:Generator_ColumnVarNameInTable="columnBC" msprop:Generator_ColumnPropNameInRow="BC" msprop:Generator_ColumnPropNameInTable="BCColumn" msprop:Generator_UserColumnName="BC" type="xs:int" minOccurs="0" />
<xs:element name="FB" msprop:Generator_ColumnVarNameInTable="columnFB" msprop:Generator_ColumnPropNameInRow="FB" msprop:Generator_ColumnPropNameInTable="FBColumn" msprop:Generator_UserColumnName="FB" type="xs:int" minOccurs="0" />
<xs:element name="HG" msprop:Generator_ColumnVarNameInTable="columnHG" msprop:Generator_ColumnPropNameInRow="HG" msprop:Generator_ColumnPropNameInTable="HGColumn" msprop:Generator_UserColumnName="HG" type="xs:int" minOccurs="0" />
<xs:element name="alarmStatus" msprop:Generator_ColumnVarNameInTable="columnalarmStatus" msprop:Generator_ColumnPropNameInRow="alarmStatus" msprop:Generator_ColumnPropNameInTable="alarmStatusColumn" msprop:Generator_UserColumnName="alarmStatus" type="xs:int" minOccurs="0" />
<xs:element name="otherAlarms" msprop:Generator_ColumnVarNameInTable="columnotherAlarms" msprop:Generator_ColumnPropNameInRow="otherAlarms" msprop:Generator_ColumnPropNameInTable="otherAlarmsColumn" msprop:Generator_UserColumnName="otherAlarms" type="xs:int" minOccurs="0" />
<xs:element name="errorStatus" msprop:Generator_ColumnVarNameInTable="columnerrorStatus" msprop:Generator_ColumnPropNameInRow="errorStatus" msprop:Generator_ColumnPropNameInTable="errorStatusColumn" msprop:Generator_UserColumnName="errorStatus" type="xs:int" minOccurs="0" />
<xs:element name="operatingStatus" msprop:Generator_ColumnVarNameInTable="columnoperatingStatus" msprop:Generator_ColumnPropNameInRow="operatingStatus" msprop:Generator_ColumnPropNameInTable="operatingStatusColumn" msprop:Generator_UserColumnName="operatingStatus" type="xs:int" minOccurs="0" />
<xs:element name="isBG" msprop:Generator_ColumnVarNameInTable="columnisBG" msprop:Generator_ColumnPropNameInRow="isBG" msprop:Generator_ColumnPropNameInTable="isBGColumn" msprop:Generator_UserColumnName="isBG" type="xs:boolean" minOccurs="0" />
<xs:element name="isComplete" msprop:Generator_ColumnVarNameInTable="columnisComplete" msprop:Generator_ColumnPropNameInRow="isComplete" msprop:Generator_ColumnPropNameInTable="isCompleteColumn" msprop:Generator_UserColumnName="isComplete" type="xs:boolean" />
<xs:element name="isDeleted" msprop:Generator_ColumnVarNameInTable="columnisDeleted" msprop:Generator_ColumnPropNameInRow="isDeleted" msprop:Generator_ColumnPropNameInTable="isDeletedColumn" msprop:Generator_UserColumnName="isDeleted" type="xs:boolean" />
<xs:element name="isAlarm" msprop:Generator_ColumnVarNameInTable="columnisAlarm" msprop:Generator_ColumnPropNameInRow="isAlarm" msprop:Generator_ColumnPropNameInTable="isAlarmColumn" msprop:Generator_UserColumnName="isAlarm" type="xs:boolean" />
<xs:element name="isAlarmCleared" msprop:Generator_ColumnVarNameInTable="columnisAlarmCleared" msprop:Generator_ColumnPropNameInRow="isAlarmCleared" msprop:Generator_ColumnPropNameInTable="isAlarmClearedColumn" msprop:Generator_UserColumnName="isAlarmCleared" type="xs:boolean" />
<xs:element name="isManualExit" msprop:Generator_ColumnVarNameInTable="columnisManualExit" msprop:Generator_ColumnPropNameInRow="isManualExit" msprop:Generator_ColumnPropNameInTable="isManualExitColumn" msprop:Generator_UserColumnName="isManualExit" type="xs:boolean" />
<xs:element name="ID_Station_Return" msprop:Generator_ColumnVarNameInTable="columnID_Station_Return" msprop:Generator_ColumnPropNameInRow="ID_Station_Return" msprop:Generator_ColumnPropNameInTable="ID_Station_ReturnColumn" msprop:Generator_UserColumnName="ID_Station_Return" type="xs:int" minOccurs="0" />
<xs:element name="ENTRY_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnENTRY_EPD_CLOCK" msprop:Generator_ColumnPropNameInRow="ENTRY_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="ENTRY_EPD_CLOCKColumn" msprop:Generator_UserColumnName="ENTRY_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="EXIT_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnEXIT_EPD_CLOCK" msprop:Generator_ColumnPropNameInRow="EXIT_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="EXIT_EPD_CLOCKColumn" msprop:Generator_UserColumnName="EXIT_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="TIME_LOST" msprop:Generator_ColumnVarNameInTable="columnTIME_LOST" msprop:Generator_ColumnPropNameInRow="TIME_LOST" msprop:Generator_ColumnPropNameInTable="TIME_LOSTColumn" msprop:Generator_UserColumnName="TIME_LOST" type="xs:int" minOccurs="0" />
<xs:element name="VisitStatus" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVisitStatus" msprop:Generator_ColumnPropNameInRow="VisitStatus" msprop:Generator_ColumnPropNameInTable="VisitStatusColumn" msprop:Generator_UserColumnName="VisitStatus" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="syncedEntry" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnsyncedEntry" msprop:Generator_ColumnPropNameInRow="syncedEntry" msprop:Generator_ColumnPropNameInTable="syncedEntryColumn" msprop:Generator_UserColumnName="syncedEntry" type="xs:boolean" minOccurs="0" />
<xs:element name="syncedExit" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnsyncedExit" msprop:Generator_ColumnPropNameInRow="syncedExit" msprop:Generator_ColumnPropNameInTable="syncedExitColumn" msprop:Generator_UserColumnName="syncedExit" type="xs:boolean" minOccurs="0" />
<xs:element name="epdType" msprop:Generator_ColumnVarNameInTable="columnepdType" msprop:Generator_ColumnPropNameInRow="epdType" msprop:Generator_ColumnPropNameInTable="epdTypeColumn" msprop:Generator_UserColumnName="epdType" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="epdID" msprop:Generator_ColumnVarNameInTable="columnepdID" msprop:Generator_ColumnPropNameInRow="epdID" msprop:Generator_ColumnPropNameInTable="epdIDColumn" msprop:Generator_UserColumnName="epdID" type="xs:int" minOccurs="0" />
<xs:element name="eDosBatteryWarning" msprop:Generator_ColumnVarNameInTable="columneDosBatteryWarning" msprop:Generator_ColumnPropNameInRow="eDosBatteryWarning" msprop:Generator_ColumnPropNameInTable="eDosBatteryWarningColumn" msprop:Generator_UserColumnName="eDosBatteryWarning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose07Warning" msprop:Generator_ColumnPropNameInRow="eDosDose07Warning" msprop:Generator_ColumnPropNameInTable="eDosDose07WarningColumn" msprop:Generator_UserColumnName="eDosDose07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose07Alarm" msprop:Generator_ColumnPropNameInRow="eDosDose07Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose07AlarmColumn" msprop:Generator_UserColumnName="eDosDose07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate07Warning" msprop:Generator_ColumnPropNameInRow="eDosRate07Warning" msprop:Generator_ColumnPropNameInTable="eDosRate07WarningColumn" msprop:Generator_UserColumnName="eDosRate07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate07Alarm" msprop:Generator_ColumnPropNameInRow="eDosRate07Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate07AlarmColumn" msprop:Generator_UserColumnName="eDosRate07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose10Warning" msprop:Generator_ColumnPropNameInRow="eDosDose10Warning" msprop:Generator_ColumnPropNameInTable="eDosDose10WarningColumn" msprop:Generator_UserColumnName="eDosDose10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose10Alarm" msprop:Generator_ColumnPropNameInRow="eDosDose10Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose10AlarmColumn" msprop:Generator_UserColumnName="eDosDose10Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate10Warning" msprop:Generator_ColumnPropNameInRow="eDosRate10Warning" msprop:Generator_ColumnPropNameInTable="eDosRate10WarningColumn" msprop:Generator_UserColumnName="eDosRate10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate10Alarm" msprop:Generator_ColumnPropNameInRow="eDosRate10Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate10AlarmColumn" msprop:Generator_UserColumnName="eDosRate10Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="ID_Station" msprop:Generator_ColumnPropNameInTable="ID_StationColumn" msprop:Generator_ColumnPropNameInRow="ID_Station" msprop:Generator_UserColumnName="ID_Station" msprop:Generator_ColumnVarNameInTable="columnID_Station" type="xs:int" />
<xs:element name="ID_Visit" msprop:Generator_ColumnPropNameInTable="ID_VisitColumn" msprop:Generator_ColumnPropNameInRow="ID_Visit" msprop:Generator_UserColumnName="ID_Visit" msprop:Generator_ColumnVarNameInTable="columnID_Visit" type="xs:int" />
<xs:element name="Inst_CODE" msprop:Generator_ColumnPropNameInTable="Inst_CODEColumn" msprop:Generator_ColumnPropNameInRow="Inst_CODE" msprop:Generator_UserColumnName="Inst_CODE" msprop:Generator_ColumnVarNameInTable="columnInst_CODE" type="xs:int" />
<xs:element name="PersID" msprop:Generator_ColumnPropNameInTable="PersIDColumn" msprop:Generator_ColumnPropNameInRow="PersID" msprop:Generator_UserColumnName="PersID" msprop:Generator_ColumnVarNameInTable="columnPersID" type="xs:int" minOccurs="0" />
<xs:element name="ID_Task" msprop:Generator_ColumnPropNameInTable="ID_TaskColumn" msprop:Generator_ColumnPropNameInRow="ID_Task" msprop:Generator_UserColumnName="ID_Task" msprop:Generator_ColumnVarNameInTable="columnID_Task" type="xs:int" minOccurs="0" />
<xs:element name="EntryTime" msprop:Generator_ColumnPropNameInTable="EntryTimeColumn" msprop:Generator_ColumnPropNameInRow="EntryTime" msprop:Generator_UserColumnName="EntryTime" msprop:Generator_ColumnVarNameInTable="columnEntryTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="ReturnTime" msprop:Generator_ColumnPropNameInTable="ReturnTimeColumn" msprop:Generator_ColumnPropNameInRow="ReturnTime" msprop:Generator_UserColumnName="ReturnTime" msprop:Generator_ColumnVarNameInTable="columnReturnTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp10Dose" msprop:Generator_ColumnPropNameInTable="Hp10DoseColumn" msprop:Generator_ColumnPropNameInRow="Hp10Dose" msprop:Generator_UserColumnName="Hp10Dose" msprop:Generator_ColumnVarNameInTable="columnHp10Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Dose" msprop:Generator_ColumnPropNameInTable="Hp07DoseColumn" msprop:Generator_ColumnPropNameInRow="Hp07Dose" msprop:Generator_UserColumnName="Hp07Dose" msprop:Generator_ColumnVarNameInTable="columnHp07Dose" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Total" msprop:Generator_ColumnPropNameInTable="Hp10TotalColumn" msprop:Generator_ColumnPropNameInRow="Hp10Total" msprop:Generator_UserColumnName="Hp10Total" msprop:Generator_ColumnVarNameInTable="columnHp10Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Total" msprop:Generator_ColumnPropNameInTable="Hp07TotalColumn" msprop:Generator_ColumnPropNameInRow="Hp07Total" msprop:Generator_UserColumnName="Hp07Total" msprop:Generator_ColumnVarNameInTable="columnHp07Total" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Peak" msprop:Generator_ColumnPropNameInTable="Hp10PeakColumn" msprop:Generator_ColumnPropNameInRow="Hp10Peak" msprop:Generator_UserColumnName="Hp10Peak" msprop:Generator_ColumnVarNameInTable="columnHp10Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp07Peak" msprop:Generator_ColumnPropNameInTable="Hp07PeakColumn" msprop:Generator_ColumnPropNameInRow="Hp07Peak" msprop:Generator_UserColumnName="Hp07Peak" msprop:Generator_ColumnVarNameInTable="columnHp07Peak" type="xs:double" minOccurs="0" />
<xs:element name="Hp10Time" msprop:Generator_ColumnPropNameInTable="Hp10TimeColumn" msprop:Generator_ColumnPropNameInRow="Hp10Time" msprop:Generator_UserColumnName="Hp10Time" msprop:Generator_ColumnVarNameInTable="columnHp10Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="Hp07Time" msprop:Generator_ColumnPropNameInTable="Hp07TimeColumn" msprop:Generator_ColumnPropNameInRow="Hp07Time" msprop:Generator_UserColumnName="Hp07Time" msprop:Generator_ColumnVarNameInTable="columnHp07Time" type="xs:dateTime" minOccurs="0" />
<xs:element name="ID_EPD" msprop:Generator_ColumnPropNameInTable="ID_EPDColumn" msprop:Generator_ColumnPropNameInRow="ID_EPD" msprop:Generator_UserColumnName="ID_EPD" msprop:Generator_ColumnVarNameInTable="columnID_EPD" type="xs:int" minOccurs="0" />
<xs:element name="QualityData" msprop:Generator_ColumnPropNameInTable="QualityDataColumn" msprop:Generator_ColumnPropNameInRow="QualityData" msprop:Generator_UserColumnName="QualityData" msprop:Generator_ColumnVarNameInTable="columnQualityData" type="xs:int" minOccurs="0" />
<xs:element name="K1" msprop:Generator_ColumnPropNameInTable="K1Column" msprop:Generator_ColumnPropNameInRow="K1" msprop:Generator_UserColumnName="K1" msprop:Generator_ColumnVarNameInTable="columnK1" type="xs:int" minOccurs="0" />
<xs:element name="K2" msprop:Generator_ColumnPropNameInTable="K2Column" msprop:Generator_ColumnPropNameInRow="K2" msprop:Generator_UserColumnName="K2" msprop:Generator_ColumnVarNameInTable="columnK2" type="xs:int" minOccurs="0" />
<xs:element name="K3" msprop:Generator_ColumnPropNameInTable="K3Column" msprop:Generator_ColumnPropNameInRow="K3" msprop:Generator_UserColumnName="K3" msprop:Generator_ColumnVarNameInTable="columnK3" type="xs:int" minOccurs="0" />
<xs:element name="K4" msprop:Generator_ColumnPropNameInTable="K4Column" msprop:Generator_ColumnPropNameInRow="K4" msprop:Generator_UserColumnName="K4" msprop:Generator_ColumnVarNameInTable="columnK4" type="xs:int" minOccurs="0" />
<xs:element name="K5" msprop:Generator_ColumnPropNameInTable="K5Column" msprop:Generator_ColumnPropNameInRow="K5" msprop:Generator_UserColumnName="K5" msprop:Generator_ColumnVarNameInTable="columnK5" type="xs:int" minOccurs="0" />
<xs:element name="K6" msprop:Generator_ColumnPropNameInTable="K6Column" msprop:Generator_ColumnPropNameInRow="K6" msprop:Generator_UserColumnName="K6" msprop:Generator_ColumnVarNameInTable="columnK6" type="xs:int" minOccurs="0" />
<xs:element name="SG" msprop:Generator_ColumnPropNameInTable="SGColumn" msprop:Generator_ColumnPropNameInRow="SG" msprop:Generator_UserColumnName="SG" msprop:Generator_ColumnVarNameInTable="columnSG" type="xs:int" minOccurs="0" />
<xs:element name="BC" msprop:Generator_ColumnPropNameInTable="BCColumn" msprop:Generator_ColumnPropNameInRow="BC" msprop:Generator_UserColumnName="BC" msprop:Generator_ColumnVarNameInTable="columnBC" type="xs:int" minOccurs="0" />
<xs:element name="FB" msprop:Generator_ColumnPropNameInTable="FBColumn" msprop:Generator_ColumnPropNameInRow="FB" msprop:Generator_UserColumnName="FB" msprop:Generator_ColumnVarNameInTable="columnFB" type="xs:int" minOccurs="0" />
<xs:element name="HG" msprop:Generator_ColumnPropNameInTable="HGColumn" msprop:Generator_ColumnPropNameInRow="HG" msprop:Generator_UserColumnName="HG" msprop:Generator_ColumnVarNameInTable="columnHG" type="xs:int" minOccurs="0" />
<xs:element name="alarmStatus" msprop:Generator_ColumnPropNameInTable="alarmStatusColumn" msprop:Generator_ColumnPropNameInRow="alarmStatus" msprop:Generator_UserColumnName="alarmStatus" msprop:Generator_ColumnVarNameInTable="columnalarmStatus" type="xs:int" minOccurs="0" />
<xs:element name="otherAlarms" msprop:Generator_ColumnPropNameInTable="otherAlarmsColumn" msprop:Generator_ColumnPropNameInRow="otherAlarms" msprop:Generator_UserColumnName="otherAlarms" msprop:Generator_ColumnVarNameInTable="columnotherAlarms" type="xs:int" minOccurs="0" />
<xs:element name="errorStatus" msprop:Generator_ColumnPropNameInTable="errorStatusColumn" msprop:Generator_ColumnPropNameInRow="errorStatus" msprop:Generator_UserColumnName="errorStatus" msprop:Generator_ColumnVarNameInTable="columnerrorStatus" type="xs:int" minOccurs="0" />
<xs:element name="operatingStatus" msprop:Generator_ColumnPropNameInTable="operatingStatusColumn" msprop:Generator_ColumnPropNameInRow="operatingStatus" msprop:Generator_UserColumnName="operatingStatus" msprop:Generator_ColumnVarNameInTable="columnoperatingStatus" type="xs:int" minOccurs="0" />
<xs:element name="isBG" msprop:Generator_ColumnPropNameInTable="isBGColumn" msprop:Generator_ColumnPropNameInRow="isBG" msprop:Generator_UserColumnName="isBG" msprop:Generator_ColumnVarNameInTable="columnisBG" type="xs:boolean" minOccurs="0" />
<xs:element name="isComplete" msprop:Generator_ColumnPropNameInTable="isCompleteColumn" msprop:Generator_ColumnPropNameInRow="isComplete" msprop:Generator_UserColumnName="isComplete" msprop:Generator_ColumnVarNameInTable="columnisComplete" type="xs:boolean" />
<xs:element name="isDeleted" msprop:Generator_ColumnPropNameInTable="isDeletedColumn" msprop:Generator_ColumnPropNameInRow="isDeleted" msprop:Generator_UserColumnName="isDeleted" msprop:Generator_ColumnVarNameInTable="columnisDeleted" type="xs:boolean" />
<xs:element name="isAlarm" msprop:Generator_ColumnPropNameInTable="isAlarmColumn" msprop:Generator_ColumnPropNameInRow="isAlarm" msprop:Generator_UserColumnName="isAlarm" msprop:Generator_ColumnVarNameInTable="columnisAlarm" type="xs:boolean" />
<xs:element name="isAlarmCleared" msprop:Generator_ColumnPropNameInTable="isAlarmClearedColumn" msprop:Generator_ColumnPropNameInRow="isAlarmCleared" msprop:Generator_UserColumnName="isAlarmCleared" msprop:Generator_ColumnVarNameInTable="columnisAlarmCleared" type="xs:boolean" />
<xs:element name="isManualExit" msprop:Generator_ColumnPropNameInTable="isManualExitColumn" msprop:Generator_ColumnPropNameInRow="isManualExit" msprop:Generator_UserColumnName="isManualExit" msprop:Generator_ColumnVarNameInTable="columnisManualExit" type="xs:boolean" />
<xs:element name="ID_Station_Return" msprop:Generator_ColumnPropNameInTable="ID_Station_ReturnColumn" msprop:Generator_ColumnPropNameInRow="ID_Station_Return" msprop:Generator_UserColumnName="ID_Station_Return" msprop:Generator_ColumnVarNameInTable="columnID_Station_Return" type="xs:int" minOccurs="0" />
<xs:element name="ENTRY_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="ENTRY_EPD_CLOCKColumn" msprop:Generator_ColumnPropNameInRow="ENTRY_EPD_CLOCK" msprop:Generator_UserColumnName="ENTRY_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnENTRY_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="EXIT_EPD_CLOCK" msprop:Generator_ColumnPropNameInTable="EXIT_EPD_CLOCKColumn" msprop:Generator_ColumnPropNameInRow="EXIT_EPD_CLOCK" msprop:Generator_UserColumnName="EXIT_EPD_CLOCK" msprop:Generator_ColumnVarNameInTable="columnEXIT_EPD_CLOCK" type="xs:decimal" minOccurs="0" />
<xs:element name="TIME_LOST" msprop:Generator_ColumnPropNameInTable="TIME_LOSTColumn" msprop:Generator_ColumnPropNameInRow="TIME_LOST" msprop:Generator_UserColumnName="TIME_LOST" msprop:Generator_ColumnVarNameInTable="columnTIME_LOST" type="xs:int" minOccurs="0" />
<xs:element name="VisitStatus" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="VisitStatusColumn" msprop:Generator_ColumnPropNameInRow="VisitStatus" msprop:Generator_UserColumnName="VisitStatus" msprop:Generator_ColumnVarNameInTable="columnVisitStatus" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="syncedEntry" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="syncedEntryColumn" msprop:Generator_ColumnPropNameInRow="syncedEntry" msprop:Generator_UserColumnName="syncedEntry" msprop:Generator_ColumnVarNameInTable="columnsyncedEntry" type="xs:boolean" minOccurs="0" />
<xs:element name="syncedExit" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="syncedExitColumn" msprop:Generator_ColumnPropNameInRow="syncedExit" msprop:Generator_UserColumnName="syncedExit" msprop:Generator_ColumnVarNameInTable="columnsyncedExit" type="xs:boolean" minOccurs="0" />
<xs:element name="epdType" msprop:Generator_ColumnPropNameInTable="epdTypeColumn" msprop:Generator_ColumnPropNameInRow="epdType" msprop:Generator_UserColumnName="epdType" msprop:Generator_ColumnVarNameInTable="columnepdType" type="xs:unsignedByte" minOccurs="0" />
<xs:element name="epdID" msprop:Generator_ColumnPropNameInTable="epdIDColumn" msprop:Generator_ColumnPropNameInRow="epdID" msprop:Generator_UserColumnName="epdID" msprop:Generator_ColumnVarNameInTable="columnepdID" type="xs:int" minOccurs="0" />
<xs:element name="eDosBatteryWarning" msprop:Generator_ColumnPropNameInTable="eDosBatteryWarningColumn" msprop:Generator_ColumnPropNameInRow="eDosBatteryWarning" msprop:Generator_UserColumnName="eDosBatteryWarning" msprop:Generator_ColumnVarNameInTable="columneDosBatteryWarning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Warning" msprop:Generator_ColumnPropNameInTable="eDosDose07WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosDose07Warning" msprop:Generator_UserColumnName="eDosDose07Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose07Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose07AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosDose07Alarm" msprop:Generator_UserColumnName="eDosDose07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Warning" msprop:Generator_ColumnPropNameInTable="eDosRate07WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosRate07Warning" msprop:Generator_UserColumnName="eDosRate07Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate07Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate07Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate07AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosRate07Alarm" msprop:Generator_UserColumnName="eDosRate07Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate07Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Warning" msprop:Generator_ColumnPropNameInTable="eDosDose10WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosDose10Warning" msprop:Generator_UserColumnName="eDosDose10Warning" msprop:Generator_ColumnVarNameInTable="columneDosDose10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosDose10Alarm" msprop:Generator_ColumnPropNameInTable="eDosDose10AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosDose10Alarm" msprop:Generator_UserColumnName="eDosDose10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosDose10Alarm" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Warning" msprop:Generator_ColumnPropNameInTable="eDosRate10WarningColumn" msprop:Generator_ColumnPropNameInRow="eDosRate10Warning" msprop:Generator_UserColumnName="eDosRate10Warning" msprop:Generator_ColumnVarNameInTable="columneDosRate10Warning" type="xs:boolean" minOccurs="0" />
<xs:element name="eDosRate10Alarm" msprop:Generator_ColumnPropNameInTable="eDosRate10AlarmColumn" msprop:Generator_ColumnPropNameInRow="eDosRate10Alarm" msprop:Generator_UserColumnName="eDosRate10Alarm" msprop:Generator_ColumnVarNameInTable="columneDosRate10Alarm" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EPDID" msprop:Generator_RowEvHandlerName="EPDIDRowChangeEventHandler" msprop:Generator_RowDeletedName="EPDIDRowDeleted" msprop:Generator_RowDeletingName="EPDIDRowDeleting" msprop:Generator_RowEvArgName="EPDIDRowChangeEvent" msprop:Generator_TablePropName="EPDID" msprop:Generator_RowChangedName="EPDIDRowChanged" msprop:Generator_UserTableName="EPDID" msprop:Generator_RowChangingName="EPDIDRowChanging" msprop:Generator_RowClassName="EPDIDRow" msprop:Generator_TableClassName="EPDIDDataTable" msprop:Generator_TableVarName="tableEPDID">
<xs:complexType>
<xs:sequence>
<xs:element name="EPDID" msprop:Generator_ColumnPropNameInTable="EPDIDColumn" msprop:Generator_ColumnPropNameInRow="EPDID" msprop:Generator_UserColumnName="EPDID" msprop:Generator_ColumnVarNameInTable="columnEPDID" type="xs:int" />
<xs:element name="FirmWare" msprop:Generator_ColumnPropNameInTable="FirmWareColumn" msprop:Generator_ColumnPropNameInRow="FirmWare" msprop:Generator_UserColumnName="FirmWare" msprop:Generator_ColumnVarNameInTable="columnFirmWare" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="First_Station" msprop:Generator_ColumnPropNameInTable="First_StationColumn" msprop:Generator_ColumnPropNameInRow="First_Station" msprop:Generator_UserColumnName="First_Station" msprop:Generator_ColumnVarNameInTable="columnFirst_Station" type="xs:int" />
<xs:element name="firstseen" msprop:Generator_ColumnPropNameInTable="firstseenColumn" msprop:Generator_ColumnPropNameInRow="firstseen" msprop:Generator_UserColumnName="firstseen" msprop:Generator_ColumnVarNameInTable="columnfirstseen" type="xs:dateTime" />
<xs:element name="Last_Station" msprop:Generator_ColumnPropNameInTable="Last_StationColumn" msprop:Generator_ColumnPropNameInRow="Last_Station" msprop:Generator_UserColumnName="Last_Station" msprop:Generator_ColumnVarNameInTable="columnLast_Station" type="xs:int" minOccurs="0" />
<xs:element name="lastseen" msprop:Generator_ColumnPropNameInTable="lastseenColumn" msprop:Generator_ColumnPropNameInRow="lastseen" msprop:Generator_UserColumnName="lastseen" msprop:Generator_ColumnVarNameInTable="columnlastseen" type="xs:dateTime" minOccurs="0" />
<xs:element name="epdType" msprop:Generator_ColumnPropNameInTable="epdTypeColumn" msprop:Generator_ColumnPropNameInRow="epdType" msprop:Generator_UserColumnName="epdType" msprop:Generator_ColumnVarNameInTable="columnepdType" type="xs:unsignedByte" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EPDDeviceLog" msprop:Generator_RowEvHandlerName="EPDDeviceLogRowChangeEventHandler" msprop:Generator_RowDeletedName="EPDDeviceLogRowDeleted" msprop:Generator_RowDeletingName="EPDDeviceLogRowDeleting" msprop:Generator_RowEvArgName="EPDDeviceLogRowChangeEvent" msprop:Generator_TablePropName="EPDDeviceLog" msprop:Generator_RowChangedName="EPDDeviceLogRowChanged" msprop:Generator_UserTableName="EPDDeviceLog" msprop:Generator_RowChangingName="EPDDeviceLogRowChanging" msprop:Generator_RowClassName="EPDDeviceLogRow" msprop:Generator_TableClassName="EPDDeviceLogDataTable" msprop:Generator_TableVarName="tableEPDDeviceLog">
<xs:complexType>
<xs:sequence>
<xs:element name="EPDID" msprop:Generator_ColumnPropNameInTable="EPDIDColumn" msprop:Generator_ColumnPropNameInRow="EPDID" msprop:Generator_UserColumnName="EPDID" msprop:Generator_ColumnVarNameInTable="columnEPDID" type="xs:int" />
<xs:element name="ID_Station" msprop:Generator_ColumnPropNameInTable="ID_StationColumn" msprop:Generator_ColumnPropNameInRow="ID_Station" msprop:Generator_UserColumnName="ID_Station" msprop:Generator_ColumnVarNameInTable="columnID_Station" type="xs:int" />
<xs:element name="ID_Visit" msprop:Generator_ColumnPropNameInTable="ID_VisitColumn" msprop:Generator_ColumnPropNameInRow="ID_Visit" msprop:Generator_UserColumnName="ID_Visit" msprop:Generator_ColumnVarNameInTable="columnID_Visit" type="xs:int" />
<xs:element name="updated" msprop:Generator_ColumnPropNameInTable="updatedColumn" msprop:Generator_ColumnPropNameInRow="updated" msprop:Generator_UserColumnName="updated" msprop:Generator_ColumnVarNameInTable="columnupdated" type="xs:dateTime" />
<xs:element name="BatNoload_mV" msprop:Generator_ColumnPropNameInTable="BatNoload_mVColumn" msprop:Generator_ColumnPropNameInRow="BatNoload_mV" msprop:Generator_UserColumnName="BatNoload_mV" msprop:Generator_ColumnVarNameInTable="columnBatNoload_mV" type="xs:int" />
<xs:element name="Batload_mV" msprop:Generator_ColumnPropNameInTable="Batload_mVColumn" msprop:Generator_ColumnPropNameInRow="Batload_mV" msprop:Generator_UserColumnName="Batload_mV" msprop:Generator_ColumnVarNameInTable="columnBatload_mV" type="xs:int" />
<xs:element name="CPU_mV" msprop:Generator_ColumnPropNameInTable="CPU_mVColumn" msprop:Generator_ColumnPropNameInRow="CPU_mV" msprop:Generator_UserColumnName="CPU_mV" msprop:Generator_ColumnVarNameInTable="columnCPU_mV" type="xs:int" />
<xs:element name="r_InvalidState" msprop:Generator_ColumnPropNameInTable="r_InvalidStateColumn" msprop:Generator_ColumnPropNameInRow="r_InvalidState" msprop:Generator_UserColumnName="r_InvalidState" msprop:Generator_ColumnVarNameInTable="columnr_InvalidState" type="xs:int" />
<xs:element name="r_OperationTimeout" msprop:Generator_ColumnPropNameInTable="r_OperationTimeoutColumn" msprop:Generator_ColumnPropNameInRow="r_OperationTimeout" msprop:Generator_UserColumnName="r_OperationTimeout" msprop:Generator_ColumnVarNameInTable="columnr_OperationTimeout" type="xs:int" />
<xs:element name="r_InsufficientPriv" msprop:Generator_ColumnPropNameInTable="r_InsufficientPrivColumn" msprop:Generator_ColumnPropNameInRow="r_InsufficientPriv" msprop:Generator_UserColumnName="r_InsufficientPriv" msprop:Generator_ColumnVarNameInTable="columnr_InsufficientPriv" type="xs:int" />
<xs:element name="r_OperationFailed" msprop:Generator_ColumnPropNameInTable="r_OperationFailedColumn" msprop:Generator_ColumnPropNameInRow="r_OperationFailed" msprop:Generator_UserColumnName="r_OperationFailed" msprop:Generator_ColumnVarNameInTable="columnr_OperationFailed" type="xs:int" />
<xs:element name="r_OtherError" msprop:Generator_ColumnPropNameInTable="r_OtherErrorColumn" msprop:Generator_ColumnPropNameInRow="r_OtherError" msprop:Generator_UserColumnName="r_OtherError" msprop:Generator_ColumnVarNameInTable="columnr_OtherError" type="xs:int" />
<xs:element name="Registered" msprop:Generator_ColumnPropNameInTable="RegisteredColumn" msprop:Generator_ColumnPropNameInRow="Registered" msprop:Generator_UserColumnName="Registered" msprop:Generator_ColumnVarNameInTable="columnRegistered" type="xs:boolean" minOccurs="0" />
<xs:element name="WriteTime" msprop:Generator_ColumnPropNameInTable="WriteTimeColumn" msprop:Generator_ColumnPropNameInRow="WriteTime" msprop:Generator_UserColumnName="WriteTime" msprop:Generator_ColumnVarNameInTable="columnWriteTime" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@ -430,5 +626,14 @@
<xs:field xpath="mstns:ID_Station" />
<xs:field xpath="mstns:ID_Visit" />
</xs:unique>
<xs:unique name="EPDID_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:EPDID" />
<xs:field xpath="mstns:EPDID" />
</xs:unique>
<xs:unique name="EPDDeviceLog_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:EPDDeviceLog" />
<xs:field xpath="mstns:ID_Station" />
<xs:field xpath="mstns:ID_Visit" />
</xs:unique>
</xs:element>
</xs:schema>

View file

@ -4,10 +4,13 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LocalVisits" ZOrder="2" X="369" Y="19" Height="471" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="403" />
<Shape ID="DesignTable:CentralVisits" ZOrder="1" X="760" Y="20" Height="1122" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="1071" />
<Shape ID="DesignTable:LocalVisits" ZOrder="5" X="369" Y="19" Height="471" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="403" />
<Shape ID="DesignTable:CentralVisits" ZOrder="4" X="760" Y="20" Height="1122" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="1071" />
<Shape ID="DesignTable:EPDID" ZOrder="3" X="57" Y="51" Height="250" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:EPDDeviceLog" ZOrder="2" X="53" Y="328" Height="388" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="0" Y="0" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="225" />
</Shapes>
<Connectors />
</DiagramLayout>

View file

@ -95,6 +95,8 @@ namespace syncEdosLocal
}
}
class Program
{
//[DllImport("kernel32.dll")] static extern IntPtr GetConsoleWindow();
@ -368,6 +370,42 @@ namespace syncEdosLocal
}
return error;
}
static public void test()
{
int? ID_station, ID_Visit;
DataSet1 ds = new DataSet1();
DataSet1TableAdapters.QueriesTableAdapter qta = new DataSet1TableAdapters.QueriesTableAdapter();
ID_station = qta.GetID_LocalStation() as int? ?? 0;
if (ID_station.HasValue && ID_station.Value > 0)
{
using (DataSet1TableAdapters.EPDIDTableAdapter ttd = new DataSet1TableAdapters.EPDIDTableAdapter())
{
ttd.AcceptChangesDuringFill = false;
ttd.Fill(ds.EPDID);
ttd.DynamicConnectionString = Properties.Settings.Default.eDosConnectionString;
ttd.Update(ds.EPDID);
}
ID_Visit = qta.GetMaxVisit(ID_station.Value) as int?;
using (DataSet1TableAdapters.EPDDeviceLogTableAdapter tta = new DataSet1TableAdapters.EPDDeviceLogTableAdapter())
{
tta.AcceptChangesDuringFill = false;
tta.Fill(ds.EPDDeviceLog, ID_station ?? 0, ID_Visit ?? 0);
tta.DynamicConnectionString = Properties.Settings.Default.eDosConnectionString;
tta.Update(ds.EPDDeviceLog);
//foreach (DataSet1.EPDDeviceLogRow row in ds.EPDDeviceLog.Rows)
//{
// if (row.RowState == DataRowState.Deleted) continue;
// tta.Update(row);
// qta.EpdDeviceLogUpdate(row.EPDID, row.ID_Station, row.ID_Visit, row.updated, row.BatNoload_mV, row.Batload_mV, row.CPU_mV, row.r_InvalidState, row.r_OperationTimeout, row.r_InsufficientPriv, row.r_OperationFailed, row.r_OtherError, row.Registered, row.WriteTime);
//}
}
}
}
static void Main(string[] args)
{
@ -420,6 +458,8 @@ namespace syncEdosLocal
SourceCoStr.ApplicationName = LocalCoStr.ApplicationName = "eDosSync";
SourceCoStr.WorkstationID = LocalCoStr.WorkstationID = Environment.MachineName;
test();
string reDos = string.Empty;
string reDosLocal = string.Empty;
step = "init";

View file

@ -15,6 +15,21 @@
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@ -71,6 +86,9 @@
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="DataSet1.cs">
<DependentUpon>DataSet1.xsd</DependentUpon>
</Compile>
<Compile Include="DataSet1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@ -120,6 +138,18 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.8 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if defined signer %25signer%25 $(TargetPath)</PostBuildEvent>