类 EZDetectorInfo
- java.lang.Object
-
- com.videogo.openapi.bean.EZDetectorInfo
-
- 所有已实现的接口:
android.os.Parcelable
public class EZDetectorInfo extends java.lang.Object implements android.os.Parcelable探测器类对象 Created by xiaxingsuo on 2016/1/18.
-
-
字段概要
字段 修饰符和类型 字段 说明 static android.os.Parcelable.Creator<EZDetectorInfo>CREATOR
-
构造器概要
构造器 限定符 构造器 说明 EZDetectorInfo()protectedEZDetectorInfo(android.os.Parcel in)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intdescribeContents()intgetAtHomeEnable()在家模式下,探测器是否布防java.lang.StringgetDetectorSerial()获取探测器序列号intgetDetectorState()获取探测器与告警主机是否连通java.lang.StringgetDetectorType()获取探测器类型java.lang.StringgetDetectorTypeName()获取intgetFaultZoneStatus()获取防区故障状态0恢复,1产生java.lang.StringgetLocation()获取客户自定义方位信息intgetOfflineStatus()获取设备离线状态,0恢复,1产生intgetOuterEnable()外出模式下,探测器是否布防intgetSleepEnable()睡眠模式下,探测器是否布防intgetUnderVoltageStatus()获取电池欠压状态,0恢复,1产生intgetWirelessInterferenceStatus()获取无线干扰状态,0恢复,1产生voidsetAtHomeEnable(int atHomeEnable)设置在家模式下,探测器是否布防voidsetDetectorSerial(java.lang.String detectorSerial)设置探测器序列号voidsetDetectorState(int detectorState)设置 探测器与A1是否连通,voidsetDetectorType(java.lang.String detectorType)设置探测器类型voidsetDetectorTypeName(java.lang.String detectorTypeName)设置防区故障状态voidsetFaultZoneStatus(int faultZoneStatus)voidsetLocation(java.lang.String location)voidsetOfflineStatus(int offlineStatus)设置离线状态voidsetOuterEnable(int outerEnable)设置离家模式下,探测器是否布防voidsetSleepEnable(int sleepEnable)设置睡眠模式下,探测器是否布防voidsetUnderVoltageStatus(int underVoltageStatus)设置电池欠压状态voidsetWirelessInterferenceStatus(int wirelessInterferenceStatus)设置无线干扰状态voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
字段详细资料
-
CREATOR
public static final android.os.Parcelable.Creator<EZDetectorInfo> CREATOR
-
-
方法详细资料
-
getLocation
public java.lang.String getLocation()
获取客户自定义方位信息- 返回:
-
setLocation
public void setLocation(java.lang.String location)
-
setDetectorSerial
public void setDetectorSerial(java.lang.String detectorSerial)
设置探测器序列号- 参数:
detectorSerial- 探测器序列号
-
setDetectorType
public void setDetectorType(java.lang.String detectorType)
设置探测器类型- 参数:
detectorType- 探测器类型
-
setDetectorState
public void setDetectorState(int detectorState)
设置 探测器与A1是否连通,- 参数:
detectorState- 0-非联通,1-联通
-
setDetectorTypeName
public void setDetectorTypeName(java.lang.String detectorTypeName)
设置防区故障状态- 参数:
detectorTypeName- 0恢复,1产生
-
setFaultZoneStatus
public void setFaultZoneStatus(int faultZoneStatus)
- 参数:
faultZoneStatus-
-
setUnderVoltageStatus
public void setUnderVoltageStatus(int underVoltageStatus)
设置电池欠压状态- 参数:
underVoltageStatus- 0恢复,1产生
-
setWirelessInterferenceStatus
public void setWirelessInterferenceStatus(int wirelessInterferenceStatus)
设置无线干扰状态- 参数:
wirelessInterferenceStatus- 0恢复,1产生
-
setOfflineStatus
public void setOfflineStatus(int offlineStatus)
设置离线状态- 参数:
offlineStatus- 0恢复,1产生
-
setAtHomeEnable
public void setAtHomeEnable(int atHomeEnable)
设置在家模式下,探测器是否布防- 参数:
atHomeEnable- 0-关闭,1-开启
-
setOuterEnable
public void setOuterEnable(int outerEnable)
设置离家模式下,探测器是否布防- 参数:
outerEnable- 0-关闭,1-开启
-
setSleepEnable
public void setSleepEnable(int sleepEnable)
设置睡眠模式下,探测器是否布防- 参数:
sleepEnable- 0-关闭,1-开启
-
getDetectorSerial
public java.lang.String getDetectorSerial()
获取探测器序列号- 返回:
- 探测器序列号
-
getDetectorType
public java.lang.String getDetectorType()
获取探测器类型- 返回:
- 探测器类型
-
getDetectorState
public int getDetectorState()
获取探测器与告警主机是否连通- 返回:
- 探测器与告警主机是否连通0-非联通,1-联通
-
getDetectorTypeName
public java.lang.String getDetectorTypeName()
获取- 返回:
- 探测器名称
-
getFaultZoneStatus
public int getFaultZoneStatus()
获取防区故障状态0恢复,1产生- 返回:
- 防区故障状态,0恢复,1产生
-
getUnderVoltageStatus
public int getUnderVoltageStatus()
获取电池欠压状态,0恢复,1产生- 返回:
- 电池欠压状态,0恢复,1产生
-
getWirelessInterferenceStatus
public int getWirelessInterferenceStatus()
获取无线干扰状态,0恢复,1产生- 返回:
- 无线干扰状态,0恢复,1产生
-
getOfflineStatus
public int getOfflineStatus()
获取设备离线状态,0恢复,1产生- 返回:
- 设备离线状态,0恢复,1产生
-
getAtHomeEnable
public int getAtHomeEnable()
在家模式下,探测器是否布防- 返回:
- 0-关闭,1-开启
-
getOuterEnable
public int getOuterEnable()
外出模式下,探测器是否布防- 返回:
- 0-关闭,1-开启
-
getSleepEnable
public int getSleepEnable()
睡眠模式下,探测器是否布防- 返回:
- 0-关闭,1-开启
-
describeContents
public int describeContents()
- 指定者:
describeContents在接口中android.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- 指定者:
writeToParcel在接口中android.os.Parcelable
-
-