Class CommunicationDevice
Коммуникационное устройство.
public class CommunicationDevice : IUniqueObject
- Inheritance
-
CommunicationDevice
- Implements
- Inherited Members
- Extension Methods
Constructors
CommunicationDevice(CommunicationDeviceModel, int, string, string?, string?, string?, string?, bool?, int?, string?)
Коммуникационное устройство.
public CommunicationDevice(CommunicationDeviceModel model, int id, string serialNumber, string? comment, string? password, string? networkAddress, string? identifier, bool? enableKeepAlive, int? pollPortId, string? imei)
Parameters
modelCommunicationDeviceModelidintserialNumberstringcommentstringpasswordstringnetworkAddressstringidentifierstringenableKeepAlivebool?pollPortIdint?imeistring
Properties
Comment
Комментарий.
public string? Comment { get; }
Property Value
EnableKeepAlive
Включить отправку пакетов Keepalive для поддержания подключения.
public bool? EnableKeepAlive { get; }
Property Value
- bool?
Id
Идентификатор устройства.
public int Id { get; set; }
Property Value
Identifier
Идентификатор GPRS модема.
public string? Identifier { get; }
Property Value
Imei
IMEI, считанный от модема после подключения.
public string? Imei { get; }
Property Value
Model
Модель.
public CommunicationDeviceModel Model { get; }
Property Value
NetworkAddress
Сетевой адрес для обмена с устройством.
public string? NetworkAddress { get; }
Property Value
Password
Пароль для обмена с устройством.
public string? Password { get; }
Property Value
PollPortId
Порт опроса, выбранный для модема.
public int? PollPortId { get; }
Property Value
- int?
SerialNumber
Серийный номер.
public string SerialNumber { get; set; }
Property Value
Methods
ToString()
public override string ToString()