diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-08-19 14:53:17 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-08-19 14:53:17 +0300 |
| commit | e83090a37f55de0a454866d22df1f9f9c36567af (patch) | |
| tree | 1c2a3c731b375651e31baee17d39478bc954f188 /Software/Visual_Studio/PPC/Tango.PPC.Common/Web | |
| parent | 2b50435b263bcd6d54b7ce5e9114c5bd93ae55e4 (diff) | |
| download | Tango-e83090a37f55de0a454866d22df1f9f9c36567af.tar.gz Tango-e83090a37f55de0a454866d22df1f9f9c36567af.zip | |
Telemetry Checkpoints & Registration Messages.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Web')
6 files changed, 100 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationRequest.cs new file mode 100644 index 000000000..61dd53276 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationRequest.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.PPC.Common.Web +{ + public class TelemetryDeviceRegistrationRequest : WebRequestMessage + { + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationResponse.cs new file mode 100644 index 000000000..6d2223abf --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationResponse.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.PPC.Common.Web +{ + public class TelemetryDeviceRegistrationResponse : WebResponseMessage + { + public String ConnectionString { get; set; } + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsRequest.cs new file mode 100644 index 000000000..f2998da40 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsRequest.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.PPC.Common.Web +{ + public class TelemetryGetCheckPointsRequest : WebRequestMessage + { + + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs new file mode 100644 index 000000000..ff167acc5 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.PPC.Common.Web +{ + public class TelemetryGetCheckPointsResponse : WebRequestMessage + { + public List<TelemetryCheckPoint> Checkpoints { get; set; } + + public TelemetryGetCheckPointsResponse() + { + Checkpoints = new List<TelemetryCheckPoint>(); + } + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsRequest.cs new file mode 100644 index 000000000..2c2ea8e4a --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsRequest.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.PPC.Common.Web +{ + public class TelemetryCheckPoint + { + public String SourceName { get; set; } + public DateTime Time { get; set; } + public int TotalCount { get; set; } + } + + public class TelemetrySetCheckPointsRequest : WebRequestMessage + { + public List<TelemetryCheckPoint> Checkpoints { get; set; } + + public TelemetrySetCheckPointsRequest() + { + Checkpoints = new List<TelemetryCheckPoint>(); + } + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsResponse.cs new file mode 100644 index 000000000..68d1411c6 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsResponse.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.PPC.Common.Web +{ + public class TelemetrySetCheckPointsResponse : WebResponseMessage + { + + } +} |
