package com.imdroid.secapi.dto;

import lombok.Data;

@Data
public class UpgradeState {
    static final public byte STATE_DISCONNECTED = 0;
    static final public byte STATE_INFO_ACQUIRING = 1;
    static final public byte STATE_UPGRADING = 2;
    static final public byte STATE_UPGRADED = 3;
    String deviceId;
    byte progress=0;
    byte state=STATE_DISCONNECTED; //0:未连接；1：获取信息；2:升级中；3:升级完成
    byte code=0;
}
