优化物模型绑定

This commit is contained in:
ChenYi 2026-01-21 17:29:54 +08:00
parent ab382b9b6c
commit 962e148c4c

View File

@ -1092,6 +1092,7 @@ namespace JiShe.IoT.DeviceAggregation
{ {
//非绑定物模型情况下SpecialCommand还原默认值设备也会恢复默认采集方式 //非绑定物模型情况下SpecialCommand还原默认值设备也会恢复默认采集方式
input.Commands[ThingModelFixedTypeConst.SpecialCommand] = CommonConst.SpecialCommandDefaultValue; input.Commands[ThingModelFixedTypeConst.SpecialCommand] = CommonConst.SpecialCommandDefaultValue;
logger.LogWarning($"{nameof(DeviceCommandInfoToOneNET)} OneNET平台设备{deviceInfo.DeviceAddress}特殊抄读指令还原为{CommonConst.SpecialCommandDefaultValue}");
} }
var commandRequest = new OpenApiRequest() var commandRequest = new OpenApiRequest()