123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #pragma once
- #include "SEMStageData.h"
- #include "IntRangeClr.h"
- namespace OTSCLRINTERFACE {
- using namespace System;
- using namespace OTSDATA;
- //using namespace OTSMODEL;
- // CSEMStageData target
- // stage data clr class
- public ref class CSEMStageDataClr : public Object
- {
- public:
- CSEMStageDataClr(); // constructor
- CSEMStageDataClr(CSEMStageDataPtr a_Ptr); // copy constructor
- CSEMStageDataClr( CSEMStageData*); // copy constructor
-
- ~CSEMStageDataClr();
- !CSEMStageDataClr();
-
- // 100 scan filed size (micros)
- int GetScanFieldSize100() { return mStageData->get()->GetScanFieldSize100(); }
- void SetScanFieldSize100(int a_nScanFieldSize100) { mStageData->get()->SetScanFieldSize100( a_nScanFieldSize100); }
- // x axis direction
- int GetXAxisDir() { return (int)mStageData->get()->GetXAxisDir(); }
- void SetXAxisDir(int a_nXAxisDir) { mStageData->get()->SetXAxisDir( (OTS_X_AXIS_DIRECTION)a_nXAxisDir); }
- // y axis direction
- int GetYAxisDir() { return (int)mStageData->get()->GetYAxisDir(); }
- void SetYAxisDir(int a_nYAxisDir) { mStageData->get()->SetYAxisDir((OTS_Y_AXIS_DIRECTION) a_nYAxisDir); }
- // x axis
- CIntRangeClr^ GetXAxis() { return gcnew CIntRangeClr( mStageData->get()->GetXAxis ()); }
- void SetXAxis(CIntRangeClr^ a_oXAxis) {mStageData->get()->SetXAxis ( a_oXAxis->GetCIntRangePtr ()); }
- // y axis
- CIntRangeClr^ GetYAxis() { return gcnew CIntRangeClr(mStageData->get()->GetYAxis ()); }
- void SetYAxis(CIntRangeClr^ a_oYAxis) { mStageData->get()->SetYAxis (a_oYAxis->GetCIntRangePtr ()); }
- // get SEM stage data
- CSEMStageDataPtr GetCSEMStageData();
- // minimum mag
- double GetMinMag() { return mStageData->get()->GetMinMag (); }
- void SetMinMag(double a_dMinMag) { mStageData->get()->SetMinMag ( a_dMinMag); }
- private:
- CSEMStageDataPtr* mStageData;
-
- };
- }
|