Measure.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. //时间:20200610
  2. //作者:郝爽
  3. //功能:测量线程
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using SmartSEMControl;
  10. using MeasureData;
  11. namespace MeasureThread
  12. {
  13. public class Measure
  14. {
  15. //全局只有一个fatorySEM
  16. static FactoryHardware factorySEM = FactoryHardware.Instance;
  17. ISEMControl iSEM = factorySEM.ISEM;
  18. //测量文件
  19. private MeasureFile m_measureFile;
  20. public MeasureFile MeasureFile
  21. {
  22. get { return this.m_measureFile; }
  23. set { this.m_measureFile = value; }
  24. }
  25. //测量的切割孔
  26. private List<MeasureData.CutHole> m_cutHoles;
  27. public List<MeasureData.CutHole> cutHoles
  28. {
  29. get { return this.m_cutHoles; }
  30. set { this.m_cutHoles = value; }
  31. }
  32. //工作文件夹
  33. private string m_WorkingFolder;
  34. public string WorkingFolder
  35. {
  36. get { return this.m_WorkingFolder; }
  37. set { this.m_WorkingFolder = value; }
  38. }
  39. //线程状态
  40. private ThreadState m_ThreadStatus;
  41. public ThreadState ThreadStatus
  42. {
  43. get { return this.m_ThreadStatus; }
  44. set { this.m_ThreadStatus = value; }
  45. }
  46. //// SEM data general
  47. //CSEMDataGnrPtr m_pSEMDataGnr;
  48. ////MeasureAppFormName
  49. //CString m_strMAppFormName;
  50. //HWND m_hWnd;
  51. //COTSHardwareMgrPtr m_pHardwareMgr;
  52. //构造函数
  53. public Measure()
  54. {
  55. }
  56. //初始化测量业务
  57. public bool InitMeas(MeasureFile a_measureFile, List<CutHole> a_listMeasuableHoles)
  58. {
  59. return false;
  60. }
  61. //初始化测量业务
  62. public bool InitMeas(MeasureFile a_measureFile)
  63. {
  64. return false;
  65. }
  66. //第一个孔的测试过程
  67. public void FirstHole()
  68. {
  69. }
  70. //非第一个孔的测试过程
  71. public void OtherHole()
  72. {
  73. }
  74. }
  75. }