aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2025-08-19 14:53:17 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2025-08-19 14:53:17 +0300
commite83090a37f55de0a454866d22df1f9f9c36567af (patch)
tree1c2a3c731b375651e31baee17d39478bc954f188 /Software/Visual_Studio/PPC/Tango.PPC.Common
parent2b50435b263bcd6d54b7ce5e9114c5bd93ae55e4 (diff)
downloadTango-e83090a37f55de0a454866d22df1f9f9c36567af.tar.gz
Tango-e83090a37f55de0a454866d22df1f9f9c36567af.zip
Telemetry Checkpoints & Registration Messages.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj8
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationRequest.cs13
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryDeviceRegistrationResponse.cs14
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsRequest.cs14
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetryGetCheckPointsResponse.cs19
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsRequest.cs26
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/TelemetrySetCheckPointsResponse.cs14
7 files changed, 107 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj
index 935a1e5d2..7c20d08f5 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj
@@ -315,6 +315,12 @@
<Compile Include="Web\PPCWebClient.cs" />
<Compile Include="Web\PPCWebClientBase.cs" />
<Compile Include="Web\SynchronizationFailedEntity.cs" />
+ <Compile Include="Web\TelemetryDeviceRegistrationResponse.cs" />
+ <Compile Include="Web\TelemetryDeviceRegistrationRequest.cs" />
+ <Compile Include="Web\TelemetryGetCheckPointsResponse.cs" />
+ <Compile Include="Web\TelemetryGetCheckPointsRequest.cs" />
+ <Compile Include="Web\TelemetrySetCheckPointsResponse.cs" />
+ <Compile Include="Web\TelemetrySetCheckPointsRequest.cs" />
<Compile Include="Web\UpdateDBRequest.cs" />
<Compile Include="Web\UpdateDBResponse.cs" />
<Compile Include="Messages\JobRemovedMessage.cs" />
@@ -674,7 +680,7 @@
</Target>
<ProjectExtensions>
<VisualStudio>
- <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
+ <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" />
</VisualStudio>
</ProjectExtensions>
</Project> \ No newline at end of file
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
+ {
+
+ }
+}