123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #region --------------- Copyright Dresser Wayne Pignone -------------
- /*
- * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/EventArgs/FuelPriceChangeEventArgs.cs $
- *
- * 2 07-11-14 20:20 roger.månsson
- * Added ToString() method.
- *
- * 1 07-10-18 17:13 roger.månsson
- * Created.
- */
- #endregion
- using System;
- namespace Wayne.ForecourtControl
- {
- /// <summary>
- /// Event argument for the IForecourtControl.OnFuelPriceChange event.
- /// </summary>
- public class FuelPriceChangeEventArgs : EventArgs
- {
- #region Fields
- int fuelPeriodId;
- #endregion
- #region Construction
- /// <summary>
- /// Initializes a new instance of the FuelPriceChangeEventArgs class.
- /// </summary>
- /// <param name="fuelPeriodId">The Id for new fuel period that has been started after the fuel price change.</param>
- public FuelPriceChangeEventArgs(int fuelPeriodId)
- {
- this.fuelPeriodId = fuelPeriodId;
- }
- #endregion
- #region Properties
- /// <summary>
- /// The Id for new fuel period that has been started after the fuel price change.
- /// </summary>
- public int FuelPeriodId
- {
- get { return fuelPeriodId; }
- }
- #endregion
- #region Methods
- /// <summary>
- /// ToString
- /// </summary>
- /// <returns></returns>
- public override string ToString()
- {
- return string.Format(System.Globalization.CultureInfo.InvariantCulture, "FuelPriceChangeEventArgs (FuelPeriodId={0})", fuelPeriodId);
- }
- #endregion
- }
- }
|