Files
2026-06-17 15:58:48 +02:00

28 lines
602 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HueLights
{
public class LightHue : Light
{
public LightHue(int id, int hue) : base(id)
{
this.hue = hue;
this.sat = 255;
}
public override void Update()
{
Console.WriteLine(this.ToString());
}
public override string ToString()
{
return base.ToString() + ". bri=" + bri + ", hue=" + hue + ", sat=" + sat;
}
}
}