类 EZDeviceUpgradeStatus


  • public class EZDeviceUpgradeStatus
    extends java.lang.Object
    此类为设备升级状态对象 Created by xiaxingsuo on 2015/12/25.
    • 构造器详细资料

      • EZDeviceUpgradeStatus

        public EZDeviceUpgradeStatus()
    • 方法详细资料

      • getUpgradeProgress

        public int getUpgradeProgress()
        升级进度,仅status_type为升级状态时有效
        返回:
        1-100
      • setUpgradeProgress

        public void setUpgradeProgress​(int upgradeProgress)
        设置升级进度值
        参数:
        upgradeProgress - 1-100
      • getUpgradeStatus

        public int getUpgradeStatus()
        升级状态
        返回:
        0-正在升级 1-设备重启 2-升级成功 3-升级失败
      • setUpgradeStatus

        public void setUpgradeStatus​(int upgradeStatus)
        设置升级状态
        参数:
        upgradeStatus - 0-正在升级 1-设备重启 2-升级成功 3-升级失败