Table of Contents

Class DataParameterDescriptorsStore

Namespace
Lers.Data
Assembly
Lers.Core.dll

Предоставляет доступ к дескрипторам данных.

public class DataParameterDescriptorsStore : IDataParameterDescriptorsStore
Inheritance
DataParameterDescriptorsStore
Implements
Inherited Members
Extension Methods

Constructors

DataParameterDescriptorsStore(IEnumerable<DataParameterDescriptor>)

Конструктор.

public DataParameterDescriptorsStore(IEnumerable<DataParameterDescriptor> descriptors)

Parameters

descriptors IEnumerable<DataParameterDescriptor>

Properties

ElectricCurrentsParams

Возвращает параметры текущих данных для ресурса Электричество (Параметры качества электроэнергии).

public IReadOnlyCollection<DataParameterDescriptor> ElectricCurrentsParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

ElectricParams

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

public IReadOnlyCollection<DataParameterDescriptor> ElectricParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

ElectricPowerParams

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

public IReadOnlyCollection<DataParameterDescriptor> ElectricPowerParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

ElectricTotalsParams

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

public IReadOnlyCollection<DataParameterDescriptor> ElectricTotalsParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

GasCurrentsParams

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

public IReadOnlyCollection<DataParameterDescriptor> GasCurrentsParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

GasParams

Возвращает параметры потребления и интеграторы для ресурса Газ.

public IReadOnlyCollection<DataParameterDescriptor> GasParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

GasTotalsParams

Возвращает параметры интеграторов для ресурса Газ.

public IReadOnlyCollection<DataParameterDescriptor> GasTotalsParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

Parameters

Все параметры с данными.

public IReadOnlyCollection<DataParameterDescriptor> Parameters { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

PowerQualityParameters

Список параметров качества электроэнергии.

public IReadOnlyCollection<DataParameterDescriptor> PowerQualityParameters { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

WaterCurrentsParams

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

public IReadOnlyCollection<DataParameterDescriptor> WaterCurrentsParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

WaterParams

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

public IReadOnlyCollection<DataParameterDescriptor> WaterParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

WaterTotalsParams

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

public IReadOnlyCollection<DataParameterDescriptor> WaterTotalsParams { get; }

Property Value

IReadOnlyCollection<DataParameterDescriptor>

Methods

GetResourceParameters(ResourceKind)

Список параметров для указанного ресурса.

public IReadOnlyCollection<DataParameterDescriptor> GetResourceParameters(ResourceKind resourceKind)

Parameters

resourceKind ResourceKind

Returns

IReadOnlyCollection<DataParameterDescriptor>

GetSystemParameters(SystemType)

Список параметров для указанной системы.

public IReadOnlyCollection<DataParameterDescriptor> GetSystemParameters(SystemType systemType)

Parameters

systemType SystemType

Returns

IReadOnlyCollection<DataParameterDescriptor>

TryGet(int, out DataParameterDescriptor)

Возвращает дескриптор по его идентификатору.

public bool TryGet(int id, out DataParameterDescriptor descriptor)

Parameters

id int
descriptor DataParameterDescriptor

Returns

bool

TryGet(string, out DataParameterDescriptor)

Возвращает дескриптор по его имени.

public bool TryGet(string name, out DataParameterDescriptor descriptor)

Parameters

name string
descriptor DataParameterDescriptor

Returns

bool