aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Shared
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-13 03:41:41 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-13 03:41:41 +0300
commit76ebe53d89a1b0cbf21d66dc9f26dc95cc7b3be9 (patch)
treed1043332c085a2624187b77b37c63a37505cdad2 /Software/Visual_Studio/PPC/Tango.PPC.Shared
parentd26e810aa206bf850622ded5a0da76293cb12f13 (diff)
downloadTango-76ebe53d89a1b0cbf21d66dc9f26dc95cc7b3be9.tar.gz
Tango-76ebe53d89a1b0cbf21d66dc9f26dc95cc7b3be9.zip
FSE TUP
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Shared')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeRequest.cs15
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeResponse.cs23
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj2
3 files changed, 40 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeRequest.cs
new file mode 100644
index 000000000..035e08775
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeRequest.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.RemoteUpgrade
+{
+ public class StartRemoteApplicationRemoteUpgradeRequest
+ {
+ public String RemoteTupFilePath { get; set; }
+ public bool SetupFirmware { get; set; } = true;
+ public bool SetupFPGA { get; set; } = true;
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeResponse.cs
new file mode 100644
index 000000000..ce8010793
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/RemoteUpgrade/StartRemoteApplicationRemoteUpgradeResponse.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.PPC.Shared.RemoteUpgrade
+{
+ public class StartRemoteApplicationRemoteUpgradeResponse
+ {
+ public String Message { get; set; }
+ public bool IsIndeterminate { get; set; }
+ public double Progress { get; set; }
+ public double Maximum { get; set; }
+
+ public StartRemoteApplicationRemoteUpgradeResponse()
+ {
+ Message = "Initializing...";
+ IsIndeterminate = true;
+ Maximum = 100;
+ }
+ }
+}
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
index 96c18129a..04012cf7b 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj
@@ -80,6 +80,8 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
+ <Compile Include="RemoteUpgrade\StartRemoteApplicationRemoteUpgradeResponse.cs" />
+ <Compile Include="RemoteUpgrade\StartRemoteApplicationRemoteUpgradeRequest.cs" />
<Compile Include="Updates\GetUpdatesAndPackagesRequest.cs" />
<Compile Include="Updates\GetUpdatesAndPackagesResponse.cs" />
<Compile Include="Updates\PackageInstallation.cs" />