?? isa.h
字號:
// ISA.h : main header file for the ISA DLL
//
// create : Benny 2001.7.25
#if !defined(AFX_ISA_H__F0928533_6BD2_4569_BDDA_683438F95080__INCLUDED_)
#define AFX_ISA_H__F0928533_6BD2_4569_BDDA_683438F95080__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "ComPort.h"
/////////////////////////////////////////////////////////////////////////////
// CISAApp
// See ISA.cpp for the implementation of this class
//
class CISAApp : public CWinApp
{
public:
CISAApp();
~CISAApp();
public:
CList<CComPort*,CComPort*> m_ListComPort; // 串口鏈表
CList<CDevice*,CDevice*> m_ListDevice; // 設備鏈表
UINT m_uTimeOut; // 超時時間
UINT m_uTimer; // 定時器時間
UINT m_uTimes; // 重操作次數(shù)
UINT m_uWait; // 超時三次后的輪詢時間
UINT m_uCTTimer; // 對時時間
UINT m_uSimulationTime; // 召喚模擬量時間
UINT m_uSwitchTime; // 召喚開關量時間
UINT m_uAnaTime; // 召喚遙測量時間
UINT m_uPulTime; // 召喚電度量時間
UINT m_uAllDgtTime; // 召喚全遙信時間
public:
int SendPremMessage( UINT msg, WPARAM wParam, LPARAM lParam );
void CommCallBack( UINT uMsg, HANDLE handle, WPARAM wParam, LPARAM lParam );
void TimerProc(); // 定時器函數(shù)
nsCOMPtr<nsIRdbTable> m_pAccTable;
nsCOMPtr<nsIRdbTable> m_pProtTable;
nsCOMPtr<nsIRdbTable> m_pAnaTable;
nsCOMPtr<nsIRdbTable> m_pDzhTable;
nsCOMPtr<nsIRdbTable> m_pDiagTable;
nsCOMPtr<nsIRdbTable> m_pAnaValueTable;
protected:
int InitPrem(); // 初始化
void ExitPrem(); // 退出
CComPort* GetComPort( HANDLE handle ); // 由串口句柄得到串口對象指針
CComPort* GetComPort( UINT uPort ); // 由串口端口號得到串口指針
CDevice* GetDevice( BYTE btAddr ); // 由設備地址得到設備對象指針
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CISAApp)
//}}AFX_VIRTUAL
//{{AFX_MSG(CISAApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ISA_H__F0928533_6BD2_4569_BDDA_683438F95080__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -