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;
    }
}