TRX 1 год назад
Родитель
Сommit
44471a9ee6

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

@@ -40,8 +40,8 @@ public class DeviceInfoModel extends SuperModel {
     private String deviceModelStr;
     private String deviceModelStr;
 
 
     public String getDeviceModelStr() {
     public String getDeviceModelStr() {
-        if (deviceModel != null) {
-            return deviceModel.getRemark();
+        if (specType != null) {
+            return specType.getRemark();
         }
         }
         return "";
         return "";
     }
     }