Interface IEquipment
Описывает экземпляр оборудования.
Inherited Members
Namespace: Lers.Core
Assembly: Lers.Server.System.dll
Syntax
public interface IEquipment : IDivisionMember
Properties
BaseModel
Фундаментальная модель оборудования.
Declaration
Equipment BaseModel { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.Equipment |
CalibrationInterval
Межповерочный интервал для этого экземпляра устройства.
Declaration
int CalibrationInterval { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
CalibrationOrganization
Организация-поверитель.
Declaration
string CalibrationOrganization { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
CalibrationStateRegisterNumber
Номер в реестре СИ с которым производилась синхронизация.
Declaration
string CalibrationStateRegisterNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Comment
Комментарий.
Declaration
string Comment { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
DryContactDescriptions
Описатели сухих контактов.
Declaration
SignalDescription[] DryContactDescriptions { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.SignalDescription[] |
Id
Уникальный идентификатор оборудования.
Declaration
int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Identifier
Типизированный идентификатор для использования вместо Id.
Declaration
EntityIdentifier<Equipment> Identifier { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdentifier<Lers.Models.Equipment> |
LastCalibrationDate
Дата последней поверки.
Declaration
DateTime? LastCalibrationDate { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
LastReadParameters
Последние считанные параметры оборудования.
Declaration
EquipmentReadParameters LastReadParameters { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.EquipmentReadParameters |
Model
Модель оборудования.
Declaration
IEquipmentModel Model { get; }
Property Value
| Type | Description |
|---|---|
| IEquipmentModel |
Modem
Если оборудование является модемом, в этом поле содержатся его свойства.
Declaration
IEquipmentCommDevice Modem { get; }
Property Value
| Type | Description |
|---|---|
| IEquipmentCommDevice |
Modification
Вариант исполнения.
Declaration
EquipmentModelModification Modification { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.EquipmentModelModification |
NetworkAddress
Сетевой адрес.
Declaration
string NetworkAddress { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Password
Пароль для доступа к устройству.
Declaration
string Password { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PollSettings
Параметры опроса устройства.
Declaration
EquipmentPollSettings PollSettings { get; }
Property Value
| Type | Description |
|---|---|
| Lers.Models.EquipmentPollSettings |
ScheduledCalibrationDate
Дата планируемой поверки.
Declaration
DateTime? ScheduledCalibrationDate { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
SealNumber
Номер пломбы госповерителя.
Declaration
string SealNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SecondLevelPassword
Пароль второго уровня для доступа к оборудованию.
Declaration
string SecondLevelPassword { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SerialNumber
Серийный номер.
Declaration
string SerialNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
StateRegisterNumber
Номер в реестре СИ.
Declaration
string StateRegisterNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
GetAddressBind()
Возвращает привязку адресов.
Declaration
IEnumerable<DeviceAddressObject> GetAddressBind()
Returns
| Type | Description |
|---|---|
| IEnumerable<Lers.Interop.DeviceAddressObject> |
GetCellBind()
Возвращает привязку ячеек.
Declaration
DeviceCellObject[] GetCellBind()
Returns
| Type | Description |
|---|---|
| Lers.Interop.DeviceCellObject[] |
GetChannelBind()
Возвращает привязку каналов оборудования.
Declaration
DeviceChannelObject[] GetChannelBind()
Returns
| Type | Description |
|---|---|
| Lers.Interop.DeviceChannelObject[] |
GetConnections()
Возвращает список подключений устройства.
Declaration
IEnumerable<IPollConnection> GetConnections()
Returns
| Type | Description |
|---|---|
| IEnumerable<IPollConnection> |
GetCounterMeasurePoints()
Возвращает список точек учёта, в которых устройство используется в качестве счётчика.
Declaration
IEnumerable<IMeasurePoint> GetCounterMeasurePoints()
Returns
| Type | Description |
|---|---|
| IEnumerable<IMeasurePoint> |
GetIntegrationBinding()
Возвращает привязку параметров устройства интеграции.
Declaration
IntegrationDeviceBinding GetIntegrationBinding()
Returns
| Type | Description |
|---|---|
| Lers.Interop.IntegrationDeviceBinding |
GetLastDryContactsState()
Возвращает последнее состояние сухих контактов.
Declaration
(BitVector32 state, DateTime date)? GetLastDryContactsState()
Returns
| Type | Description |
|---|---|
| System.Nullable<System.ValueTuple<System.Collections.Specialized.BitVector32, DateTime>> | Состояние сухих контактов в виде флагов. |
GetMeasurePoints()
Возвращает список точек учёта, в которых устройство используется для съёма данных.
Declaration
IEnumerable<IMeasurePoint> GetMeasurePoints()
Returns
| Type | Description |
|---|---|
| IEnumerable<IMeasurePoint> |
GetModbusBinding()
Возвращает привязку адресов modbus.
Declaration
ModbusBinding GetModbusBinding()
Returns
| Type | Description |
|---|---|
| Lers.Interop.ModbusBinding |
GetNodes()
Возвращает объекты учёта, которым принадлежит оборудование.
Declaration
IList<INode> GetNodes()
Returns
| Type | Description |
|---|---|
| IList<INode> |
GetTag()
Возвращает определяемые драйвером данные об устройстве.
Declaration
byte[] GetTag()
Returns
| Type | Description |
|---|---|
| System.Byte[] | Данные. |
SetDryContactsState(DateTimeOffset, BitVector32)
Задает состояние сухих контактов.
Declaration
void SetDryContactsState(DateTimeOffset dateTime, BitVector32 state)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTimeOffset | dateTime | Дата и время. |
| System.Collections.Specialized.BitVector32 | state | Состояние. |