From 123eb6cdcb1bcf6396400ec8dc88abbc4d413500 Mon Sep 17 00:00:00 2001 From: ChenYi <296215406@outlook.com> Date: Tue, 28 Oct 2025 15:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0OneNET=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=8A=E6=8A=A5=E4=B8=BB=E4=BB=8E=E8=AE=BE=E5=A4=87=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DeviceAggregation/DeviceAggregationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,