Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user