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
28 lines
587 B
C#
28 lines
587 B
C#
namespace ScreenLogicConnect.Messages
|
|
{
|
|
public class GetMode : HLMessage
|
|
{
|
|
public const short HLM_MODE_GETMODEQ = 110;
|
|
|
|
public static GetMode QUERY(short senderID)
|
|
{
|
|
return new GetMode(senderID, (short)HLM_MODE_GETMODEQ);
|
|
}
|
|
|
|
private GetMode(short senderID, short msgID)
|
|
: base(senderID, msgID)
|
|
{
|
|
}
|
|
|
|
public GetMode(sbyte[] header, sbyte[] data)
|
|
: base(header, data)
|
|
{
|
|
}
|
|
|
|
public GetMode(HLMessage msg)
|
|
: base(msg)
|
|
{
|
|
}
|
|
}
|
|
}
|