diff --git a/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs b/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs index 5104c78..6ac1889 100644 --- a/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs +++ b/src/JiShe.IoT.Application/DeviceAggregation/DeviceAggregationService.cs @@ -294,14 +294,14 @@ namespace JiShe.IoT.DeviceAggregation { throw new UserFriendlyException($"设备不存在"); } - //将指令存储Kafka的OneNET主题中 + //将指令存储 var commandRequest = new OpenApiRequest() { Message = new ReceiveCommandInfoDto() { DeviceAddress = deviceInfo.DeviceAddress, Commands = input.CommandContent.Deserialize>(), - DeviceType = input.DeviceType ?? DeviceTypeEnum.Focus,//todo 设备类型 需要跟设备统一什么情况下知道具体设备类型 + DeviceType = input.DeviceType ?? DeviceTypeEnum.GATEWAY,//todo 设备类型 需要跟设备统一什么情况下知道具体设备类型 SourceType = DeviceTelemetrySourceTypeEnum.AdminSystem, TelemetryType = input.TelemetryType ?? DeviceTelemetryCommandTypeEnum.抄读, IoTPlatform = deviceInfo.IoTPlatform,