类 DeviceApiDTO

    • 字段详细资料

      • rootPk

        protected String rootPk
        顶级节点设备的pk,不存在则没有顶级节点,自身为顶级节点
      • rootDevId

        protected String rootDevId
        顶级节点设备的pk,不存在则没有顶级节点,自身为顶级节点

        parentPk 和 parentDevId 要么同时存在,要么同时不存在

      • parentPk

        protected String parentPk
        父节点设备的pk,不存在则没有父节点
      • parentDevId

        protected String parentDevId
        父节点设备的devId,不存在则没有父节点;

        parentPk 和 parentDevId 要么同时存在,要么同时不存在

      • createdDate

        protected Date createdDate
        创建时间
      • updatedDate

        protected Date updatedDate
        更新时间
      • enable

        protected Boolean enable
        是否启用,false 禁用,否则启用
      • devId

        protected String devId
      • online

        protected boolean online
        在线状态,如果是子设备,这个状态在数据库中并不随着父节点的状态发生变更,只有查询返回的时候动态设置
      • devSecret

        protected String devSecret
        设备密钥
      • loginTime

        protected Date loginTime
        最近一次登录时间
      • logoutTime

        protected Date logoutTime
        最后一次登出时间
      • registerTime

        protected Date registerTime
        注册时间
      • firstLoginTime

        protected Date firstLoginTime
        第一次登录时间,也算是上电激活时间
      • ipInfo

        protected IpInfo ipInfo
      • moduleVersion

        protected String moduleVersion
        模组固件版本
      • mcuVersion

        protected String mcuVersion
        mcu固件版本
      • configVersion

        protected String configVersion
        远程配置版本
      • batchName

        protected String batchName
        批次添加名字
      • imei

        protected String imei
        设备 imei 如果有的话,全局唯一
    • 构造器详细资料

      • DeviceApiDTO

        public DeviceApiDTO()
    • 方法详细资料

      • isEnable

        public boolean isEnable()
        设备是否被启用
        返回:
        true 启用,否则禁用
      • getEnable

        public Boolean getEnable()