IFocus.cs 727 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace MeasureThread
  8. {
  9. interface IFocus
  10. {
  11. bool DoFocus();
  12. void setFocusParam(Focusparam param);
  13. }
  14. public class Focusparam
  15. {
  16. public float voltage;
  17. public float Iprobe;
  18. public float mag;
  19. public float workingDis;
  20. public Point reduceWindowPos;
  21. public double reduceWinWidth;
  22. public double reduceWinHeight;
  23. public bool IfAutoBrightnessAndContrast;
  24. public float brightness;
  25. public float contrast;
  26. public int delayTime;//ms
  27. public string ScanSpeed;
  28. }
  29. }