From 4cabb5aabc490156b50cd02592926539d48a7af8 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sun, 15 Dec 2019 01:09:46 +0200 Subject: Implmented InternalModule navigation for PPC. Fixed issue with TangoIOC.GetAllInstancedByBase. Implemented PowerOff Screen. --- .../PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs new file mode 100644 index 000000000..0d58b472f --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Core.Commands; +using Tango.PPC.Common; + +namespace Tango.PPC.UI.ViewModels +{ + public class PowerOffViewVM : PPCViewModel + { + public RelayCommand AbortCommand { get; set; } + + public PowerOffViewVM() + { + AbortCommand = new RelayCommand(AbortPowerOff); + } + + public override void OnApplicationStarted() + { + + } + + private void AbortPowerOff() + { + NavigationManager.NavigateBack(); + } + } +} -- cgit v1.3.1