diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-03-10 16:26:32 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-03-10 16:26:32 +0200 |
| commit | 6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35 (patch) | |
| tree | 4acde5e7e00c919e57c8e09e30179dfb14b2e36c /Software/Visual_Studio/FSE/Tango.FSE.Common | |
| parent | 0e4045af38f59004c537e9bf5e7f2e89f7320f1f (diff) | |
| download | Tango-6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35.tar.gz Tango-6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35.zip | |
FSE Remote Job Parameters.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Common')
4 files changed, 28 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/IRemoteJobProvider.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/IRemoteJobProvider.cs index 65299eac9..ff70bd7ba 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/IRemoteJobProvider.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/IRemoteJobProvider.cs @@ -10,6 +10,7 @@ namespace Tango.FSE.Common.RemoteJob { event EventHandler<RemoteJobStartedEventArgs> RemoteJobStarted; event EventHandler<RemoteJobStoppedEventArgs> RemoteJobStopped; + event EventHandler<RemoteJobUpdatedEventArgs> RemoteJobUpdated; bool IsRemoteJobRunning { get; } } diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobStartedEventArgs.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobStartedEventArgs.cs index 001263044..d3af568aa 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobStartedEventArgs.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobStartedEventArgs.cs @@ -5,11 +5,18 @@ using System.Text; using System.Threading.Tasks; using Tango.BL.Entities; using Tango.Integration.Operation; +using Tango.PPC.Shared.Jobs; namespace Tango.FSE.Common.RemoteJob { public class RemoteJobStartedEventArgs : EventArgs { + public RemoteJobUpdateResponse RemoteJobUpdateResponse { get; set; } public JobHandler JobHandler { get; set; } + + public RemoteJobStartedEventArgs() + { + RemoteJobUpdateResponse = new RemoteJobUpdateResponse(); + } } } diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobUpdatedEventArgs.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobUpdatedEventArgs.cs new file mode 100644 index 000000000..1b548adb2 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJob/RemoteJobUpdatedEventArgs.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.PPC.Shared.Jobs; + +namespace Tango.FSE.Common.RemoteJob +{ + public class RemoteJobUpdatedEventArgs : EventArgs + { + public RemoteJobUpdateResponse RemoteJobUpdateResponse { get; set; } + + public RemoteJobUpdatedEventArgs() + { + RemoteJobUpdateResponse = new RemoteJobUpdateResponse(); + } + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj b/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj index 8ef3551d5..519da38bb 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj @@ -317,6 +317,7 @@ <Compile Include="RemoteDesktop\VideoConfiguration.cs" /> <Compile Include="RemoteDesktop\VideoQuality.cs" /> <Compile Include="RemoteDesktop\VideoRecordingHandler.cs" /> + <Compile Include="RemoteJob\RemoteJobUpdatedEventArgs.cs" /> <Compile Include="RemoteUpgrade\IRemoteUpgradeManager.cs" /> <Compile Include="RemoteUpgrade\RemoteUpgradeHandler.cs" /> <Compile Include="RemoteUpgrade\RemoteUpgradeHandlerStatus.cs" /> |
