示例#1
0
 public IrrigationSystem(Vegetables vegetables)
 {
     _vegetables.SetName(vegetables.GetName());
     _vegetables.SetStage(vegetables.GetStage());
     _vegetables.SetNeedWater(vegetables.GetNeedWater());
     _vegetables.SetInformation(vegetables.GetInformatin());
 }
示例#2
0
 public void SetVegetables(Vegetables vegetables)
 {
     _vegetables = vegetables;
 }