瀏覽代碼

更新!

TRX 1 年之前
父節點
當前提交
e4477b7508
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      OneCardIotClient/src/main/java/com/zhongshu/iot/client/model/iot/IotMainParam.java

+ 2 - 2
OneCardIotClient/src/main/java/com/zhongshu/iot/client/model/iot/IotMainParam.java

@@ -1,7 +1,7 @@
 package com.zhongshu.iot.client.model.iot;
 
-import com.github.microservice.types.FunctionType;
 import com.github.microservice.models.baseParam.SuperParam;
+import com.github.microservice.types.FunctionType;
 import com.zhongshu.iot.client.type.DataType;
 import com.zhongshu.iot.client.type.EventType;
 import com.zhongshu.iot.client.type.IotDataType;
@@ -30,7 +30,7 @@ public class IotMainParam extends SuperParam {
     private String iotThingId;
 
     @Schema(description = "区分是模版还是设备关联的物模型")
-    private IotDataType iotDataType;
+    private IotDataType iotDataType = IotDataType.IotTemplate;
 
     @Schema(description = "设备id")
     private String deviceId;