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

📄 hmican_usbdlg.h

📁 面板显示程序
💻 H
字号:
// HMIcan_usbDlg.h : header file
//

#if !defined(AFX_HMICAN_USBDLG_H__998E45B2_E4F0_447A_A732_D5A831E6334A__INCLUDED_)
#define AFX_HMICAN_USBDLG_H__998E45B2_E4F0_447A_A732_D5A831E6334A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "editex.hxx"
#include "staticex.hxx"
#include "GradientProgressCtrl.h"
#include "Led.h"

BOOL PeekAndPump();
/////////////////////////////////////////////////////////////////////////////
// CHMIcan_usbDlg dialog

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

	static UINT ReceiveThread(void *param);
	bool GetAll;
	bool GetInfo[10] ;

	COLORREF bk  ;
	COLORREF bk1 ;
	COLORREF tx  ;
	COLORREF tx1 ;
	COLORREF tx2 ;
	COLORREF tx3 ;
	COLORREF tx4 ;

	CStaticEx m_static_HMI;

	CStaticEx m_static_ACU_BCU;

	CStaticEx m_static_N_NUM;
	CStaticEx m_static_MEP_NUM;
	CStaticEx m_static_POIL_NUM;

	CStaticEx m_static_N;
	CStaticEx m_static_MEP;
	CStaticEx m_static_POIL;


	CStaticEx m_static_ALARM_LIST;

	CStaticEx m_static_CTRL_N;
	CStaticEx m_static_CTRL_INC;
	CStaticEx m_static_CTRL_MODE;
	CStaticEx m_static_CTRL_TOIL;
	CStaticEx m_static_CTRL_SPM;
	CStaticEx m_static_CTRL_SCD;
	CStaticEx m_static_CTRL_CXR;
	CStaticEx m_static_CTRL_CXT;
	CStaticEx m_static_CTRL_OTLH;
	CStaticEx m_static_CTRL_OTLL;
	CStaticEx m_static_CTRL_OPL;
	CStaticEx m_static_CTRL_MXA;
	CStaticEx m_static_CTRL_MAA;

	CStaticEx m_static_SET1;
	CStaticEx m_static_SET2;
	CStaticEx m_static_SET3;
	CStaticEx m_static_SET4;
	CStaticEx m_static_SET5;
	CStaticEx m_static_SET6;
	CStaticEx m_static_SET7;

	CStaticEx m_static_CTRL_TITLE1;
	CStaticEx m_static_CTRL_TITLE2;
	CStaticEx m_static_CTRL_TITLE3;
	CStaticEx m_static_CTRL_TITLE4;
	CStaticEx m_static_CTRL_TITLE5;

	CStaticEx m_static_CTRL_ORDER1;
	CStaticEx m_static_CTRL_ORDER2;
	CStaticEx m_static_CTRL_ORDER3;
	CStaticEx m_static_CTRL_ORDER4;
	CStaticEx m_static_CTRL_ORDER5;
	CStaticEx m_static_CTRL_ORDER6;
	CStaticEx m_static_CTRL_ORDER7;
	CStaticEx m_static_CTRL_ORDER8;
	CStaticEx m_static_CTRL_ORDER9;
	CStaticEx m_static_CTRL_ORDER10;
	CStaticEx m_static_CTRL_ORDER11;
	CStaticEx m_static_CTRL_ORDER12;
	CStaticEx m_static_CTRL_ORDER13;
	CStaticEx m_static_CTRL_ORDER14;
	CStaticEx m_static_CTRL_ORDER15;
	CStaticEx m_static_CTRL_ORDER16;
	CStaticEx m_static_LIST_ORDER;
	CStaticEx m_static_LIST_CODE;
	CStaticEx m_static_LIST_description;
	CStaticEx m_static_LIST_NUM;
	CStaticEx m_static_LIST_FROM;

	CStaticEx m_static_tishi;

	CEditEx   m_edit_N;
	CEditEx   m_edit_INC;
	CEditEx   m_edit_MODE;

	CEditEx   m_edit_TOIL;
	CEditEx   m_edit_SPM;


	LOGFONT   logfont,logfont1,logfont2,logfont3;

	int index,prog1,prog2,prog3;
	
	afx_msg void OnDestroy();


// Dialog Data
	//{{AFX_DATA(CHMIcan_usbDlg)
	enum { IDD = IDD_HMICAN_USB_DIALOG };
	CGradientProgressCtrl	m_cProgress1;
	CGradientProgressCtrl	m_cProgress2;
	CGradientProgressCtrl	m_cProgress3;
	CStatic	m_tip7;
	CStatic	m_tip6;
	CStatic	m_tip5;
	CStatic	m_tip4;
	CStatic	m_tip3;
	CStatic	m_tip2;
	CStatic	m_tip1;
	CListCtrl	m_list;

	CLed	m_Dg11;
	CLed	m_Dg12;
	CLed	m_Dg13;
	CLed	m_Dg14;
	CLed	m_Dg15;
	CLed	m_Dg21;
	CLed	m_Dg22;
	CLed	m_Dg23;
	CLed	m_Dg24;
	CLed	m_Dg25;
	CLed	m_Dg31;
	CLed	m_Dg32;
	CLed	m_Dg33;
	CLed	m_Dg34;
	CLed	m_Dg35;
	CLed	m_Dg41;
	CLed	m_Dg42;
	CLed	m_Dg43;
	CLed	m_Dg44;
	CLed	m_Dg45;
	CLed	m_Dg51;
	CLed	m_Dg52;
	CLed	m_Dg53;
	CLed	m_Dg54;
	CLed	m_Dg55;
	CLed	m_Dg61;
	CLed	m_Dg62;
	CLed	m_Dg63;
	CLed	m_Dg64;
	CLed	m_Dg65;
	CLed	m_Dg71;
	CLed	m_Dg72;
	CLed	m_Dg73;
	CLed	m_Dg74;
	CLed	m_Dg75;
	CLed	m_Dg81;
	CLed	m_Dg82;
	CLed	m_Dg83;
	CLed	m_Dg84;
	CLed	m_Dg85;
	CLed	m_Dg91;
	CLed	m_Dg92;
	CLed	m_Dg93;
	CLed	m_Dg94;
	CLed	m_Dg95;
	CLed	m_Dg101;
	CLed	m_Dg102;
	CLed	m_Dg103;
	CLed	m_Dg104;
	CLed	m_Dg105;
	CLed	m_Dg111;
	CLed	m_Dg112;
	CLed	m_Dg113;
	CLed	m_Dg114;
	CLed	m_Dg115;
	CLed	m_Dg121;
	CLed	m_Dg122;
	CLed	m_Dg123;
	CLed	m_Dg124;
	CLed	m_Dg125;
	CLed	m_Dg131;
	CLed	m_Dg132;
	CLed	m_Dg133;
	CLed	m_Dg134;
	CLed	m_Dg135;
	CLed	m_Dg141;
	CLed	m_Dg142;
	CLed	m_Dg143;
	CLed	m_Dg144;
	CLed	m_Dg145;
	CLed	m_Dg151;
	CLed	m_Dg152;
	CLed	m_Dg153;
	CLed	m_Dg154;
	CLed	m_Dg155;
	CLed	m_Dg161;
	CLed	m_Dg162;
	CLed	m_Dg163;
	CLed	m_Dg164;
	CLed	m_Dg165;
	//}}AFX_DATA

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

// Implementation
protected:
	void show();
	HICON m_hIcon;

	COLORREF m_clrText,m_clrStart,m_clrEnd,m_clrBk;
	
	// Generated message map functions
	//{{AFX_MSG(CHMIcan_usbDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
};

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

#endif // !defined(AFX_HMICAN_USBDLG_H__998E45B2_E4F0_447A_A732_D5A831E6334A__INCLUDED_)

⌨️ 快捷键说明

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