diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-01-08 10:37:43 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-01-08 10:37:43 +0200 |
| commit | 327bebbd6a8be6abd20883d475cd491011b26123 (patch) | |
| tree | a46b501abd7da1e627da8b48c38cec16fc43d9d6 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs | |
| parent | 468e7646db4c076e6b10246cd16b591a2529f983 (diff) | |
| parent | e7a30d51c85b2d9be2f675769506c1faa8667c89 (diff) | |
| download | Tango-327bebbd6a8be6abd20883d475cd491011b26123.tar.gz Tango-327bebbd6a8be6abd20883d475cd491011b26123.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs index 336681801..de8649c13 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs @@ -38,6 +38,7 @@ namespace Tango.MachineStudio.UI.StudioApplication _connectedMachine = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(IsMachineConnected)); + RaisePropertyChanged(nameof(IsMachineConnectedViaTCP)); if (_connectedMachine != null) { @@ -47,6 +48,11 @@ namespace Tango.MachineStudio.UI.StudioApplication } } + public bool IsMachineConnectedViaTCP + { + get { return IsMachineConnected && ConnectedMachine.Type != ExternalBridgeClientType.USB; } + } + private void ConnectedMachine_StateChanged(object sender, Transport.TransportComponentState e) { if (e == Transport.TransportComponentState.Disconnected || e == Transport.TransportComponentState.Failed) |
