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

📄 commstatsdlg.h

📁 工业强度的PLC模拟程序
💻 H
字号:
// @dlg
//
// @module		CommStatsDlg.h
//
//
// Maintenance:
//	
// Version		Date		Who		What
// -------		--------	---		-------------------------------------
// 7.0			07/23/97	jra		Created
//

// Prevent multiple inclusion
#if !defined(AFX_COMMSTATSDLG_H__C8DD8F2B_038F_11D1_B77E_0060971E5E37__INCLUDED_)
#define AFX_COMMSTATSDLG_H__C8DD8F2B_038F_11D1_B77E_0060971E5E37__INCLUDED_

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


// CommStatsDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCommStatsDlg dialog

class CCommStatsDlg : public CDialog
{
// Construction
public:
	CCommStatsDlg(CWnd* pParent = NULL);   // standard constructor
	BOOL Create();
	void CloseDialog();

	friend class CItkPlcDlg;

// Dialog Data
	//{{AFX_DATA(CCommStatsDlg)
	enum { IDD = IDD_COMM_STATS };
	CString	m_ack_rcvd_count;
	CString	m_ack_sent_count;
	CString	m_bitwrite_count;
	CString	m_nak_count;
	CString	m_read_count;
	CString	m_unsol_msgs_sent_count;
	CString	m_write_count;
	CString	m_nak_sent_count;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCommStatsDlg)
	afx_msg void OnTimer(UINT nIDEvent);
	virtual BOOL OnInitDialog();
	afx_msg void OnReset();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	DWORD	m_dwNakRcvdCount,
			m_dwNakSentCount,
			m_dwAckSentCount,
			m_dwAckRcvdCount,
			m_dwReadCount,
			m_dwBitWriteCount,
			m_dwWriteCount,
			m_dwUnsolicitedSentCount;

	BOOL	m_bDisplayed;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COMMSTATSDLG_H__C8DD8F2B_038F_11D1_B77E_0060971E5E37__INCLUDED_)

⌨️ 快捷键说明

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