📄 ecg_data.h
字号:
// 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_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -