diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs index bf4c7af30..98b35ed3f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs @@ -6,7 +6,6 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; -using System.Configuration; using System.Diagnostics; using System.IO; using System.Linq; @@ -68,13 +67,6 @@ namespace Tango.PPC.Publisher.UI set { _localVersion = value; RaisePropertyChangedAuto(); } } - private String _localFirmwareVersion; - public String LocalFirmwareVersion - { - get { return _localFirmwareVersion; } - set { _localFirmwareVersion = value; RaisePropertyChangedAuto(); } - } - private String _remoteVersion; public String RemoteVersion { @@ -82,13 +74,6 @@ namespace Tango.PPC.Publisher.UI set { _remoteVersion = value; RaisePropertyChangedAuto(); } } - private String _remoteFirmwareVersion; - public String RemoteFirmwareVersion - { - get { return _remoteFirmwareVersion; } - set { _remoteFirmwareVersion = value; RaisePropertyChangedAuto(); } - } - private ICollectionView _provisionSequenceItemsView; public ICollectionView ProvisionSequenceItemsView { @@ -142,7 +127,6 @@ namespace Tango.PPC.Publisher.UI Options.BasicInfoChanged += (_, __) => InvalidateRelayCommands(); Options.EnvironmentChanged += async (_, __) => await OnEnvironmentChanged(); Options.BuidConfigChanged += async (_, __) => await UpdateVersions(); - Options.TfpPathChanged += async (_, __) => await UpdateVersions(); Init(); } @@ -181,18 +165,9 @@ namespace Tango.PPC.Publisher.UI { IsFree = false; LocalVersion = _publisher.GetLocalVersion(); - - try - { - LocalFirmwareVersion = _publisher.GetLocalFirmwareVersion(Options.TfpPath); - } - catch {} - if (SelectedMachineVersion != null) { - var latestVersion = await _publisher.GetRemoteVersion(SelectedMachineVersion.Guid); - RemoteVersion = latestVersion.Version; - RemoteFirmwareVersion = latestVersion.FirmwareVersion; + RemoteVersion = await _publisher.GetRemoteVersion(SelectedMachineVersion.Guid); } InvalidateRelayCommands(); IsFree = true; |
