39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
// Script.h: interface for the CScript class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_SCRIPT_H__84D51F71_4D45_4915_8F1F_5A3B40456C1A__INCLUDED_)
|
|
#define AFX_SCRIPT_H__84D51F71_4D45_4915_8F1F_5A3B40456C1A__INCLUDED_
|
|
|
|
#include "stdafx.h"
|
|
#include "geomative.h"
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
class CScript
|
|
{
|
|
public:
|
|
CScript(DWORD dwID, _ConnectionPtr& pConnection);
|
|
virtual ~CScript();
|
|
|
|
DWORD m_dwID;
|
|
CHandleProcessor m_handleProcessor;
|
|
|
|
int m_iEAmount; //电极数
|
|
int m_iSType;
|
|
int m_iAR; //装置类型
|
|
|
|
virtual void AdjustRecListColumn(int iAR, CListCtrl& sptConListInfo){return ;} //调整脚本显示信息的列顺序
|
|
|
|
virtual bool ShowSptConInfo(CListCtrl& sptConList) = NULL; //显示脚本内容信息(sptConList---in:脚本内容列表)
|
|
virtual bool ShowSptDetailInfo(CListCtrl& sptDetailList) = NULL; //显示脚本详情信息(sptDetailList---in:脚本详情列表)
|
|
virtual bool ShowChannelList(CListCtrl& sptChannelList) = NULL; //显示通道列表(sptChannelList---in:通道列表)
|
|
|
|
protected:
|
|
_ConnectionPtr m_pConnection;
|
|
};
|
|
|
|
#endif // !defined(AFX_SCRIPT_H__84D51F71_4D45_4915_8F1F_5A3B40456C1A__INCLUDED_)
|