init
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user