// GET: Home
        public ActionResult Index()
        {
            //Home home = context.HomeFactory.Get(1);
            Subpage home = context.SubpageFactory.Get(1);

            return(View(home));
        }
        private void ConfirmOnPressAndRelease(object sender_, TouchActionEventArgs touchActionEventArgs_)
        {
            var welcomePage = Userinterface.Pages.PageControl(Tsw560.Pages.Welcome);

            welcomePage.Show();
            Subpage.Hide();
            ControlSystem.Room.Power = false;
        }
 private void CancelOnPressAndRelease(object sender_, TouchActionEventArgs touchActionEventArgs_)
 {
     Subpage.Hide();
 }
        public ActionResult Environment()
        {
            Subpage environment = context.SubpageFactory.Get(4);

            return(View(environment));
        }
        public ActionResult Crushing()
        {
            Subpage crushing = context.SubpageFactory.Get(3);

            return(View(crushing));
        }
        public ActionResult Deconstruction()
        {
            Subpage deconstruction = context.SubpageFactory.Get(2);

            return(View(deconstruction));
        }