Esempio n. 1
0
        private void UpdateTodaysKwhValues()
        {
            var plantRepo = new PlantRepository();
              var today = Utils.GetTodaysDate();

              foreach (var plant in plantRepo.GetAllPlants())
              {
            _measureManagement.ReCalculateKwh_by_dayToDB(today, today.AddDays(1), plant.PlantId);
              }
        }