Пример #1
0
 public Indication(Water _water_k, Water _water_b, Electricity _electricity, DateTime _date)
 {
     Water_Kitchen  = _water_k;
     Water_Bathroom = _water_b;
     Electricity    = _electricity;
     Date           = _date;
 }
Пример #2
0
 public double GetSumm()
 {
     return(Water_Kitchen.GetSumm() + Water_Bathroom.GetSumm() + Electricity.GetSumm());
 }