Class DevicesData

    • Constructor Detail

      • DevicesData

        public DevicesData()
      • DevicesData

        public DevicesData​(DevicesData source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getTid

        public String getTid()
        Get 设备TID
        Returns:
        Tid 设备TID
      • setTid

        public void setTid​(String Tid)
        Set 设备TID
        Parameters:
        Tid - 设备TID
      • getDeviceName

        public String getDeviceName()
        Get 设备名称
        Returns:
        DeviceName 设备名称
      • setDeviceName

        public void setDeviceName​(String DeviceName)
        Set 设备名称
        Parameters:
        DeviceName - 设备名称
      • getActiveTime

        public Long getActiveTime()
        Get 激活时间 0代表未激活
        Returns:
        ActiveTime 激活时间 0代表未激活
      • setActiveTime

        public void setActiveTime​(Long ActiveTime)
        Set 激活时间 0代表未激活
        Parameters:
        ActiveTime - 激活时间 0代表未激活
      • getDisabled

        public Boolean getDisabled()
        Get 设备是否被禁用
        Returns:
        Disabled 设备是否被禁用
      • setDisabled

        public void setDisabled​(Boolean Disabled)
        Set 设备是否被禁用
        Parameters:
        Disabled - 设备是否被禁用
      • getStreamStatus

        public Boolean getStreamStatus()
        Get 设备推流状态
        Returns:
        StreamStatus 设备推流状态
      • setStreamStatus

        public void setStreamStatus​(Boolean StreamStatus)
        Set 设备推流状态
        Parameters:
        StreamStatus - 设备推流状态
      • getOtaVersion

        public String getOtaVersion()
        Get 固件版本
        Returns:
        OtaVersion 固件版本
      • setOtaVersion

        public void setOtaVersion​(String OtaVersion)
        Set 固件版本
        Parameters:
        OtaVersion - 固件版本
      • getOnline

        public Long getOnline()
        Get 设备在线状态
        Returns:
        Online 设备在线状态
      • setOnline

        public void setOnline​(Long Online)
        Set 设备在线状态
        Parameters:
        Online - 设备在线状态
      • getLastOnlineTime

        public Long getLastOnlineTime()
        Get 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
        Returns:
        LastOnlineTime 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
      • setLastOnlineTime

        public void setLastOnlineTime​(Long LastOnlineTime)
        Set 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
        Parameters:
        LastOnlineTime - 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
      • getIotModel

        public String getIotModel()
        Get 物模型json数据
        Returns:
        IotModel 物模型json数据
      • setIotModel

        public void setIotModel​(String IotModel)
        Set 物模型json数据
        Parameters:
        IotModel - 物模型json数据
      • getLastUpdateTime

        public Long getLastUpdateTime()
        Get 设备固件最新更新时间,UNIX时间戳,单位秒
        Returns:
        LastUpdateTime 设备固件最新更新时间,UNIX时间戳,单位秒
      • setLastUpdateTime

        public void setLastUpdateTime​(Long LastUpdateTime)
        Set 设备固件最新更新时间,UNIX时间戳,单位秒
        Parameters:
        LastUpdateTime - 设备固件最新更新时间,UNIX时间戳,单位秒