OTSProgMgrCLR.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #pragma once
  2. #include "OTSProgMgr.h"
  3. #include "StageClr.h"
  4. #include "IntRange.h"
  5. #include "ProjMgrCLR.h"
  6. #include "OTSProgMgrParamFileClr.h"
  7. #include "GenParamClr.h"
  8. #include "OTSImgScanPrmClr.h"
  9. #include "OTSImgProcPrmClr.h"
  10. #include "OTSXRayPrmClr.h"
  11. namespace OTSINTERFACE {
  12. using namespace System;
  13. using namespace OTSDATA;
  14. using namespace OTSMODEL;
  15. public ref class COTSProgMgrCLR : public Object
  16. {
  17. public:
  18. COTSProgMgrCLR(); //constructor
  19. COTSProgMgrCLR(COTSProgMgr*); // copy constructor
  20. COTSProgMgrCLR(COTSProgMgrPtr); // copy constructor
  21. ~COTSProgMgrCLR();
  22. !COTSProgMgrCLR();
  23. COTSProgMgrPtr GetCOTSProgMgrPtr();
  24. //设定软件类型
  25. // 输入:
  26. // int a_nPackId : 软件类型,0:IncA, 1 : PartA
  27. // 输出:空
  28. // set packid
  29. // void SetPackId(int a_nPackId);
  30. //获取软件类型
  31. // 输入:空
  32. // 输出:int, 表示软件类型,0:IncA, 1:PartA
  33. // get packid
  34. // int GetPackId();
  35. // Read project manager information from project manager file
  36. COTSProgMgrParamFileClr^ LoadInfoFromProgMgrFile(int a_nPackId);
  37. // Save project manager information to project manager file
  38. bool SaveInfoToProgMgrFile(int a_nPackId,
  39. CSEMStageDataClr^ a_pStageData,
  40. CGenParamClr^ a_pGenParam,
  41. COTSImgScanPrmClr^ a_pImageScanParam,
  42. COTSImgProcPrmClr^ a_pImageProcParam,
  43. COTSXRayPrmClr^ a_pXRayParam);
  44. // Get stop mode id
  45. String^ GetStopModeIdString(int a_nStopMode);
  46. // get scan speed
  47. String^ GetScanSpeedString(int a_nScanSpeed);
  48. // get image size id
  49. String^ GetImageSizeIdString(int a_nImageSize);
  50. // get image mode id
  51. String^ GetGetImageIdString(int a_nGetImageMode);
  52. // get XRay analysis speed id
  53. String^ GetXRayAnalySpeedIdString(int a_nXRayAnalySpeed);
  54. // get XRay scan mode id
  55. String^ GetXRayScanModeIdString(int a_nXRayScanMode);
  56. // get XRay search speed id
  57. String^ GetXRaySearchSpeedIdString(int a_nXRaySearchSpeed);
  58. // get XAxis direction id
  59. String^ GetXAxisDirectionIdString(int a_nXAxisDirection);
  60. // get YAxis direction id
  61. String^ GetYAxisDirectionIdString(int a_nYAxisDirection);
  62. String^ GetSteelTechIdString(int a_nSteelTech);
  63. String^ GetAreaShapeString(int a_nShape);
  64. protected:
  65. COTSProgMgrPtr* m_LpRealProgMgr;
  66. };
  67. }