Exemplo n.º 1
0
 /// <summary>
 /// sets a Zapfhahn as the currently selected one
 /// </summary>
 /// <param name="requestedZapfhahn">the Zapfhhan to set as selected</param>
 public void Selectzapfhahn(Zapfhahn requestedZapfhahn)
 {
     this.selectedZapfhahn = requestedZapfhahn;
 }
Exemplo n.º 2
0
 /// <summary>
 ///  gets the corresponding FuelTank with the Fueltype provided
 /// </summary>
 /// <param name="fueltype">the fueltype which is requested</param>
 public void GetFuelOfType(FuelType fueltype)
 {
     Zapfhahn zapfhahn = zapfhaehne.Find(x => fueltype == x.GetFuelType());
 }