GenParamClr.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #pragma once
  2. #include "OTSGeneralParameters.h"
  3. #include "PartSTDDataClr.h"
  4. namespace OTSINTERFACE {
  5. using namespace System;
  6. using namespace OTSDATA;
  7. using namespace OTSMODEL;
  8. public ref class CGenParamClr : public Object
  9. {
  10. public:
  11. CGenParamClr(); // constructor
  12. CGenParamClr(COTSGeneralParameters*); // copy constructor
  13. CGenParamClr(COTSGeneralParametersPtr); // copy constructor
  14. !CGenParamClr();
  15. ~CGenParamClr();
  16. COTSGeneralParametersPtr GetCOTSGeneralParametersPtr();
  17. // particle analysis lib
  18. CPartSTDDataClr^ GetPartSTDLib();
  19. void SetPartSTDLib(CPartSTDDataClr^ a_poPartSTDData);
  20. String^ GetPartSTDLibName();
  21. String^ GetSampleName();
  22. void SetSampleName(String^ a_strDefaultSampleName);
  23. bool GetMeasurementSwitch();
  24. void SetMeasurementSwitch(bool a_bSwitch);
  25. //2018-12-10 add std type select index
  26. int GetPartStdLibTypeIndex();
  27. void SetPartStdLibTypeIndex(int a_index);
  28. String^ GetMsrParamFileFolderName();
  29. void SetMsrParamFileFolderName(String^ a_sMeasParamFileFolderName);
  30. String^ GetPartSTDLibFolderName();
  31. void SetPartSTDLibFolderName(String^ a_strPartSTDLibFolderName);
  32. // steel technology process
  33. int GetSteelTechnology();
  34. void SetSteelTechnology(int a_steelTechnology);
  35. // measure area shape
  36. int GetShape();
  37. void SetShape(int a_nShape);
  38. // measure default value
  39. double GetArea();
  40. void SetArea(double a_dArea);
  41. protected:
  42. COTSGeneralParametersPtr* m_LpGenParam;
  43. };
  44. }