| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #pragma once
- #include "OTSProgMgr.h"
- #include "StageClr.h"
- #include "IntRange.h"
- #include "ProjMgrCLR.h"
- #include "OTSProgMgrParamFileClr.h"
- #include "GenParamClr.h"
- #include "OTSImgScanPrmClr.h"
- #include "OTSImgProcPrmClr.h"
- #include "OTSXRayPrmClr.h"
- namespace OTSINTERFACE {
- using namespace System;
- using namespace OTSDATA;
- using namespace OTSMODEL;
- public ref class COTSProgMgrCLR : public Object
- {
- public:
- COTSProgMgrCLR(); //constructor
- COTSProgMgrCLR(COTSProgMgr*); // copy constructor
- COTSProgMgrCLR(COTSProgMgrPtr); // copy constructor
- ~COTSProgMgrCLR();
- !COTSProgMgrCLR();
- COTSProgMgrPtr GetCOTSProgMgrPtr();
- //设定软件类型
- // 输入:
- // int a_nPackId : 软件类型,0:IncA, 1 : PartA
- // 输出:空
- // set packid
- // void SetPackId(int a_nPackId);
- //获取软件类型
- // 输入:空
- // 输出:int, 表示软件类型,0:IncA, 1:PartA
- // get packid
- // int GetPackId();
- // Read project manager information from project manager file
- COTSProgMgrParamFileClr^ LoadInfoFromProgMgrFile(int a_nPackId);
-
- // Save project manager information to project manager file
- bool SaveInfoToProgMgrFile(int a_nPackId,
- CSEMStageDataClr^ a_pStageData,
- CGenParamClr^ a_pGenParam,
- COTSImgScanPrmClr^ a_pImageScanParam,
- COTSImgProcPrmClr^ a_pImageProcParam,
- COTSXRayPrmClr^ a_pXRayParam);
- // Get stop mode id
- String^ GetStopModeIdString(int a_nStopMode);
- // get scan speed
- String^ GetScanSpeedString(int a_nScanSpeed);
- // get image size id
- String^ GetImageSizeIdString(int a_nImageSize);
- // get image mode id
- String^ GetGetImageIdString(int a_nGetImageMode);
- // get XRay analysis speed id
- String^ GetXRayAnalySpeedIdString(int a_nXRayAnalySpeed);
- // get XRay scan mode id
- String^ GetXRayScanModeIdString(int a_nXRayScanMode);
- // get XRay search speed id
- String^ GetXRaySearchSpeedIdString(int a_nXRaySearchSpeed);
- // get XAxis direction id
- String^ GetXAxisDirectionIdString(int a_nXAxisDirection);
- // get YAxis direction id
- String^ GetYAxisDirectionIdString(int a_nYAxisDirection);
- String^ GetSteelTechIdString(int a_nSteelTech);
- String^ GetAreaShapeString(int a_nShape);
- protected:
- COTSProgMgrPtr* m_LpRealProgMgr;
- };
- }
|