# Class AlarmItem

Namespace
  adas_core.Domain.Models.MongoModels

Assembly
  adas-core.Domain.dll

Represents an alarm item entity.

    public class AlarmItem

Inheritance
  object
  AlarmItem

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## 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.