⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gagerr.h

📁 winsail v2.0是用于DOS下的图形界面空间系统
💻 H
字号:
#ifndef _GAGERR_H_
#define _GAGERR_H_

class  CGageRR
{
private:
	char m_strUnit[20];
	char m_strCaption[32];
private:
	int m_nFillColor;
	int m_nLineColor;
	int m_nPublicTextColor;
private:
	int m_nPepoles;
	int m_nTimes;
	int m_nSamples;
	int m_nRowHeight;
	int m_nTextWidth;
	int m_nEx;
private:
	float m_fTolerance;
	float m_fBase;
	BOOL  m_bTolerance;

private:
	float m_fRp;
	float m_fR;
	float m_fXp;
	float m_fDiffX;

	float m_fEV;
	float m_fAV;
	float m_fR_R;
	float m_fPV;
	float m_fTV;
	float m_fEV_P;
	float m_fAV_P;
	float m_fR_R_P;
	float m_fPV_P;
	float m_fGageRR_P;
private:
	float *m_pfData;
public:
	void  SetUnit(char *pStr){_fstrcpy(m_strUnit,pStr);}
	void  SetCaption(char *pStr){_fstrcpy(m_strCaption,pStr);}

	float GetRp(){return(m_fRp);}
	float GetR(){return(m_fR);}
	float GetXp(){return(m_fXp);}
	float GetDiffX(){return(m_fDiffX);}

	float GetEV(){return(m_fEV);}
	float GetAV(){return(m_fAV);}
	float GetR_R(){return(m_fR_R);}
	float GetPV(){return(m_fPV);}
	float GetTV(){return(m_fTV);}

	float GetEV_P(){return(m_fEV_P);}
	float GetAV_P(){return(m_fAV_P);}
	float GetR_R_P(){return(m_fR_R_P);}
	float GetPV_P(){return(m_fPV_P);}
	float GetGageRR_P(){return(m_fGageRR_P);}
public:
	void  SetToleranceAttrib(float fBase,float fTolerance,BOOL bTolerance){m_fBase = fBase,m_fTolerance = fTolerance,m_bTolerance = bTolerance;}
	void SetPepoles(int nPepoles){m_nPepoles = nPepoles;}
	void SetTimes(int nTimes)    {m_nTimes   = nTimes;}
	void SetSamples(int nSamples){m_nSamples = nSamples;}
	void SetRowHeight(int nRowHeight){m_nRowHeight = nRowHeight;}
	void SetTextWidth(int nTextWidth){m_nTextWidth = nTextWidth;}
	void SetEx(int nEx){m_nEx = nEx;}
public:
	void SetData(float *pfData,int nPepoles,int nTimes,int nSamples);

	int  DrawGageRR(int nLeft,int nTop,int nPageWidth,int nPageHeight,int nPageOrder,BOOL bPrint);
	int  PrintGageRR(BOOL bPrint);
	int  DrawHistogram(int nLeft,int nTop,int nWidth,int nHeight);
public:
	CGageRR();
	~CGageRR();
};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -