Esempio n. 1
0
        public MainPageViewModel(IClientModel Client)
        {
            SetNewStatus = new Command(SetStatus);
            UpdateData   = new Command(UpdateProps);

            this.Client         = Client;
            this.Client.Session = Globals.Config.GetItem("Session").Result;
            this.Client.Server  = Globals.Config.GetItem("Server").Result;

            Tasks                = new Tasks();
            PlanToday            = Plan.Empty();
            Globals.WorkerStatus = StatusCode.Empty();
        }