Esempio n. 1
0
 /// <summary>
 /// Sets prices on fuel for nozzles in a Pump in accordance with prices set by
 /// properties PricePerLiter of connected objects Nozzle.
 /// </summary>
 /// <remarks>
 /// Before calling this method the Pump should be locked.
 /// </remarks>
 public void SetPrices()
 {
     if (_pts.UseExtendedCommands == false)
     {
         _pts.PricesSetRequest(ID, NozzlePrices);
     }
     else
     {
         _pts.ExtendedPricesSetRequest(ID, NozzlePrices);
     }
 }