diff --git a/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs b/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs index 12b96f6..744fd35 100644 --- a/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs +++ b/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs @@ -1185,7 +1185,7 @@ namespace JiShe.IoT.DeviceAggregation string upgradeMessageHexString = upgradeRecordInput.UpgradeMessage.ToHexString(); //检查长度是否超过了OneNET平台升级属性标识符的长度限制 - var thingModelInfoStr = ((OneNETProductInfos)productInfo).ThingModelInfos; + var thingModelInfoStr = ((OneNETProductInfoDto)productInfo).ThingModelInfos; if (string.IsNullOrWhiteSpace(thingModelInfoStr)) { logger.LogError($"{nameof(DeviceUpgradeCommandToOneNET)} 通过OneNET产品ID和属性标识符获取属性配置信息失败,属性信息为空");