ReportMgrClr.h 1.7 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 GetCReportProjFileMgrPtr();
  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);
  30. CSmplMsrResultFileMgrClr^ GetASmplMsrResultMgrById(int a_nIndex);
  31. CSmplMsrResultFileMgrClr^ GetASmplMsrResultMgrByPathName(String^ a_strPathName);
  32. bool DeleteASmplMsrResultMgrById(int a_nIndex);
  33. bool DeleteASmplMsrResultMgrByPathName(String^ a_strPathName);
  34. // Get working sample
  35. CSmplMsrResultFileMgrClr^ GetWorkingSmplMsrReslMgr();
  36. String^ GetWorkingSampleName();
  37. bool SetWorkingSmplMsrReslMgr(CSmplMsrResultFileMgrClr^ a_pSmpMsr);
  38. // working sample index
  39. int GetWorkingSampleIndex();
  40. void SetWorkingSampleIndex(int a_nWorkingSampleIndex);
  41. // grid computing
  42. CGridDataListClr^ GridDataTransfer(CPropParamClr^ thePropParam);
  43. bool IsHaveMultiDataSource();
  44. CRptParamFileClr^ GetRptParamFileClr();
  45. private:
  46. CReportMgrPtr* m_pReportMgr;
  47. };
  48. }