diff options
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LoadingViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LoadingViewVM.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LoadingViewVM.cs b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LoadingViewVM.cs new file mode 100644 index 000000000..ec6042046 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LoadingViewVM.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Linq; +using System.Net.Http; +using System.Text; +using System.Threading.Tasks; +using Tango.FSE.Common; +using Tango.FSE.Common.Gateway; +using Tango.FSE.Common.Navigation; +using Tango.MachineService.Gateway; + +namespace Tango.FSE.UI.ViewModels +{ + public class LoadingViewVM : FSEViewModel + { + public LoadingViewVM() + { + + } + + public async override void OnApplicationStarted() + { + await GatewayService.GetEnvironments(); + await NavigationManager.NavigateTo(NavigationView.LoginView); + } + + public override void OnApplicationReady() + { + + } + } +} |
