#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
{
///
/// Event argument for the IForecourtControl.OnFuelPriceChange event.
///
public class FuelPriceChangeEventArgs : EventArgs
{
#region Fields
int fuelPeriodId;
#endregion
#region Construction
///
/// Initializes a new instance of the FuelPriceChangeEventArgs class.
///
/// The Id for new fuel period that has been started after the fuel price change.
public FuelPriceChangeEventArgs(int fuelPeriodId)
{
this.fuelPeriodId = fuelPeriodId;
}
#endregion
#region Properties
///
/// The Id for new fuel period that has been started after the fuel price change.
///
public int FuelPeriodId
{
get { return fuelPeriodId; }
}
#endregion
#region Methods
///
/// ToString
///
///
public override string ToString()
{
return string.Format(System.Globalization.CultureInfo.InvariantCulture, "FuelPriceChangeEventArgs (FuelPeriodId={0})", fuelPeriodId);
}
#endregion
}
}