#pragma once #include "SmplMsrResultFile.h" #include "SEMStageDataClr.h" #include "StageClr.h" #include "OTSFieldDataClr.h" #include "SEMDataGnrClr.h" #include "OTSSampleClr.h" #include "OTSImageProcess.h" namespace OTSCLRINTERFACE { using namespace System::Collections::Generic; using namespace System; using namespace OTSDATA; using namespace OTSCLRINTERFACE; using namespace System::Data; public ref class CSmplMsrResultFileClr { public: // constructor CSmplMsrResultFileClr(); // constructor CSmplMsrResultFileClr(CSmplMsrResultFilePtr); // copy constructor ~CSmplMsrResultFileClr(); !CSmplMsrResultFileClr();// destructor public: CSmplMsrResultFilePtr GetCSmplMsrResultFilePtr(); // file version string String^ GetFileVersion() { return gcnew String(mResultFile->get()->GetFileVersion()); } void SetFileVersion(String^ a_strFileVersion) { mResultFile->get()->SetFileVersion (CString( a_strFileVersion)); } // SEM sample stage CSEMStageDataClr^ GetSEMStageData() { return gcnew CSEMStageDataClr(mResultFile->get()->GetSEMStageData()); } bool SetSEMStageData(CSEMStageDataClr^ a_pSEMStageData); // sample stage CStageClr^ GetStage() { return gcnew CStageClr(mResultFile->get()->GetStage ()); } bool SetStage(CStageClr^ a_pStage); // SEM condition CSEMDataGnrClr^ GetSEMStage() { return gcnew CSEMDataGnrClr(mResultFile->get()->GetSEMStage()); } bool SetSEMStage(CSEMDataGnrClr^ a_pSEMData); // sample setting COTSSampleClr^ GetSample() { return gcnew COTSSampleClr(mResultFile->get()->GetSample ()); } bool SetSample(COTSSampleClr^ a_pSample); // switch bool GetSwitch() { return mResultFile->get()->GetSwitch(); } bool SetSwitch(bool a_bSwitch); // fields List^ GetFieldData(); bool SetFieldData(List^ a_listFieldData); protected: CSmplMsrResultFilePtr* mResultFile; }; }