eDosStation/EpdBaseClr/EpdBaseClr.h

105 lines
1.4 KiB
C
Raw Normal View History

2019-02-01 17:35:18 +01:00
#pragma once
#include "..\EpdBase\EpdBase.h"
#pragma comment(lib,"dll2/Reader2.lib")
using namespace System;
namespace EpdBaseClr {
2019-02-04 11:48:08 +01:00
public ref class sEpdBase
{
public :
DateTime^ RealTime;
unsigned int CurrentDeviceID;
2019-02-01 17:35:18 +01:00
};
public ref class Epd2
{
public:
EpdBase::Epd2U *epd;
sEpdBase^ b;
DateTime^ RealTime;
String^ WearerName;
String^ WearerID;
bool Issued;
bool isOn;
int InitRV;
int DiscRV;
int StatusRV;
int ReadDosesRV;
double Hp07;
double Hp10;
double Hp07Peak;
double Hp10Peak;
2019-02-04 11:48:08 +01:00
System::DateTime Hp10PeakTime;
System::DateTime Hp07PeakTime;
2019-02-01 17:35:18 +01:00
double alarmHP07;
double alarmHP10;
2019-02-04 11:48:08 +01:00
double Hp10THDose1;
double Hp10THDose2;
double Hp07THDose;
double Hp10Rate1On;
double Hp10Rate2On;
double Hp07RateOn;
double Hp10Rate1Off;
double Hp10Rate2Off;
double Hp07RateOff;
int K1;
int K2;
int K3;
int K4;
int K5;
int K6;
int SG;
int BC;
int FB;
int HG;
int epdType;
int alarmStatus ;
int otherAlarms ;
int errorStatus ;
int operatingStatus ;
unsigned int EpdID ;
int HardVersion ;
int SoftVersion ;
int FunctionFlags ;
2019-02-01 17:35:18 +01:00
Epd2(int port);
2019-02-04 11:48:08 +01:00
~Epd2();
!Epd2();
2019-02-01 17:35:18 +01:00
int Connect();
2019-02-04 11:48:08 +01:00
int Close();
2019-02-01 17:35:18 +01:00
int GetStatus();
int GetDoses();
int SetDeIssued();
int SetIssued();
2019-02-04 11:48:08 +01:00
int ReadTresholds();
2019-02-01 17:35:18 +01:00
};
}