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
22 lines
453 B
C#
22 lines
453 B
C#
using System;
|
|
|
|
namespace ScreenLogicConnect
|
|
{
|
|
public class PentLightColor
|
|
{
|
|
public RgbColor color { get; private set; }
|
|
public String name { get; private set; }
|
|
|
|
public PentLightColor(String name, RgbColor color)
|
|
{
|
|
this.name = name;
|
|
this.color = color;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Name: {name}, color: {color}";
|
|
}
|
|
}
|
|
}
|