AlarmPIRConfig.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // HumanDetectionConfig.h
  3. // FunSDKDemo
  4. //
  5. // Created by wujiangbo on 2018/12/27.
  6. // Copyright © 2018 wujiangbo. All rights reserved.
  7. //
  8. /******
  9. 徘徊检测配置
  10. *****/
  11. #import <Foundation/Foundation.h>
  12. #import "ConfigControllerBase.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @protocol AlarmPIRConfigDelegate <NSObject>
  15. @optional
  16. //获取能力级回调信息
  17. - (void)AlarmPIRConfigGetResult:(NSInteger)result;
  18. //设置徘徊检测开关回调
  19. - (void)AlarmPIRConfigSetResult:(NSInteger)result;
  20. @end
  21. @interface AlarmPIRConfig : ConfigControllerBase
  22. @property (nonatomic, assign) id <AlarmPIRConfigDelegate> delegate;
  23. #pragma mark - 获取徘徊检测配置
  24. -(void)getAlarmPIRConfig;
  25. #pragma mark - 读取徘徊检测报警功能开关状态
  26. -(BOOL)getAlarmPIREnable;
  27. #pragma mark - 读取徘徊检测时间长度
  28. - (int)getAlarmPIRCheckTime;
  29. #pragma mark - 设置徘徊检测报警功能开关状态
  30. - (void)setAlarmPIREnable:(BOOL)enable;
  31. #pragma mark - 设置徘徊检测时间长度
  32. - (void)setAlarmPIRCheckTime:(int)enable;
  33. @end
  34. NS_ASSUME_NONNULL_END