Class IncidentManagerExtensions
Inheritance
System.Object
IncidentManagerExtensions
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.Diag
Assembly: Lers.Server.System.dll
Syntax
public static class IncidentManagerExtensions
Methods
AddIncident(IIncidentManager, IncidentType, DateTime, String, String, IncidentImportance, DeviceDataType, INode, IMeasurePoint, Byte[], DateTime)
Создаёт новую нештатную ситуацию.
Declaration
public static void AddIncident(this IIncidentManager incidentManager, IncidentType incidentType, DateTime startDate, string desc, string shortDesc, IncidentImportance importance = IncidentImportance.None, DeviceDataType dataType = DeviceDataType.None, INode node = null, IMeasurePoint measurePoint = null, byte[] distinction = null, DateTime endDate = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IIncidentManager | incidentManager | |
| IncidentType | incidentType | |
| DateTime | startDate | |
| System.String | desc | |
| System.String | shortDesc | |
| IncidentImportance | importance | |
| DeviceDataType | dataType | |
| INode | node | |
| IMeasurePoint | measurePoint | |
| System.Byte[] | distinction | |
| DateTime | endDate |