完善业务系统属性值获取逻辑
This commit is contained in:
parent
efa9c6a332
commit
7a5479f646
@ -235,7 +235,7 @@ namespace JiShe.IoT.BusinessSystemAggregation
|
|||||||
return HttpDataResultExtensions.Failed<Dictionary<string, object>>($"业务系统推送指令时设备{deviceInfo.DeviceAddress}的平台端物模型信息不存在。", -107, ResponeResultEnum.Fail);
|
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)
|
foreach (var item in messageBody.Commands)
|
||||||
{
|
{
|
||||||
var tempPlatformThingModelInfo = platformThingModelInfo.Where(d => d.StandardFieldName == item.Key).FirstOrDefault();
|
var tempPlatformThingModelInfo = platformThingModelInfo.Where(d => d.StandardFieldName == item.Key).FirstOrDefault();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user