60 lines
766 B
C++
60 lines
766 B
C++
#pragma once
|
|
#include "..\EpdBase\EpdBase.h"
|
|
#pragma comment(lib,"dll2/Reader2.lib")
|
|
using namespace System;
|
|
|
|
namespace EpdBaseClr {
|
|
|
|
public ref class sEpdBase
|
|
{
|
|
public :
|
|
DateTime^ RealTime;
|
|
unsigned int CurrentDeviceID;
|
|
};
|
|
|
|
|
|
public ref class Epd2
|
|
{
|
|
|
|
|
|
public:
|
|
EpdBase::Epd2U *epd;
|
|
sEpdBase^ b;
|
|
DateTime^ RealTime;
|
|
String^ WearerName;
|
|
String^ WearerID;
|
|
bool Issued;
|
|
bool isOn;
|
|
|
|
int InitRV;
|
|
int DiscRV;
|
|
int StatusRV;
|
|
int ReadDosesRV;
|
|
|
|
|
|
double Hp07;
|
|
double Hp10;
|
|
double Hp07Peak;
|
|
double Hp10Peak;
|
|
|
|
|
|
double alarmHP07;
|
|
double alarmHP10;
|
|
|
|
|
|
Epd2(int port);
|
|
|
|
int Connect();
|
|
|
|
int GetStatus();
|
|
|
|
int GetDoses();
|
|
|
|
int SetDeIssued();
|
|
|
|
int SetIssued();
|
|
|
|
|
|
|
|
};
|
|
}
|