ReportMgrClr.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. CSmplMsrResultFileMgrClr^ GetASmplMsrResultMgrByPathName(String^ a_strPathName);
  31. // working sample index
  32. int GetWorkingSampleIndex();
  33. void SetWorkingSampleIndex(int a_nWorkingSampleIndex);
  34. // grid computing
  35. CGridDataListClr^ GridDataTransfer(CPropParamClr^ thePropParam);
  36. bool IsHaveMultiDataSource();
  37. CRptParamFileClr^ GetRptParamFileClr();
  38. private:
  39. CReportMgrPtr* m_pReportMgr;
  40. };
  41. }