Table of Contents

Class DashboardCard

Namespace
Lers.Models
Assembly
Lers.Models.dll

Карточка панели.

public class DashboardCard : IUniqueObject
Inheritance
DashboardCard
Implements
Inherited Members
Extension Methods

Properties

Icon

Иконка.

public string? Icon { get; set; }

Property Value

string

Id

Идентификатор.

public int Id { get; set; }

Property Value

int

MeasurePointId

Идентификатор точки учёта.

public int MeasurePointId { get; set; }

Property Value

int

Order

Порядок для сортировки.

public int Order { get; set; }

Property Value

int

Parameter

Отображаемый параметр (для типа ConsumptionChart).

public int Parameter { get; set; }

Property Value

int

Period

Период отображения карточки (для типа ConsumptionChart).

public PeriodSettings? Period { get; set; }

Property Value

PeriodSettings

ShowConsumption

Указывает, что нужно отображать потребление (для типа LastData).

public bool ShowConsumption { get; set; }

Property Value

bool

ShowTotals

Указывает, что нужно отображать интеграторы (для типа LastData).

public bool ShowTotals { get; set; }

Property Value

bool

Title

Пользовательское отображаемое наименование.

[StringLength(256)]
public string? Title { get; set; }

Property Value

string

Type

Тип карточки.

public DashboardCardType Type { get; set; }

Property Value

DashboardCardType