Interface IPollConnection
Описывает подключение для опроса.
Inherited Members
Namespace: Lers.Poll
Assembly: Lers.Server.System.dll
Syntax
public interface IPollConnection : IUniqueObject
Properties
CommDevice
Выбранное для подключения коммуникационное устройство.
Declaration
IEquipment CommDevice { get; }
Property Value
| Type | Description |
|---|---|
| IEquipment |
CommDevicePort
Порт коммуникационного оборудования.
Declaration
EquipmentModelPort CommDevicePort { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.EquipmentModelPort |
CommLinkProtocol
Вид протокола обмена (зависит от типа канала связи). Для GSM: 0-Определяется модемом, 1-v32, 2-v110, 3-Авто. Для IP: 0-TCP, 1-UDP.
Declaration
byte CommLinkProtocol { get; }
Property Value
| Type | Description |
|---|---|
| System.Byte |
CommLinkType
Тип канала связи.
Declaration
CommunicationLink CommLinkType { get; }
Property Value
| Type | Description |
|---|---|
| CommunicationLink |
DialNumber
Номер телефона для установки соединения.
Declaration
string DialNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
GprsCallType
Способ вызова GPRS модема.
Declaration
GsmCallType GprsCallType { get; }
Property Value
| Type | Description |
|---|---|
| GsmCallType |
Identifier
Типизированный идентификатор.
Declaration
EntityIdentifier<PollConnection> Identifier { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdentifier<Lers.Models.PollConnection> |
IntegrationConnectionParameters
Параметры интеграции.
Declaration
IntegrationParameters IntegrationConnectionParameters { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.IntegrationParameters |
InternetHost
Адрес для Интернет-подключения.
Declaration
string InternetHost { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
InternetPort
Номер TCP-порта для Интернет-подключения.
Declaration
ushort InternetPort { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt16 |
PollPort
Выбранный порт опроса.
Declaration
IPollPort PollPort { get; }
Property Value
| Type | Description |
|---|---|
| IPollPort |
PollPortGroup
Группа портов опроса, через порты которой должен вестись опрос.
Declaration
PollPortGroup PollPortGroup { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.PollPortGroup |
Title
Наименование подключения.
Declaration
string Title { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
DeleteIfOrphaned()
Удаляет подключение если у него нет ссылок на устройства и объекты.
Declaration
bool DeleteIfOrphaned()
Returns
| Type | Description |
|---|---|
| System.Boolean |
GetModel()
Возвращает модель подключения.
Declaration
PollConnection GetModel()
Returns
| Type | Description |
|---|---|
| Lers.Models.PollConnection |