IMeasureHardware.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. bool MoveSEMToPoint(Point poi);
  25. OTSCLRINTERFACE.COTSControlFunExport GetHardwareInterface();
  26. }
  27. public interface IScanController
  28. {
  29. bool Init();
  30. bool SetDwellTime(long val);
  31. bool SetImageSize(int nWidth,int nHeight);
  32. //bool SetAndStartScan();
  33. CBSEImgClr AcquireBSEImage(int matrixIndex,int reads,int dwell);
  34. }
  35. public interface IEDSController
  36. {
  37. bool Init();
  38. bool GetXRayByFeatures(List<COTSParticleClr> a_listParticles, double a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);//这里将DWORD转成了Double类型,因为在后续调用时还有DWORD强制转换
  39. bool GetXRayByPoints(List<COTSParticleClr> a_listParticles, uint a_nXRayAQTime, bool a_bElementInfo /*= FALSE*/);
  40. }
  41. }