From b216593468b5e86fd09928a341fe8f45d8f40cd5 Mon Sep 17 00:00:00 2001 From: dell Date: Fri, 29 Aug 2025 17:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E4=BF=AE=E5=A4=8D=E7=AB=AF?= =?UTF-8?q?=E7=82=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HTCoreServiceApp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTCoreServiceApp/Program.cs b/HTCoreServiceApp/Program.cs index 32e2f72..ae47365 100644 --- a/HTCoreServiceApp/Program.cs +++ b/HTCoreServiceApp/Program.cs @@ -151,7 +151,7 @@ namespace HTCoreServiceApp async (string deviceCode, string plcTag, string value, HttpContext context, DeviceControl dc) => Results.Content(await dc.SetDevicePlcTagData(deviceCode, plcTag, value, context))); - deviceControl.MapGet("/SetDevicePlcTagData/deviceCode={deviceCode}&plcTag={plcTag}&value={value}", + deviceControl.MapGet("/SetDevicePlcTagDataHeartbeat/deviceCode={deviceCode}&plcTag={plcTag}&value={value}", async (string deviceCode, string plcTag, string value, HttpContext context, DeviceControl dc) => Results.Content(await dc.SetDevicePlcTagDataHeartbeat(deviceCode, plcTag, value, context)));