?? meterzj.h
字號:
// MeterZJ.h: interface for the CMeterZJ class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_METERZJ_H__5565F776_C5C3_4D89_8AA5_1B931D2F231E__INCLUDED_)
#define AFX_METERZJ_H__5565F776_C5C3_4D89_8AA5_1B931D2F231E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MeterBase.h"
class CMeterZJ : public CMeterBase
{
public:
CMeterZJ();
CMeterZJ( METERPARA meter);
virtual int OnReadAllItems(int m_mask);
// virtual bool GetData(BYTE *data, int &dataLen,int item);
virtual ~CMeterZJ();
BYTE OutFram[64];//寫端口的數據緩沖
BYTE DataFrame[200];//數據長度為一個字節,讀入數據長度
int DataLen;
private:
int OnReadPVC();
int OnReadEnergy( );
int OnReadMD( );
int OnReadEvent();
int OnReadOther();
bool ReadItem( int Item, int RetryCount);
};
#endif // !defined(AFX_METERZJ_H__5565F776_C5C3_4D89_8AA5_1B931D2F231E__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -