修复升级指令发送失败的问题

This commit is contained in:
ChenYi 2026-01-22 16:05:36 +08:00
parent 962e148c4c
commit f951a0eedc

View File

@ -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和属性标识符获取属性配置信息失败属性信息为空");