#pragma once #include "OTSImageProcess.h" #include "ReportMgr.h" #include "PropParamClr.h" #include "SmplMsrResultFileMgrClr.h" #include "GridDataClr.h" #include "RptParamFileClr.h" namespace OTSCLRINTERFACE { using namespace System::Collections::Generic; using namespace System; using namespace OTSMODEL; //using namespace Newtonsoft::Json::Linq; public ref class CReportMgrClr : public Object { public: CReportMgrClr(); CReportMgrClr(CReportMgrPtr); ~CReportMgrClr(); !CReportMgrClr(); CReportMgrPtr GetCReportMgrPtr(); void SetSwitchForSmlResultFile(int nIndex,bool ifcheck); CPropParamClr^ GetPropertyParamImage(); CPropParamClr^ GetPropertyParamTable(); CPropParamClr^ GetPropertyParamChart(); // property parameters bool ResetPropertyParams(bool a_bClear); // sample measure result files List^ GetSmplMsrResultMgrs(); bool AddASmplMsrResultMgr(String^ a_strPathName,String^ anotherName); void ClearSmplResults(); CSmplMsrResultFileMgrClr^ GetASmplMsrResultMgrByPathName(String^ a_strPathName); // working sample index int GetWorkingSampleIndex(); void SetWorkingSampleIndex(int a_nWorkingSampleIndex); // grid computing CGridDataListClr^ GridDataTransfer(CPropParamClr^ thePropParam); DataTable^ GetAllGBFields(CPropParamClr^ thePropParam); DataTable^ GetAllParticlesOfOneGBField(CPropParamClr^ thePropParam,float fieldx, float fieldy); DataTable^ GetGBDSParticles(CPropParamClr^ thePropParam); bool IsHaveMultiDataSource(); CRptParamFileClr^ GetRptParamFileClr(); private: CReportMgrPtr* m_pReportMgr; }; }