Table of Contents

Class RecordingData

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

Represents a data container for recording-related information.

public class RecordingData
Inheritance
RecordingData
Inherited Members
Extension Methods

Properties

AlarmDescription

public string? AlarmDescription { get; set; }

Property Value

string

AlarmName

public string? AlarmName { get; set; }

Property Value

string

AlarmType

public AlarmEnum.Type? AlarmType { get; set; }

Property Value

AlarmEnum.Type?

EventTime

public DateTime? EventTime { get; set; }

Property Value

DateTime?

Patient

public Patient? Patient { get; set; }

Property Value

Patient

Retry

public int Retry { get; set; }

Property Value

int

RoomId

public int RoomId { get; set; }

Property Value

int

Severity

public AlarmEnum.Severity Severity { get; set; }

Property Value

AlarmEnum.Severity

StartRecordingTime

public DateTime? StartRecordingTime { get; set; }

Property Value

DateTime?

Status

public string Status { get; set; }

Property Value

string

StopRecordingTime

public DateTime? StopRecordingTime { get; set; }

Property Value

DateTime?

Store

public string Store { get; set; }

Property Value

string

Methods

GenerateStore()

Generates a unique store identifier by combining the RoomId with the current timestamp formatted as yyyyMMdd-HHmmss, and assigns it to the Store property.

public string GenerateStore()

Returns

string

A formatted store identifier string in the pattern "RoomId_yyyyMMdd-HHmmss".

ToString()

Returns a compact JSON representation of the current object. If JSON serialization fails for any reason, falls back to the base ToString() implementation.

public override string ToString()

Returns

string

A JSON string produced by SerializeObject(object, Formatting) with Newtonsoft.Json.Formatting.None, or the result of the base ToString() when serialization throws.