30 lines
709 B
Plaintext
30 lines
709 B
Plaintext
using System.Collections.Generic;
|
|
|
|
namespace CANFDApiProxy.Messages
|
|
{
|
|
public class LEDsMessage
|
|
{
|
|
public List<LED> LEDs { get; set; }
|
|
public Battery Battery { get; set; }
|
|
public Pwr Pwr { get; set; }
|
|
public Status Status { get; set; }
|
|
public Sts Sts { get; set; }
|
|
|
|
}
|
|
|
|
public class LED
|
|
{
|
|
public LED(string name, bool blue, bool green, bool red)
|
|
{
|
|
Name = name;
|
|
Blue = blue;
|
|
Green = green;
|
|
Red = red;
|
|
}
|
|
public string Name { get; }
|
|
public bool Red { get; }
|
|
public bool Green { get; }
|
|
public bool Blue { get; }
|
|
}
|
|
}
|