ScanViewController.h 766 B

1234567891011121314151617181920212223
  1. //
  2. // ScanViewController.h
  3. // Haishenghai-master
  4. //
  5. // Created by GG on 2019/1/3.
  6. // Copyright © 2019年 Haishenghai intelligence network technology. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <AVFoundation/AVFoundation.h>
  10. @interface ScanViewController : UIViewController
  11. //------------------------------------------------------
  12. @property (nonatomic, strong) NSTimer *timer;
  13. @property (nonatomic, strong) AVCaptureDevice *device;
  14. @property (nonatomic, strong) AVCaptureSession *session;
  15. @property (nonatomic, strong) AVCaptureVideoPreviewLayer *preview;
  16. @property (nonatomic, strong) UIImageView *line;
  17. @property (nonatomic, assign) NSInteger distance;
  18. @property(nonatomic,strong)NSString *deveceName;
  19. @property(nonatomic,assign)int typeId;
  20. @end