aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-02-19 01:50:58 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-02-19 01:50:58 +0200
commit9736b8c8ede6a0d121dea8381f0abb561fad5631 (patch)
tree1c38f3f5be82b923ffae40fae00a25487179ab54 /Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI
parentbe3343cc0268179c7a6f628fa5e68f323a3335e5 (diff)
downloadTango-9736b8c8ede6a0d121dea8381f0abb561fad5631.tar.gz
Tango-9736b8c8ede6a0d121dea8381f0abb561fad5631.zip
Implemented auto generated web clients for PPC and machine studio.
Improved interactions with web clients across solutions.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs6
1 files changed, 3 insertions, 3 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 6c7e1d005..1d77b152f 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs
@@ -35,7 +35,7 @@ namespace Tango.PPC.Publisher.UI
{
public class MainWindowVM : ViewModel
{
- private IPPCWebService _client;
+ private PPCWebClient _client;
private PPCPublisher _publisher;
private PublishOptions _options;
@@ -102,7 +102,7 @@ namespace Tango.PPC.Publisher.UI
public MainWindowVM()
{
- _client = new PPCWebService();
+ _client = new PPCWebClient();
var settings = SettingsManager.Default.GetOrCreate<PublisherSettings>();
Options = settings.Options;
@@ -152,7 +152,7 @@ namespace Tango.PPC.Publisher.UI
private async Task UpdateAvailableMachineVersions()
{
IsFree = false;
- _machineVersions = (await _client.GetMachineVersions()).MachineVersions;
+ _machineVersions = (await _client.GetMachineVersions(new MachineVersionsRequest())).MachineVersions;
_selectedMachineVersion = MachineVersions.OrderBy(x => x.Version).LastOrDefault();
RaisePropertyChanged(nameof(MachineVersions));
RaisePropertyChanged(nameof(SelectedMachineVersion));