whyclj
2019-10-21 aecc5aa11fd2cbdea193db53adfc7c7920f43b26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.mode;
 
import java.io.Serializable;
 
public class DeviceState implements Serializable {
 
    public int devWorkState;
    public String nowBattName;
 
    public DeviceState(int devWorkState,String nowBattName){
        this.devWorkState = devWorkState;
        this.nowBattName = nowBattName;
    }
 
    @Override
    public String toString() {
        return "DeviceState{" +
                "devWorkState=" + devWorkState +
                ", nowBattName='" + nowBattName + '\'' +
                '}';
    }
}