|
|
@@ -2,9 +2,9 @@ package com.zhongshu.iot.server.core.domain.iot.mqtt;
|
|
|
|
|
|
import cn.hutool.json.JSONObject;
|
|
|
import com.github.microservice.models.type.DeviceSpecType;
|
|
|
+import com.github.microservice.models.type.DeviceState;
|
|
|
import com.github.microservice.models.type.DeviceType;
|
|
|
import com.github.microservice.models.type.OnLineState;
|
|
|
-import com.zhongshu.iot.client.type.DataState;
|
|
|
import com.zhongshu.iot.server.core.domain.base.SuperEntity;
|
|
|
import com.zhongshu.iot.server.core.domain.iot.IotTemplate;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
@@ -45,7 +45,7 @@ public class DeviceInfo extends SuperEntity {
|
|
|
private OnLineState onLineState;
|
|
|
|
|
|
@Schema(description = "数据状态")
|
|
|
- private DataState state = DataState.Enable;
|
|
|
+ private DeviceState state = DeviceState.Enable;
|
|
|
|
|
|
@Schema(description = "ip地址")
|
|
|
private String ip;
|