|
// ECG_Data.h: interface for the ECG_Data class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ECG_DATA_H__01535160_9360_11D7_8A9A_85AFB17F9D7A__INCLUDED_)
#define AFX_ECG_DATA_H__01535160_9360_11D7_8A9A_85AFB17F9D7A__INCLUDED_
#include "Person.h" // Added by ClassView
#include "ECG_Info.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CECG_Data
{
public:
int GetQTQTcms(int pos);
int GetPRms(int pos);
int GetQRSms(int pos);
CEcg_Info ecg_info;
CPerson person;
void GetPosTime(int pos,BYTE* hh,BYTE* mm);
int GetQRSCount(int pos);
CString GetInfoFrom(int pos,int* qrs_count,int * qrs_ms,int* pr_ms,int* qt_qtc_ms,BYTE* hh,BYTE* mm);
void SetInfoAt(int pos,CString comment,int qrs_count,int qrs_ms,int pr_ms,int qt_qtc_ms,BYTE hh,BYTE mm);
void SerializeAll(CArchive* ar);
void RemoveAll();
void OpenFile(CString File_Name);
void SaveData(CString File_Name);
int GetAllDataLenght();
void GetFrom(double* dest,int start,int lenght);
void SetDataAt(double* source,int start,int lenght);
void Message(double msg);
void SetDataNew(double* source,int lenght,CString commentint,int QRS_count,int QRS_ms,int PR_ms,int QT_QTc_ms,BYTE hh,BYTE mm);
CWordArray DATA;//array will store the data
CStringArray COMMENT;
CWordArray QRS_COUNT;
CWordArray QRS_MS;
CWordArray PR_MS;
CWordArray QT_QTc_MS;
CWordArray TIME;
CECG_Data();
virtual ~CECG_Data();
private:
void GetTime(WORD w_time,BYTE* hh,BYTE* mm);
WORD SetTime(BYTE hh,BYTE mm);
};
#endif // !defined(AFX_ECG_DATA_H__01535160_9360_11D7_8A9A_85AFB17F9D7A__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here