完善业务系统属性值获取逻辑

This commit is contained in:
ChenYi 2026-02-05 17:28:51 +08:00
parent efa9c6a332
commit 7a5479f646

View File

@ -235,7 +235,7 @@ namespace JiShe.IoT.BusinessSystemAggregation
return HttpDataResultExtensions.Failed<Dictionary<string, object>>($"业务系统推送指令时设备{deviceInfo.DeviceAddress}的平台端物模型信息不存在。", -107, ResponeResultEnum.Fail);
}
Dictionary<string, object> commands = new Dictionary<string, object>;
Dictionary<string, object> commands = new Dictionary<string, object>();
foreach (var item in messageBody.Commands)
{
var tempPlatformThingModelInfo = platformThingModelInfo.Where(d => d.StandardFieldName == item.Key).FirstOrDefault();