Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using adas_core.Domain.Enums;
|
||||
|
||||
namespace adas_core.Domain.Models.MongoModels;
|
||||
|
||||
public class AlarmConfig
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public int EndAfter { get; set; } //seconds
|
||||
public AlarmItem? Recording { get; set; }
|
||||
public AlarmItem? Beacon { get; set; }
|
||||
public AlarmItem? OpenDoor { get; set; }
|
||||
public int? Priority { get; set; }
|
||||
public string? Color { get; set; }
|
||||
public AudioConfig? AudioConfig { get; set; }
|
||||
}
|
||||
|
||||
public class AudioConfig
|
||||
{
|
||||
public AlarmEnum.AudioAlarmType Type { get; set; } = AlarmEnum.AudioAlarmType.Off;
|
||||
public string? Path { get; set; }
|
||||
public int? EndAfter { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user