PTZView.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // PTZView.h
  3. // XMEye
  4. //
  5. // Created by Levi on 2017/6/23.
  6. // Copyright © 2017年 Megatron. All rights reserved.
  7. //
  8. /******
  9. *
  10. *云台控制界面
  11. *
  12. *
  13. */
  14. #import <UIKit/UIKit.h>
  15. @protocol PTZViewDelegate <NSObject>
  16. #pragma mark - 点击云台控制的按钮
  17. -(void)controlPTZBtnTouchDownAction:(int)sender;
  18. #pragma mark - 抬起云台控制的按钮
  19. -(void)controlPTZBtnTouchUpInsideAction:(int)sender;
  20. #pragma mark - 点击控制的按钮(变倍,变焦,光圈)
  21. -(void)controladdSpeedTouchDownAction:(int)sender;
  22. #pragma mark - 抬起控制的按钮(变倍,变焦,光圈)
  23. -(void)controladdSpeedTouchUpInsideAction:(int)sender;
  24. @end
  25. @interface PTZView : UIView
  26. @property (nonatomic, strong) UIButton *closeBtn;
  27. @property (nonatomic, strong) UIButton *PTZUpBtn;
  28. @property (nonatomic, strong) UIButton *PTZDownBtn;
  29. @property (nonatomic, strong) UIButton *PTZLeftBtn;
  30. @property (nonatomic, strong) UIButton *PTZRightBtn;
  31. @property (nonatomic, strong) UIImageView *PTZControlIV;
  32. @property (nonatomic,weak) id <PTZViewDelegate> PTZdelegate;
  33. @property (nonatomic,weak) id <PTZViewDelegate> speedDelegate;
  34. @end