Пример #1
0
        protected override void OnResume()
        {
            SensorDataAccess dataAccess = new SensorDataAccess();

            dataAccess.sensors = sensors;
            dataAccess.GetSensors(Settings.LoginToken);
        }
Пример #2
0
        protected void OnRemoveSensor(object sender, EventArgs args)
        {
            SensorDataAccess dataAccess = new SensorDataAccess();

            dataAccess.DeleteSensor(this.selectedSensor);

            Navigation.PopToRootAsync();
        }