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

📄 usb_485dlg.h

📁 操作界面通过USB方式向下位机传输命令,实现对下位机的控制
💻 H
字号:
// USB_485Dlg.h : header file
//

#if !defined(AFX_USB_485DLG_H__C10DD762_4182_4CFF_920F_01E0D653CC98__INCLUDED_)
#define AFX_USB_485DLG_H__C10DD762_4182_4CFF_920F_01E0D653CC98__INCLUDED_

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

#include "PictureEx.h"
#include "BtnST.h"	// Added by ClassView

/////////////////////////////////////////////////////////////////////////////
// CUSB_485Dlg dialog

class CUSB_485Dlg : public CDialog
{
// Construction
public:
	CButtonST PB1,PB0,FB0,FB1;
	void UpdateGif();
	UCHAR m_Which;
	ULONG Index;
	void SendCommand();
	BOOL IsOpen;
	BOOL IsFenBu;
	CUSB_485Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CUSB_485Dlg)
	enum { IDD = IDD_USB_485_DIALOG };
	CPictureEx	m_mot2;
	CPictureEx	m_mot1;
	CSliderCtrl	m_dii2;
	CSliderCtrl	m_dii;
	UINT	m_point;
	UINT	m_point2;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUSB_485Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CUSB_485Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnReleasedcaptureSlider1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnReleasedcaptureSlider2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_USB_485DLG_H__C10DD762_4182_4CFF_920F_01E0D653CC98__INCLUDED_)

⌨️ 快捷键说明

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