Interface IPollTask
Описывает задание на опрос.
Inherited Members
Namespace: Lers.Poll
Assembly: Lers.Server.System.dll
Syntax
public interface IPollTask : IUniqueObject
Properties
Identifier
Типизированный идентификатор.
Declaration
virtual EntityIdentifier<PollTask> Identifier { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdentifier<Lers.Models.PollTask> |
IsAutoPoll
Указывает что это задание автоопроса.
Declaration
bool IsAutoPoll { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MeasurePointSettings
Параметры опроса точек учёта.
Declaration
Dictionary<int, PollTaskMeasurePoint> MeasurePointSettings { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<System.Int32, Lers.Models.PollTaskMeasurePoint> |
PollConnectionId
Идентификатор подключения, через которое ведется опрос.
Declaration
EntityIdentifier<PollConnection> PollConnectionId { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdentifier<Lers.Models.PollConnection> |
State
Текущее состояние задания.
Declaration
PollTaskState State { get; }
Property Value
| Type | Description |
|---|---|
| PollTaskState |
Title
Наименование задания.
Declaration
string Title { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Тип задания.
Declaration
PollTaskType Type { get; }
Property Value
| Type | Description |
|---|---|
| PollTaskType |
Methods
Delete()
Удаляет задание.
Declaration
void Delete()
GetMeasurePoints()
Возвращает список точек учета, которые опрашиваются через это задание.
Declaration
IList<IMeasurePoint> GetMeasurePoints()
Returns
| Type | Description |
|---|---|
| IList<IMeasurePoint> |
GetModel()
Возвращает базовые свойства задания.
Declaration
PollTask GetModel()
Returns
| Type | Description |
|---|---|
| Lers.Models.PollTask |
GetPollConnection()
Используемое заданием Подключение.
Declaration
IPollConnection GetPollConnection()
Returns
| Type | Description |
|---|---|
| IPollConnection |