www.pudn.com > IEC104MasterSlave.rar > NAIEC104MasterDlg.h, change:2013-04-16,size:2479b


// NAIEC104MasterDlg.h : header file 
// 
 
#if !defined(AFX_NAIEC104MASTERDLG_H__DA982AC0_DC67_4A4C_95A8_FD722EF9EC0B__INCLUDED_) 
#define AFX_NAIEC104MASTERDLG_H__DA982AC0_DC67_4A4C_95A8_FD722EF9EC0B__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "resource.h" 
 
class Master104; 
///////////////////////////////////////////////////////////////////////////// 
// CNAIEC104MasterDlg dialog 
 
class CNAIEC104MasterDlg : public CDialog 
{ 
// Construction 
public: 
	CNAIEC104MasterDlg(CWnd* pParent = NULL);	// standard constructor 
	virtual ~CNAIEC104MasterDlg(); 
 
// Dialog Data 
	//{{AFX_DATA(CNAIEC104MasterDlg) 
	enum { IDD = IDD_NAIEC104MASTER_DIALOG }; 
	CButton	m_start; 
	CButton	m_stop; 
	CListBox	m_revList; 
	CIPAddressCtrl	m_slaveIP; 
	CListBox	m_sendList; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CNAIEC104MasterDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
public: 
	BOOL GetIFrameIsResponse(); 
	BOOL GetUTestIsResponse(); 
	BOOL GetRevIisResponseS(); 
	void stopLink(); 
	void SetButtonState(BOOL state); 
	void SendMsg(BYTE *txbuf,int txlen); 
	Master104 *master; 
	BOOL isResponseUTest; 
	BOOL isResponseIFrame; 
 
	// Generated message map functions 
	//{{AFX_MSG(CNAIEC104MasterDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnButtonStart(); 
	afx_msg void OnButtonStop(); 
	afx_msg void OnButtonUstart(); 
	afx_msg void OnButtonUstop(); 
	afx_msg void OnButtonCall(); 
	afx_msg void OnButtonTest(); 
	afx_msg void OnButtonClocksyn(); 
	afx_msg void OnButtonItcall(); 
	afx_msg void OnButtonYk(); 
	afx_msg void OnButtonYt(); 
	afx_msg void OnButtonReadyx(); 
	afx_msg void OnButtonReadyc(); 
	afx_msg void OnButtonCleansend(); 
	afx_msg void OnButtonCleanreceive(); 
	afx_msg void OnButtonReadgtdata(); 
	afx_msg void OnButtonReadhistorydata(); 
	afx_msg void OnButtonCtest(); 
	afx_msg void OnButtonS(); 
	afx_msg void OnButtonI(); 
	afx_msg void OnButtonSavemsg(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_NAIEC104MASTERDLG_H__DA982AC0_DC67_4A4C_95A8_FD722EF9EC0B__INCLUDED_)