Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop

This commit is contained in:
jrojas
2026-06-26 09:52:35 +02:00
commit 319fd3dfb0
746 changed files with 106610 additions and 0 deletions
@@ -0,0 +1,24 @@
using adas_core.Domain.Enums;
namespace adas_core.module.Relays.Models;
public class PowerOutletsConfig
{
public bool PowerOffEnabled = false;
public bool ResetEnabled = true;
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public int Outlet { get; set; }
public string Type { get; set; } = RelayEnum.OutletType.Pdu.ToString();
public string? IconType { get; set; }
public bool ShowPowerOutlet { get; set; } = false;
public override string ToString()
{
return "PowerOutletsConfig id" + Id +
"name=" + Name +
" outlet=" + Outlet +
" type=" + Type;
}
}
@@ -0,0 +1,8 @@
namespace adas_core.module.Relays.Models;
public class RelaySettings
{
public bool Cache { get; set; }
public int? RefreshTime { get; set; }
public string? RecordingOrApiUrl { get; set; }
}