|
|
@@ -80,6 +80,13 @@ public class DeviceInfoModel extends SuperModel {
|
|
|
@Schema(description = "数据状态")
|
|
|
private DeviceState state;
|
|
|
|
|
|
+ public DeviceState getState() {
|
|
|
+ if (state != null) {
|
|
|
+ return state;
|
|
|
+ }
|
|
|
+ return DeviceState.Enable;
|
|
|
+ }
|
|
|
+
|
|
|
private String stateStr;
|
|
|
|
|
|
public String getStateStr() {
|