BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtension.cs
/// <summary>
///     Get total consumption for given parameters
/// </summary>
/// <param name="em">Energiemenge</param>
/// <param name="wev">type of measurement</param>
/// <param name="obiskennzahl">OBIS</param>
/// <param name="me">unit of measurement</param>
/// <returns>consumption value</returns>
Get total consumption for given parameters
Get total consumption for given parameters
public static decimal GetTotalConsumption(this BO.Energiemenge em,
            Wertermittlungsverfahren wev, string obiskennzahl, Mengeneinheit me)
        {
            return em.GetConsumption(em.GetTimeRange(), wev, obiskennzahl, me);
        }
public static decimal GetTotalConsumption ( this BO . Energiemenge em , Wertermittlungsverfahren wev , string obiskennzahl , Mengeneinheit me ) { return em . GetConsumption ( em . GetTimeRange ( ) , wev , obiskennzahl , me ) ; }
Get total consumption for given parameters
Get total consumption for given parameters
None
BO.Energiemenge
this
wev
Wertermittlungsverfahren
type of measurement
type of measurement
obiskennzahl
string
None
me
Mengeneinheit
unit of measurement
unit of measurement
em
None