26 lines
584 B
C#
26 lines
584 B
C#
|
|
|
|
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
|
// ReSharper disable UnusedMember.Global
|
|
|
|
namespace InnovEnergy.Meiringen.Records;
|
|
|
|
public class LedsOld : BatteryRecordOld
|
|
{
|
|
public String Installation { get; set; }
|
|
public String BatteryId { get; set; }
|
|
|
|
public LedStateOld Green { get; set; }
|
|
public LedStateOld Amber { get; set; }
|
|
public LedStateOld Blue { get; set; }
|
|
public LedStateOld Red { get; set; }
|
|
}
|
|
|
|
|
|
public enum LedStateOld : byte
|
|
{
|
|
Off = 0b00,
|
|
On = 0b01,
|
|
BlinkingSlow = 0b10,
|
|
BlinkingFast = 0b11,
|
|
} |