diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-15 01:09:46 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-15 01:09:46 +0200 |
| commit | 4cabb5aabc490156b50cd02592926539d48a7af8 (patch) | |
| tree | 0458fd87417eb06a89c1b15e65d1e0368518fd95 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs | |
| parent | 51151796efb23162ca0b3d6701d90dfb6d3baeb9 (diff) | |
| download | Tango-4cabb5aabc490156b50cd02592926539d48a7af8.tar.gz Tango-4cabb5aabc490156b50cd02592926539d48a7af8.zip | |
Implmented InternalModule navigation for PPC.
Fixed issue with TangoIOC.GetAllInstancedByBase.
Implemented PowerOff Screen.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/PowerOffViewVM.cs | 30 |
1 files changed, 30 insertions, 0 deletions
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(); + } + } +} |
