Files
dotnet-screenlogic/RgbColor.cs
Parnic ba089e3c00 Added controller config message
Added circuit data to pool status message
Sanitized byte signedness
Added helper to get pool/spa on/off state from pool status
Added simple color class
Removed debug output
Added basic status output to test program
2018-03-27 17:29:34 -05:00

22 lines
450 B
C#

namespace ScreenLogicConnect
{
public class RgbColor
{
public byte r { get; private set; }
public byte g { get; private set; }
public byte b { get; private set; }
public RgbColor(byte inR, byte inG, byte inB)
{
r = inR;
g = inG;
b = inB;
}
public override string ToString()
{
return $"R {r}, G {g}, B {b}";
}
}
}