ReportMgrClr.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #pragma once
  2. #include "OTSImageProcess.h"
  3. #include "ReportMgr.h"
  4. #include "PropParamClr.h"
  5. #include "SmplMsrResultFileMgrClr.h"
  6. #include "GridDataClr.h"
  7. #include "RptParamFileClr.h"
  8. namespace OTSCLRINTERFACE {
  9. using namespace System::Collections::Generic;
  10. using namespace System;
  11. using namespace OTSMODEL;
  12. //using namespace Newtonsoft::Json::Linq;
  13. public ref class CReportMgrClr : public Object
  14. {
  15. public:
  16. CReportMgrClr();
  17. CReportMgrClr(CReportMgrPtr);
  18. ~CReportMgrClr();
  19. !CReportMgrClr();
  20. CReportMgrPtr GetCReportMgrPtr();
  21. void SetSwitchForSmlResultFile(int nIndex,bool ifcheck);
  22. CPropParamClr^ GetPropertyParamImage();
  23. CPropParamClr^ GetPropertyParamTable();
  24. CPropParamClr^ GetPropertyParamChart();
  25. // property parameters
  26. bool ResetPropertyParams(bool a_bClear);
  27. // sample measure result files
  28. List<CSmplMsrResultFileMgrClr^>^ GetSmplMsrResultMgrs();
  29. bool AddASmplMsrResultMgr(String^ a_strPathName,String^ anotherName);
  30. void ClearSmplResults();
  31. CSmplMsrResultFileMgrClr^ GetASmplMsrResultMgrByPathName(String^ a_strPathName);
  32. // working sample index
  33. int GetWorkingSampleIndex();
  34. void SetWorkingSampleIndex(int a_nWorkingSampleIndex);
  35. // grid computing
  36. CGridDataListClr^ GridDataTransfer(CPropParamClr^ thePropParam);
  37. DataTable^ GetAllGBFields(CPropParamClr^ thePropParam);
  38. DataTable^ GetAllParticlesOfOneGBField(CPropParamClr^ thePropParam,float fieldx, float fieldy);
  39. DataTable^ GetGBDSParticles(CPropParamClr^ thePropParam);
  40. bool IsHaveMultiDataSource();
  41. CRptParamFileClr^ GetRptParamFileClr();
  42. private:
  43. CReportMgrPtr* m_pReportMgr;
  44. };
  45. }