# Class ConfigObservation

Namespace
  adas_core.Domain.Models.MongoModels

Assembly
  adas-core.Domain.dll

Represents an observation or record related to configuration state.

    public class ConfigObservation

Inheritance
  object
  ConfigObservation

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?)

## Remarks

This type is intended to capture configuration-related observation data within the application.

## Fields

### Grouped

    public Dictionary<string, ConfigObservation>? Grouped

#### Field Value

Dictionary<string, ConfigObservation>

## Properties

### Alarm

    public AlarmConfig? Alarm { get; set; }

#### Property Value

AlarmConfig

### Alert

    public char? Alert { get; set; }

#### Property Value

char?

### AlertColor

    public string? AlertColor { get; set; }

#### Property Value

string

### AlertValues

    public List<object>? AlertValues { get; set; }

#### Property Value

List<object>

### ArrowType

    public ObservationEnum.ArrowType ArrowType { get; set; }

#### Property Value

ObservationEnum.ArrowType

### CheckObservations

    public bool CheckObservations { get; set; }

#### Property Value

bool

### Code

    public string? Code { get; set; }

#### Property Value

string

### CodingSystem

    public string? CodingSystem { get; set; }

#### Property Value

string

### ColorOnExpired

    public string? ColorOnExpired { get; set; }

#### Property Value

string

### ColorRanges

    public List<ConfigObservation.ColorRange>? ColorRanges { get; set; }

#### Property Value

List<ConfigObservation.ColorRange>

### CreateObservation

    public List<ConfigObservation>? CreateObservation { get; set; }

#### Property Value

List<ConfigObservation>

### DemoConfig

    public DemoConfig? DemoConfig { get; set; }

#### Property Value

DemoConfig

### Description

    public string? Description { get; set; }

#### Property Value

string

### Expires

    public int? Expires { get; set; }

#### Property Value

int?

### ForceAlert

    public bool ForceAlert { get; set; }

#### Property Value

bool

### ForceUnits

    public bool ForceUnits { get; set; }

#### Property Value

bool

### ForceWarn

    public bool ForceWarn { get; set; }

#### Property Value

bool

### Id

    public ObjectId Id { get; set; }

#### Property Value

ObjectId

### InsertMode

    public ObservationEnum.InsertMode InsertMode { get; set; }

#### Property Value

ObservationEnum.InsertMode

### LevelCondition

    public string? LevelCondition { get; set; }

#### Property Value

string

### MaxAlert

    public double? MaxAlert { get; set; }

#### Property Value

double?

### MaxWarn

    public double? MaxWarn { get; set; }

#### Property Value

double?

### MinAlert

    public double? MinAlert { get; set; }

#### Property Value

double?

### MinWarn

    public double? MinWarn { get; set; }

#### Property Value

double?

### Name

    public string? Name { get; set; }

#### Property Value

string

### OriginalName

    public string? OriginalName { get; set; }

#### Property Value

string

### ParentCode

    public string? ParentCode { get; set; }

#### Property Value

string

### ParentCodingSystem

    public string? ParentCodingSystem { get; set; }

#### Property Value

string

### ParentName

    public string? ParentName { get; set; }

#### Property Value

string

### Persist

    public bool? Persist { get; set; }

#### Property Value

bool?

### Preconditions

    public List<ConfigObservation>? Preconditions { get; set; }

#### Property Value

List<ConfigObservation>

### RequiredValue

    public object? RequiredValue { get; set; }

#### Property Value

object

### RetentionPolicy

    public RetentionPolicy? RetentionPolicy { get; set; }

#### Property Value

RetentionPolicy?

### RetentionPolicyValue

    public int? RetentionPolicyValue { get; set; }

#### Property Value

int?

### ShowArrow

    public bool ShowArrow { get; set; }

#### Property Value

bool

### ShowOnExpired

    public bool ShowOnExpired { get; set; }

#### Property Value

bool

### ShowValue

    public bool ShowValue { get; set; }

#### Property Value

bool

### TimeFromMessageTime

    public bool TimeFromMessageTime { get; set; }

#### Property Value

bool

### UiConfiguration

    public Dictionary<string, object>? UiConfiguration { get; set; }

#### Property Value

Dictionary<string, object>

### Units

    public string? Units { get; set; }

#### Property Value

string

### WarnColor

    public string? WarnColor { get; set; }

#### Property Value

string

### WarningValues

    public List<object>? WarningValues { get; set; }

#### Property Value

List<object>

## Methods

### ToString()

Returns a JSON string representation of the current object with indented formatting, overriding the default ToString() behavior to provide a human-readable serialization.

    public override string ToString()

#### Returns

string

  A string containing the JSON-serialized representation of the object with indented formatting.