aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-10-27 18:58:41 +0300
committerRoy <Roy.mail.net@gmail.com>2022-10-27 18:58:41 +0300
commit1383a3210016e5f9c14aa232cd9bd53005774483 (patch)
tree697c80780a55753ea5076fd8246c5bc8f7fe093a /Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload
parent3f32716c553a5f13770c38b3a49c81259ac4ba08 (diff)
downloadTango-1383a3210016e5f9c14aa232cd9bd53005774483.tar.gz
Tango-1383a3210016e5f9c14aa232cd9bd53005774483.zip
Implemented Twine Studio user management.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJobUpload/DefaultRemoteJobUploadService.cs6
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)
{