Search Results for

    Show / Hide Table of Contents

    Interface IMeasurePointData

    Содержит методы для получения данных по точке учёта.

    Namespace: Lers.Core
    Assembly: Lers.Server.System.dll
    Syntax
    public interface IMeasurePointData

    Methods

    GetConsumption(DataInterval, GetRecordCollectionWithUnitsParameters)

    Возвращает потребление за указанный период со списком единиц измерения значений.

    Declaration
    RecordCollectionWithUnits<ConsumptionRecord> GetConsumption(DataInterval dataInterval, GetRecordCollectionWithUnitsParameters parameters)
    Parameters
    Type Name Description
    DataInterval dataInterval

    Период и тип данных.

    GetRecordCollectionWithUnitsParameters parameters

    Параметры запроса.

    Returns
    Type Description
    Lers.Data.RecordCollectionWithUnits<Lers.Data.ConsumptionRecord>

    Потребление за указанный период со списком единиц измерения значений.

    GetConsumption(DataInterval, Boolean, ElectricDataKind, PressureType)

    Получает данные о потреблении за указанный период.

    Declaration
    IList<ConsumptionRecord> GetConsumption(DataInterval dataInterval, bool includeCalculated = true, ElectricDataKind electricDataKind = ElectricDataKind.Real, PressureType pressureType = PressureType.None)
    Parameters
    Type Name Description
    DataInterval dataInterval

    Период и тип данных.

    System.Boolean includeCalculated

    Указывает, что нужно вернуть в том числе полностью рассчитанные записи.

    ElectricDataKind electricDataKind

    Вид данных по электроэнергии ElectricDataKind.

    PressureType pressureType

    Тип давления.

    Returns
    Type Description
    IList<Lers.Data.ConsumptionRecord>

    Возвращает массив экземпляров класса Lers.Data.ConsumptionRecord.

    GetDeviceErrors(DataInterval, Nullable<DeviceEventImportance>)

    Declaration
    MeasurePointDeviceErrorRecord[] GetDeviceErrors(DataInterval interval, DeviceEventImportance? minImportance = null)
    Parameters
    Type Name Description
    DataInterval interval
    System.Nullable<DeviceEventImportance> minImportance
    Returns
    Type Description
    Lers.Models.Data.MeasurePointDeviceErrorRecord[]

    GetLastConsumption(ElectricDataKind)

    Возвращает последнее потребление по точке учёта.

    Declaration
    LastConsumptionRecord GetLastConsumption(ElectricDataKind electricDataKind)
    Parameters
    Type Name Description
    ElectricDataKind electricDataKind

    Вид данных по электроэнергии ElectricDataKind.

    Returns
    Type Description
    Lers.Data.LastConsumptionRecord

    GetLastTotals(ElectricDataKind)

    Возвращает последние интеграторы по точке учёта.

    Declaration
    LastTotalsRecord GetLastTotals(ElectricDataKind electricDataKind)
    Parameters
    Type Name Description
    ElectricDataKind electricDataKind

    Вид данных по электроэнергии ElectricDataKind.

    Returns
    Type Description
    Lers.Data.LastTotalsRecord

    GetTotals(Interval, ElectricDataKind, Boolean)

    Получает интегральные значения за указанный период.

    Declaration
    ICollection<TotalsRecord> GetTotals(Interval interval, ElectricDataKind electricDataKind, bool includeCalculated)
    Parameters
    Type Name Description
    Interval interval

    Период.

    ElectricDataKind electricDataKind

    Вид данных по электроэнергии ElectricDataKind.

    System.Boolean includeCalculated

    Включать рассчитанные данные.

    Returns
    Type Description
    ICollection<Lers.Data.TotalsRecord>

    Возвращает данные в массива экземпляров класса Lers.Data.TotalsRecord.

    GetTotals(Interval, GetRecordCollectionWithUnitsParameters)

    Возвращает интегральные значения за указанный период со списком единиц измерения значений.

    Declaration
    RecordCollectionWithUnits<TotalsRecord> GetTotals(Interval interval, GetRecordCollectionWithUnitsParameters parameters)
    Parameters
    Type Name Description
    Interval interval

    Период.

    GetRecordCollectionWithUnitsParameters parameters

    Параметры запроса.

    Returns
    Type Description
    Lers.Data.RecordCollectionWithUnits<Lers.Data.TotalsRecord>

    Интегральные значения за указанный период со списком единиц измерения значений.

    GetWaterEstimatedConsumption(Boolean)

    Для заданной точки учета получает потребления рассчитанные по среднесуточным значениям.

    Declaration
    EstimatedRecord GetWaterEstimatedConsumption(bool previousMonth)
    Parameters
    Type Name Description
    System.Boolean previousMonth

    Признак необходимости получения потребления предыдущего месяца.

    Returns
    Type Description
    Lers.Analysis.EstimatedRecord

    Extension Methods

    MeasurePointExtensions.GetTotals(IMeasurePointData, DateTime, DateTime, ElectricDataKind, Boolean)
    MeasurePointExtensions.GetConsumption(IMeasurePointData, DeviceDataType, DateTime, DateTime, Boolean, ElectricDataKind)
    MeasurePointExtensions.GetConsumption(IMeasurePointData, DeviceDataType, DateTime, DateTime, Boolean, ElectricDataKind, PressureType)
    In This Article
    Back to top ©2018 - 2026, ООО "ЛЭРС УЧЁТ"