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

📄 wjcdlg.h

📁 这是本人帮别人做的万能试验机数据吹系统(部分)
💻 H
字号:
// WJCDlg.h : header file
//

#if !defined(AFX_WJCDLG_H__25B82492_2BAC_4334_92E2_65421285473B__INCLUDED_)
#define AFX_WJCDLG_H__25B82492_2BAC_4334_92E2_65421285473B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "OScopeCtrl.h"
#include "Digistring.h"
#include "BtnST.h"

typedef struct myTimeStruct{
		UINT min;	//minute
		UINT sec;	//second
		UINT hou;   //hour
		CString str;//
}myTime;
/////////////////////////////////////////////////////////////////////////////
// CWJCDlg dialog
#include "StTbar.h"
class CWJCDlg : public CDialog
{
// Construction
public:
	CWJCDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CWJCDlg)
	enum { IDD = IDD_WJC_DIALOG };
	CStTbar	m_stbar;
	CButtonST	m_btnZero;
	CButtonST	m_btnDown;
	CButtonST	m_btnStart;
	CButtonST	m_btnUp;
	CDigistring	m_cTimer;
	CDigistring	m_cTF;
	CDigistring	m_ctrLenMF;
	CStatic	m_ctrlVT;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWJCDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CWJCDlg)
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnDestroy();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTest();
	afx_msg void OnExit();
	afx_msg void OnHelp();
	afx_msg void OnAbout();
	afx_msg void OnExitTest();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnMaterial();
	afx_msg void OnSensorSet();
	afx_msg void OnLogoIn();
	afx_msg void OnLogoOut();
	afx_msg void OnMaterialUpdate();
	afx_msg void OnSaveData();
	afx_msg void OnTestSet();
	afx_msg void OnTestUpdate();
	afx_msg void OnUserUpdate();
	afx_msg void OnSensorUpdate();
	afx_msg void OnAutoZero();
	afx_msg void OnBtnDown();
	afx_msg void OnBtnStart();
	afx_msg void OnBtnUp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void UpdateTime();
	void ExchangeBG(int n);
	COScopeCtrl m_ctr_View;
	BOOL isInitView;
	myTime theTime;
	CTime nowTime;
	BOOL isRun ;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WJCDLG_H__25B82492_2BAC_4334_92E2_65421285473B__INCLUDED_)

⌨️ 快捷键说明

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