| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #pragma once
- #include "afx.h"
- #include "otsdataconst.h"
- #include "SEMStageData.h"
- #include "OTSImageScanParam.h"
- #include "OTSImageProcessParam.h"
- #include "OTSGeneralParameters.h"
- #include "OTSXRayParam.h"
- #include "OTSProgMgrParamFile.h"
- namespace OTSMODEL {
- using namespace OTSDATA;
- class __declspec(dllexport) COTSProgMgr
- {
- public:
- COTSProgMgr();
- ~COTSProgMgr();
- // Read project manager information from project manager file
- static COTSProgMgrParamFilePtr COTSProgMgr::LoadInfoFromProgMgrFile(OTS_SOFT_PACKAGE_ID a_nPackId);
- // Save project manager information to project manager file
- static BOOL SaveInfoToProgMgrFile(OTS_SOFT_PACKAGE_ID a_nPackId,
- CSEMStageDataPtr a_pStageData,
- COTSGeneralParametersPtr a_pGenParam,
- COTSImageScanParamPtr a_pImageScanParam,
- COTSImageProcessParamPtr a_pImageProcParam,
- COTSXRayParamPtr a_pXRayParam);
- // Get stop mode id
- static CString GetStopModeIdString(OTS_MEASURE_STOP_MODE a_nStopMode);
- // get scan speed
- static CString GetScanSpeedString(OTS_THREE_TIES_OPTIONS a_nScanSpeed);
- // get image size id
- static CString GetImageSizeIdString(OTS_FIVE_TIES_OPTIONS a_nImageSize);
- // get image mode id
- static CString GetGetImageIdString(OTS_GET_IMAGE_MODE a_nGetImageMode);
- // get XRay analysis speed id
- static CString GetXRayAnalySpeedIdString(OTS_THREE_TIES_OPTIONS a_nXRayAnalySpeed);
- // get XRay scan mode id
- static CString GetXRayScanModeIdString(OTS_X_RAY_SCAN_MODE a_nXRayScanMode);
- // get XRay search speed id
- static CString GetXRaySearchSpeedIdString(OTS_THREE_TIES_OPTIONS a_nXRaySearchSpeed);
- // get XAxis direction id
- static CString GetXAxisDirectionIdString(OTS_X_AXIS_DIRECTION a_nXAxisDirection);
- // get YAxis direction id
- static CString GetYAxisDirectionIdString(OTS_Y_AXIS_DIRECTION a_nYAxisDirection);
- static CString GetSteelTechIdString(STEEL_TECHNOLOGY a_nSteelTech);
- // get measure area shape
- static CString GetAreaShapeString(DOMAIN_SHAPE a_nShape);
- };
- typedef std::shared_ptr<COTSProgMgr> __declspec(dllexport) COTSProgMgrPtr;
- }
|