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;