aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs27
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs2
2 files changed, 28 insertions, 1 deletions
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<Tango.PPC.Common.Web.MachineVersionsRequest, Tango.PPC.Common.Web.MachineVersionsResponse>("GetMachineVersions", request);
}
+ /// <summary>
+ /// Executes the SetTelemetryCheckPoints action and returns Tango.PPC.Common.Web.TelemetrySetCheckPointsResponse.
+ /// </summary>
+ /// <returns></returns>
+ public Task<Tango.PPC.Common.Web.TelemetrySetCheckPointsResponse> SetTelemetryCheckPoints(Tango.PPC.Common.Web.TelemetrySetCheckPointsRequest request)
+ {
+ return Post<Tango.PPC.Common.Web.TelemetrySetCheckPointsRequest, Tango.PPC.Common.Web.TelemetrySetCheckPointsResponse>("SetTelemetryCheckPoints", request);
+ }
+
+ /// <summary>
+ /// Executes the GetTelemetryCheckPoints action and returns Tango.PPC.Common.Web.TelemetryGetCheckPointsResponse.
+ /// </summary>
+ /// <returns></returns>
+ public Task<Tango.PPC.Common.Web.TelemetryGetCheckPointsResponse> GetTelemetryCheckPoints(Tango.PPC.Common.Web.TelemetryGetCheckPointsRequest request)
+ {
+ return Post<Tango.PPC.Common.Web.TelemetryGetCheckPointsRequest, Tango.PPC.Common.Web.TelemetryGetCheckPointsResponse>("GetTelemetryCheckPoints", request);
+ }
+
+ /// <summary>
+ /// Executes the GetTelemetryDeviceConnection action and returns Tango.PPC.Common.Web.TelemetryDeviceRegistrationResponse.
+ /// </summary>
+ /// <returns></returns>
+ public Task<Tango.PPC.Common.Web.TelemetryDeviceRegistrationResponse> GetTelemetryDeviceConnection(Tango.PPC.Common.Web.TelemetryDeviceRegistrationRequest request)
+ {
+ return Post<Tango.PPC.Common.Web.TelemetryDeviceRegistrationRequest, Tango.PPC.Common.Web.TelemetryDeviceRegistrationResponse>("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<TelemetryCheckPoint> Checkpoints { get; set; }