From 04fd2234090e23ff2e648d997a1cc753c9354941 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 16 Aug 2018 15:59:12 +0300 Subject: Implemented full machine setup with connectivity and communication testing! Fixed an issue with auto reset event on transport and logging :/ --- .../PPC/Tango.PPC.UI/Views/MachineSetupView.xaml | 163 +++++++++++++++------ 1 file changed, 118 insertions(+), 45 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml index e67905eba..a097eeb45 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml @@ -4,17 +4,24 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:vm="clr-namespace:Tango.PPC.UI.ViewModels" + xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI" xmlns:global="clr-namespace:Tango.PPC.UI" xmlns:setup="clr-namespace:Tango.PPC.Common.MachineSetup;assembly=Tango.PPC.Common" + xmlns:connectivity="clr-namespace:Tango.PPC.Common.Connectivity;assembly=Tango.PPC.Common" xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch" xmlns:local="clr-namespace:Tango.PPC.UI.Views" mc:Ignorable="d" - d:DesignHeight="2000" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:MachineSetupViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MachineSetupViewVM}"> + d:DesignHeight="1280" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:MachineSetupViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MachineSetupViewVM}"> - + - + + + MACHINE SETUP WIZARD + + + @@ -22,63 +29,129 @@ - - - MACHINE SETUP + + + + + + Welcome to the machine setup wizard! + In the next steps the software will gather required information, perform tests and apply an initial configuration to this machine. + + + Press 'START' to initiate the setup process. + + + START + + + + + + + We need an active internet connection in order to fetch the latest software package and machine configuration. + + + Please connect to one of the available WiFi networks. + + + + + + + + + + Checking internet connection, please wait... + + + + + + + + + It is recommended to perform a quick communication test with the machine before proceeding. Please turn on and connect the machine, then tap 'PERFORM TEST'. + - - - This machine has not been configured yet and require several steps in order to be ready. - - Enter this machine serial number, synchronization server address and tap 'INSTALL'. - + + SKIP + PERFORM TEST + + + + + + + + + + - - SERIAL NUMBER - + + + + The next step is to download the latest software package and synchronize the machine data. Enter the machine serial number, service address and press 'INSTALL'. + - MACHINE SERVICE ADDRESS - + + SERIAL NUMBER + - INSTALL + MACHINE SERVICE ADDRESS + + + INSTALL + - + - - + + + Please wait while we setting up this machine. Do not turn off this PC. - - - - - - - - - - - - + + + + + + + + + + + + + - + - + Setup completed successfully. Machine is ready! + + RESTART + - RESTART - - + + + + Setup failed, tap 'RESTART' to restart the process. + + RESTART + + + + -- cgit v1.3.1