aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Shared
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2022-04-28 01:46:21 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2022-04-28 01:46:21 +0300
commit59aa6065ebb3481e50c13ec6b4850448fe66186a (patch)
treea0fc681cebd3535bc611c270075d74784daaf324 /Software/Visual_Studio/PPC/Tango.PPC.Shared
parentb9b8126eacf4a4391f9725c91328586dd5446d4b (diff)
downloadTango-59aa6065ebb3481e50c13ec6b4850448fe66186a.tar.gz
Tango-59aa6065ebb3481e50c13ec6b4850448fe66186a.zip
FSE Procedures Remote Notifications.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Shared')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxRequest.cs15
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxResponse.cs13
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxType.cs16
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj3
4 files changed, 47 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxRequest.cs
new file mode 100644
index 000000000..6ea6c9024
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxRequest.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.Notifications
+{
+ public class RemoteMessageBoxRequest
+ {
+ public RemoteMessageBoxType Type { get; set; }
+ public String Message { get; set; }
+ public TimeSpan? Timeout { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxResponse.cs
new file mode 100644
index 000000000..0b3a31e92
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxResponse.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.Notifications
+{
+ public class RemoteMessageBoxResponse
+ {
+ public bool Result { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxType.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxType.cs
new file mode 100644
index 000000000..025dd6c75
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxType.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.Notifications
+{
+ public enum RemoteMessageBoxType
+ {
+ Info,
+ Warning,
+ Question,
+ Error
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
index a6eb2de89..3664a1835 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
@@ -81,6 +81,9 @@
<Compile Include="Logs\GetLogFilesResponse.cs" />
<Compile Include="Logs\RemoteLogFile.cs" />
<Compile Include="Logs\RemoteLogFileType.cs" />
+ <Compile Include="Notifications\RemoteMessageBoxResponse.cs" />
+ <Compile Include="Notifications\RemoteMessageBoxRequest.cs" />
+ <Compile Include="Notifications\RemoteMessageBoxType.cs" />
<Compile Include="Performance\PerformancePackage.cs" />
<Compile Include="Performance\StartPerformanceUpdatesRequest.cs" />
<Compile Include="Performance\StartPerformanceUpdatesResponse.cs" />