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

📄 leddlg.h

📁 实验2用来实现银行家算法 用UCOS来实现
💻 H
字号:
// LedDlg.h : header file
//

#pragma once
#include "afxwin.h"

// CLedDlg dialog
class CLedDlg : public CDialog
{
// Construction
public:
	CLedDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_LED_DIALOG };


	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
#if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP)
	afx_msg void OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/);
#endif
	DECLARE_MESSAGE_MAP()
public:
	CEdit m_ControlLed;
	CButton m_LeftShift;
	CButton m_RightShift;

protected:

	int count;
	unsigned char outdata;
	UINT LedCount;
	char setLightData;

protected:
	void SetLedValue(unsigned int indata);
	BOOL SetMemoryMap(void);
public:
	afx_msg void OnBnClickedLedset();
public:
	afx_msg void OnBnClickedCounttime();
public:
	afx_msg void OnBnClickedLedstop();
public:
	afx_msg void OnBnClickedLightstart();
public:
	afx_msg void OnBnClickedLightstop();
public:
	afx_msg void OnBnClickedLightset();
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
public:
	afx_msg void OnDestroy();
protected:
	UINT m_LedValue;
};

⌨️ 快捷键说明

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