| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // HumanDetectionConfig.h
- // FunSDKDemo
- //
- // Created by wujiangbo on 2018/12/27.
- // Copyright © 2018 wujiangbo. All rights reserved.
- //
- /******
- 徘徊检测配置
- *****/
- #import <Foundation/Foundation.h>
- #import "ConfigControllerBase.h"
- NS_ASSUME_NONNULL_BEGIN
- @protocol AlarmPIRConfigDelegate <NSObject>
- @optional
- //获取能力级回调信息
- - (void)AlarmPIRConfigGetResult:(NSInteger)result;
- //设置徘徊检测开关回调
- - (void)AlarmPIRConfigSetResult:(NSInteger)result;
- @end
- @interface AlarmPIRConfig : ConfigControllerBase
- @property (nonatomic, assign) id <AlarmPIRConfigDelegate> delegate;
- #pragma mark - 获取徘徊检测配置
- -(void)getAlarmPIRConfig;
- #pragma mark - 读取徘徊检测报警功能开关状态
- -(BOOL)getAlarmPIREnable;
- #pragma mark - 读取徘徊检测时间长度
- - (int)getAlarmPIRCheckTime;
- #pragma mark - 设置徘徊检测报警功能开关状态
- - (void)setAlarmPIREnable:(BOOL)enable;
- #pragma mark - 设置徘徊检测时间长度
- - (void)setAlarmPIRCheckTime:(int)enable;
- @end
- NS_ASSUME_NONNULL_END
|