TRX 1 سال پیش
والد
کامیت
44471a9ee6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      OneCardIotClient/src/main/java/com/zhongshu/iot/client/model/mqtt/DeviceInfoModel.java

+ 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;
 
     public String getDeviceModelStr() {
-        if (deviceModel != null) {
-            return deviceModel.getRemark();
+        if (specType != null) {
+            return specType.getRemark();
         }
         return "";
     }