| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using OTSDataType;
- using System.Drawing;
- using OTSCLRINTERFACE;
- namespace OTSModelSharp.ServiceCenter
- {
- public interface ISemController
- {
- bool IsConnected();
- bool Connect();
- bool DisConnect();
- bool SetMagnification(double a_dMagnification);
- bool GetMagnification(ref double a_dMagnification);
- bool SetWorkingDistance(double a_distance);
- bool GetWorkingDistance(ref double a_distance);
- bool SetScanExternal(bool b);
- bool GetScanFieldSize(ref double dScanFieldSizeX,ref double dScanFieldSizeY);
- bool SetScanFieldSize100(double dScanFieldSizeX,double dScanFieldSizeY);
- bool GetScanFieldSize100(ref double dScanFieldSizeX, ref double dScanFieldSizeY);
- bool GetSemPositionXY(ref double a_dPositionX, ref double a_dPositionY, ref double a_dPositionR);
- bool MoveSEMToPoint(double a_dPositionX, double a_dPositionY, double rotation);
- bool MoveSEMToPoint(double a_dPositionX, double a_dPositionY);
- bool SetSemBrightness(double a_dBrightness);
- bool GetSemBrightness(ref double a_dBrightness);
- bool SetSemContrast(double a_dContrast);
- bool GetSemContrast(ref double a_dContrast);
- bool SetSemHighTension(double a_dKV);
- bool GetSemHighTension(ref double a_dKV);
- bool SetSemBeamCurrent(bool a_dKV);
- bool SetSemBeamBlank(bool a_dKV);
- bool GetSemBeamBlank(ref int a_nBeamBlank);
- bool StopXrayAcquisition();
- OTSCLRINTERFACE.COTSControlFunExport GetHardwareInterface();
- }
- public interface IScanController
- {
- bool Init();
- bool SetDwellTime(long val);
- bool SetImageSize(int nWidth,int nHeight);
- //bool SetAndStartScan();
- CBSEImgClr AcquireBSEImage(int matrixIndex,int reads,int dwell);
- }
- public interface IEDSController
- {
- bool Init();
- bool GetXRayByFeatures(List<COTSParticleClr> a_listParticles, double a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);//这里将DWORD转成了Double类型,因为在后续调用时还有DWORD强制转换
- bool GetXRayByPoints(List<COTSParticleClr> a_listParticles, uint a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);
- //bool GetXRayByMatrix(List<COTSParticleClr> a_listParticles, uint a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);// gether xray spectrum only,without quantification.So it is much faster.
- }
- }
|