diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload/DefaultRemoteJobUploadService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload/DefaultRemoteJobUploadService.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload/DefaultRemoteJobUploadService.cs index 2883c7086..e7a13a0fc 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload/DefaultRemoteJobUploadService.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload/DefaultRemoteJobUploadService.cs @@ -30,7 +30,11 @@ namespace Tango.PPC.Common.RemoteJobUpload public event EventHandler<RemoteJobReceivedEventArgs> JobReceived; - public bool Enabled { get; set; } = true; + public bool Enabled + { + get { return _settings.EnableRemoteJobUpload; } + set { _settings.EnableRemoteJobUpload = value; } + } public DefaultRemoteJobUploadService(IPPCExternalBridgeService externalBridge) { |
