You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
795 B
C++
32 lines
795 B
C++
#pragma once
|
|
#include "module.h"
|
|
|
|
//脱机控制卡
|
|
class CSinglechipCard
|
|
{
|
|
friend class CSinglechipCardMgr;
|
|
public:
|
|
CSinglechipCard(void)
|
|
{
|
|
m_ComPort = 1;//com 口号
|
|
}
|
|
private:
|
|
int m_ComPort;//com 口号
|
|
};
|
|
|
|
class CSinglechipCardMgr :public CModule
|
|
{
|
|
public:
|
|
CSinglechipCardMgr(void);
|
|
~CSinglechipCardMgr(void);
|
|
virtual CMFCPropertyGridProperty *CreatGridProperty();
|
|
virtual void ExportPar(ofstream *pFile);
|
|
virtual MODULE GetModuleType(){return _SINGLE_CHIP_CARD;};
|
|
|
|
BYTE GetCardCom(int idx);
|
|
private:
|
|
int m_CardCnt;//使用的拖机卡数量
|
|
vector<CSinglechipCard> m_CardVec;//脱机卡容器
|
|
};
|
|
|
|
extern CSinglechipCardMgr *gSinglechipCardMgr; |