aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-05-01 13:06:41 +0300
committerRoy <Roy.mail.net@gmail.com>2023-05-01 13:06:41 +0300
commitfacb4fd1efd3f14ee7256dc09882b0330cc7ab7f (patch)
tree75226f2d2b1cd837a77bd691876b3faef78d48a0 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
parent6b3aa886b9db72881abb1f45fda7b28ab5c6ab03 (diff)
downloadTango-facb4fd1efd3f14ee7256dc09882b0330cc7ab7f.tar.gz
Tango-facb4fd1efd3f14ee7256dc09882b0330cc7ab7f.zip
Eureka adjustments.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs16
1 files changed, 14 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
index cce7d277b..6d99c1ff8 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
@@ -306,7 +306,14 @@ namespace Tango.PPC.UI.ViewModels
if (connected)
{
- await NavigateTo(MachineSetupView.TimeZoneView);
+ if (BuildProvider.IsEureka)
+ {
+ await NavigateTo(MachineSetupView.EnvironmentView);
+ }
+ else
+ {
+ await NavigateTo(MachineSetupView.TimeZoneView);
+ }
}
else
{
@@ -346,7 +353,12 @@ namespace Tango.PPC.UI.ViewModels
{
_ppcWebClient.Environment = DeploymentSlot;
}
- await _operationSystemManager.ChangeTimeZone(SelectedTimeZone);
+
+ if (!BuildProvider.IsEureka)
+ {
+ await _operationSystemManager.ChangeTimeZone(SelectedTimeZone);
+ }
+
_setup_result = await MachineSetupManager.Setup(SerialNumber);
State = MachineSetupStates.Completed;
LogManager.Log("Machine setup completed.");