Class IncidentDescriptor
Описатель нештатной ситуации.
Inheritance
System.Object
IncidentDescriptor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lers.Core
Assembly: Lers.Core.dll
Syntax
public class IncidentDescriptor
Properties
Category
Категория нештатной ситуации.
Declaration
public IncidentCategory Category { get; }
Property Value
| Type | Description |
|---|---|
| IncidentCategory |
DataTypes
Маска типов данных, по которым может диагностироваться нештатная ситуация.
Declaration
public DeviceDataType DataTypes { get; }
Property Value
| Type | Description |
|---|---|
| DeviceDataType |
Description
Описание НС.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Max
Максимальное значение параметра для настройки.
Declaration
public decimal Max { get; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |
Min
Минимальное значение параметра для настройки.
Declaration
public decimal Min { get; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |
Parameter
Параметр, применяемый для диагностики.
Declaration
public DataParameter Parameter { get; }
Property Value
| Type | Description |
|---|---|
| DataParameter |
Resources
Маска типов ресурсов, по которым фиксируется эта нештатная ситуация.
Declaration
public ResourceKind Resources { get; }
Property Value
| Type | Description |
|---|---|
| ResourceKind |
SystemTypes
Маска типов систем, по которым фиксируется эта НС.
Declaration
public SystemType SystemTypes { get; }
Property Value
| Type | Description |
|---|---|
| SystemType |
Type
Тип НС.
Declaration
public IncidentType Type { get; }
Property Value
| Type | Description |
|---|---|
| IncidentType |
Methods
Get(IncidentType)
Возвращает описатель нештатной ситуации.
Declaration
public static IncidentDescriptor Get(IncidentType type)
Parameters
| Type | Name | Description |
|---|---|---|
| IncidentType | type |
Returns
| Type | Description |
|---|---|
| IncidentDescriptor |
GetList()
Возвращает список всех описателей НС.
Declaration
public static IEnumerable<IncidentDescriptor> GetList()
Returns
| Type | Description |
|---|---|
| IEnumerable<IncidentDescriptor> |