Table of Contents

Class AlarmItem

Namespace
adas_core.Domain.Models.MongoModels
Assembly
adas-core.Domain.dll

Represents an alarm item entity.

public class AlarmItem
Inheritance
AlarmItem
Inherited Members
Extension Methods

Properties

BeaconColor

public AlarmEnum.BeaconColor BeaconColor { get; set; }

Property Value

AlarmEnum.BeaconColor

Color

public string? Color { get; set; }

Property Value

string

Enabled

public bool Enabled { get; set; }

Property Value

bool

EndAfter

public int EndAfter { get; set; }

Property Value

int

Severity

public AlarmEnum.Severity Severity { get; set; }

Property Value

AlarmEnum.Severity

StartBefore

public int StartBefore { get; set; }

Property Value

int

Methods

ToString()

Returns a formatted string representation of the AlarmItem, including the Enabled, StartBefore, EndAfter, Severity, and BeaconColor values, and optionally appending the Color value when it is not null or empty.

public override string ToString()

Returns

string

A string in the format "AlarmItem[item1, item2, ...]" containing the key properties of the alarm item.