123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- //时间:20200610
- //作者:郝爽
- //功能:测量线程
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using SmartSEMControl;
- using MeasureData;
- namespace MeasureThread
- {
- public class Measure
- {
- //全局只有一个fatorySEM
- static FactoryHardware factorySEM = FactoryHardware.Instance;
- ISEMControl iSEM = factorySEM.ISEM;
- //测量文件
- private MeasureFile m_measureFile;
- public MeasureFile MeasureFile
- {
- get { return this.m_measureFile; }
- set { this.m_measureFile = value; }
- }
- //测量的切割孔
- private List<MeasureData.CutHole> m_cutHoles;
- public List<MeasureData.CutHole> cutHoles
- {
- get { return this.m_cutHoles; }
- set { this.m_cutHoles = value; }
- }
- //工作文件夹
- private string m_WorkingFolder;
- public string WorkingFolder
- {
- get { return this.m_WorkingFolder; }
- set { this.m_WorkingFolder = value; }
- }
- //线程状态
- private ThreadState m_ThreadStatus;
- public ThreadState ThreadStatus
- {
- get { return this.m_ThreadStatus; }
- set { this.m_ThreadStatus = value; }
- }
- //// SEM data general
- //CSEMDataGnrPtr m_pSEMDataGnr;
- ////MeasureAppFormName
- //CString m_strMAppFormName;
- //HWND m_hWnd;
- //COTSHardwareMgrPtr m_pHardwareMgr;
- //构造函数
- public Measure()
- {
- }
- //初始化测量业务
- public bool InitMeas(MeasureFile a_measureFile, List<CutHole> a_listMeasuableHoles)
- {
- return false;
- }
- //初始化测量业务
- public bool InitMeas(MeasureFile a_measureFile)
- {
- return false;
- }
- //第一个孔的测试过程
- public void FirstHole()
- {
-
- }
- //非第一个孔的测试过程
- public void OtherHole()
- {
- }
- }
- }
|