📄 pg1dlg.h
字号:
// PG1Dlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_PG1DLG_H__1EA4BAF5_A820_4517_9502_FB7C8D4A62BB__INCLUDED_)
#define AFX_PG1DLG_H__1EA4BAF5_A820_4517_9502_FB7C8D4A62BB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPG1Dlg dialog
class CPG1Dlg : public CDialog
{
// Construction
public:
// HICON m_hIcon1;
HICON m_hIconArray[4];//托盘区动画图标数组
int m_nIconPos; //当前托盘区显示图标
CPG1Dlg(CWnd* pParent = NULL); // standard constructor
void OnSend_frame();
void CPG1Dlg::OnInit();
// Dialog Data
//{{AFX_DATA(CPG1Dlg)
enum { IDD = IDD_PG1_DIALOG };
CProgressCtrl m_jc;
CString m_strFileTitle;
CString m_strFilename;
CString m_strLength;
CMSComm m_Com;
CString m_strReceive;
CString m_bai;
CString m_flag;
CString m_disp;
CString m_vc_disp;
CString m_c_disp;
CString m_v_limit;
CString m_c_limit;
int m_setup_v;
int m_over_c;
int m_over_v;
CString m_working_staus;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPG1Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPG1Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOpen();
afx_msg void OnProgram();
afx_msg void OnOnCommMscomm1();
virtual void OnCancel();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnRelay1();
afx_msg void OnRelay2();
afx_msg void OnRelay3();
afx_msg void OnRelay4();
afx_msg void OnRelay5();
afx_msg void OnRelay6();
afx_msg void OnRelay7();
afx_msg void OnRelay8();
afx_msg void OnRelay9();
afx_msg void OnRelay10();
afx_msg void OnRelay11();
afx_msg void OnRelay12();
afx_msg void OnRightGo();
afx_msg void OnLeftGo();
afx_msg void OnLedGo();
afx_msg void OnReadAd();
afx_msg void OnRealtimeV();
afx_msg void OnStopV2();
afx_msg void OnAdd();
afx_msg void OnSub();
afx_msg void OnButton4();
afx_msg void OnButton8();
afx_msg void OnOverV();
afx_msg void OnOverC();
afx_msg void OnLeft();
afx_msg void OnRight();
afx_msg void On15v7a();
afx_msg void On30v5a();
afx_msg void OnVc();
afx_msg void OnReadVc();
afx_msg void OnReadOverVc();
afx_msg void OnHarewareProtect();
afx_msg void OnConstSouceProtect();
afx_msg void OnCurrentOff();
afx_msg void OnReadVcGoOn();
afx_msg void OnVSetup();
afx_msg void OnSetfocusSetV();
afx_msg void OnSetfocusVoerC();
afx_msg void OnSetfocusVoerV();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PG1DLG_H__1EA4BAF5_A820_4517_9502_FB7C8D4A62BB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -