From 59aa6065ebb3481e50c13ec6b4850448fe66186a Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Thu, 28 Apr 2022 01:46:21 +0300 Subject: FSE Procedures Remote Notifications. --- .../Notifications/RemoteMessageBoxRequest.cs | 15 +++++++++++++++ .../Notifications/RemoteMessageBoxResponse.cs | 13 +++++++++++++ .../Notifications/RemoteMessageBoxType.cs | 16 ++++++++++++++++ .../PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj | 3 +++ 4 files changed, 47 insertions(+) create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxRequest.cs create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxResponse.cs create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.Shared/Notifications/RemoteMessageBoxType.cs (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Shared') 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 @@ + + + -- cgit v1.3.1