IFoces.cs 711 B

123456789101112131415161718192021222324252627282930
  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(Focusparameter param);
  13. }
  14. public class Focusparameter
  15. {
  16. public double voltage;
  17. public double Iprobe;
  18. public double mag;
  19. public double workingDis;
  20. public Point reduceWindowPos;
  21. public double reduceWinWidth;
  22. public double reduceWinHeight;
  23. public bool IfAutoBrightnessAndContrast;
  24. public double brightness;
  25. public double contrast;
  26. public double delayTime;//ms
  27. }
  28. }