private static void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
 {
     lock (plantsToWaterCollection)
     {
         for (var i = 0; i < plantsToWaterCollection.Count; i++)
         {
             if (plantsToWaterCollection[i].canBeWatered && plantsToWaterCollection[i].secondsWatered < 10)
             {
                 plantsToWaterCollection[i].secondsWatered++;
                 OnWatering?.Invoke(plantsToWaterCollection[i]);
             }
             else
             {
                 OnWatering?.Invoke(plantsToWaterCollection[i]);
                 StopWatering(plantsToWaterCollection[i]);
             }
         }
     }
 }
 private static void OnOnWatering(Plant p)
 {
     OnWatering?.Invoke(p);
 }