From 9d2bca0f44fe0a4a2f25e819f6c27974181f5221 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Tue, 19 Aug 2025 23:12:47 +0300 Subject: Machine Service Telemetry Checkpoints & Device Registration. --- .../PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs | 27 ++++++++++++++++++++++ .../Web/TelemetryGetCheckPointsResponse.cs | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs index 0363285f8..d0fb21150 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs @@ -175,5 +175,32 @@ namespace Tango.PPC.Common.Web return Post("GetMachineVersions", request); } + /// + /// Executes the SetTelemetryCheckPoints action and returns Tango.PPC.Common.Web.TelemetrySetCheckPointsResponse. + /// + /// + public Task SetTelemetryCheckPoints(Tango.PPC.Common.Web.TelemetrySetCheckPointsRequest request) + { + return Post("SetTelemetryCheckPoints", request); + } + + /// + /// Executes the GetTelemetryCheckPoints action and returns Tango.PPC.Common.Web.TelemetryGetCheckPointsResponse. + /// + /// + public Task GetTelemetryCheckPoints(Tango.PPC.Common.Web.TelemetryGetCheckPointsRequest request) + { + return Post("GetTelemetryCheckPoints", request); + } + + /// + /// Executes the GetTelemetryDeviceConnection action and returns Tango.PPC.Common.Web.TelemetryDeviceRegistrationResponse. + /// + /// + public Task GetTelemetryDeviceConnection(Tango.PPC.Common.Web.TelemetryDeviceRegistrationRequest request) + { + return Post("GetTelemetryDeviceConnection", request); + } + } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs index ff167acc5..72943f61c 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs @@ -7,7 +7,7 @@ using Tango.Transport.Web; namespace Tango.PPC.Common.Web { - public class TelemetryGetCheckPointsResponse : WebRequestMessage + public class TelemetryGetCheckPointsResponse : WebResponseMessage { public List Checkpoints { get; set; } -- cgit v1.3.1