ReportMgrClr.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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^ GetGBDSParticles(CPropParamClr^ thePropParam);
  39. bool IsHaveMultiDataSource();
  40. CRptParamFileClr^ GetRptParamFileClr();
  41. private:
  42. CReportMgrPtr* m_pReportMgr;
  43. };
  44. }