IPhoto.cs 476 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MeasureThread
  7. {
  8. interface IPhoto
  9. {
  10. bool TakePhoto();
  11. }
  12. public class PhotoParam
  13. {
  14. private float mag;
  15. public string savePath;
  16. public string scanSpeed;
  17. public string scanSpeedAfter;
  18. public float Mag { get => mag; set { if (value < 200) value = 200; mag = value; } }
  19. }
  20. }