EZOpenSDK  v4.7.1
 All Classes Functions Properties
EZDetectorInfo.h
1 //
2 // EZDetectorInfo.h
3 // EzvizOpenSDK
4 //
5 // Created by DeJohn Dong on 16/1/12.
6 // Copyright © 2016Ezviz.. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
12 @interface EZDetectorInfo : NSObject
13 
15 @property (nonatomic, copy) NSString *detectorSerial;
17 @property (nonatomic) NSInteger state;
19 @property (nonatomic, copy) NSString *type;
21 /* V("V", "video device"), I("I", "alarm input device"), O("O", "alarm output device"), PIR("PIR", "infrared detector"), FIRE("FIRE", "smoke detector),MAGNETOMETER("MAGNETOMETER", "door magnetic sensor"), GAS("GAS", "combustible gas"), WATERLOGGING("WATERLOGGING", "water leak"),CALLHELP("CALLHELP", "emergency button"), TELECONTROL("TELECONTROL", "remote controller"), ALERTOR("ALERTOR", "alertor"),KEYBOARD("KEYBOARD", "keyboard"),CURTAIN("CURTAIN","curtain"), MOVE_MAGNETOMETER("MOVE_MAGNETOMETER","open-close detector")
22  */
23 @property (nonatomic, copy) NSString *typeName;
25 @property (nonatomic) NSInteger faultZoneStatus;
27 @property (nonatomic) NSInteger underVoltageStatus;
29 @property (nonatomic) NSInteger wirelessInterferenceStatus;
31 @property (nonatomic) NSInteger offlineStatus;
33 @property (nonatomic) BOOL atHomeEnable;
35 @property (nonatomic) BOOL outerEnable;
37 @property (nonatomic) BOOL sleepEnable;
38 
39 @end
NSInteger wirelessInterferenceStatus
0- Wireless internet recovered, 1- Wireless interference
Definition: EZDetectorInfo.h:29
NSInteger faultZoneStatus
0- Zone recovered, 1- Zone fault
Definition: EZDetectorInfo.h:25
Detector information.
Definition: EZDetectorInfo.h:12
NSInteger underVoltageStatus
0- Voltage recovered, 1- Low voltage
Definition: EZDetectorInfo.h:27
BOOL atHomeEnable
Whether At-Home Mode is enabled.
Definition: EZDetectorInfo.h:33
NSString * type
Detector type.
Definition: EZDetectorInfo.h:19
NSInteger state
Detector status, whether it is connected to security control panel: 0- No, 1- Yes.
Definition: EZDetectorInfo.h:17
NSInteger offlineStatus
0- Device connection recovered, 1- Device offline
Definition: EZDetectorInfo.h:31
BOOL sleepEnable
Whether Sleeping Mode is enabled.
Definition: EZDetectorInfo.h:37
NSString * typeName
Detector name.
Definition: EZDetectorInfo.h:23
NSString * detectorSerial
Detector serial No.
Definition: EZDetectorInfo.h:15
BOOL outerEnable
Whether Leaving-Home Mode is enabled.
Definition: EZDetectorInfo.h:35