IMeasureHardware.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using OTSDataType;
  7. using System.Drawing;
  8. using OTSCLRINTERFACE;
  9. namespace OTSModelSharp.ServiceInterface
  10. {
  11. public interface ISemController
  12. {
  13. bool IsConnected();
  14. bool Connect();
  15. bool DisConnect();
  16. bool SetMagnification(double a_dMagnification);
  17. bool GetMagnification(ref double a_dMagnification);
  18. bool SetWorkingDistance(double a_distance);
  19. bool GetWorkingDistance(ref double a_distance);
  20. bool SetScanExternal(bool b);
  21. bool GetScanFieldSize(ref double dScanFieldSizeX,ref double dScanFieldSizeY);
  22. bool GetSemPositionXY(ref double a_dPositionX, ref double a_dPositionY, ref double a_dPositionR);
  23. bool MoveSEMToPoint(Point poi, double rotation);
  24. OTSCLRINTERFACE.COTSControlFunExport GetHardwareInterface();
  25. }
  26. public interface IScanController
  27. {
  28. bool Init();
  29. bool SetDwellTime(long val);
  30. bool SetImageSize(int nWidth,int nHeight);
  31. //bool SetAndStartScan();
  32. CBSEImgClr AcquireBSEImage(int matrixIndex,int reads,int dwell);
  33. }
  34. public interface IEDSController
  35. {
  36. bool Init();
  37. bool GetXRayByFeatures(List<COTSParticleClr> a_listParticles, double a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);//这里将DWORD转成了Double类型,因为在后续调用时还有DWORD强制转换
  38. bool GetXRayByPoints(List<COTSParticleClr> a_listParticles, uint a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);
  39. }
  40. }