27 lines
539 B
C#
27 lines
539 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HueLights
|
|
{
|
|
public class LigthLux : Light
|
|
{
|
|
public LigthLux(int id, int bri) : base(id)
|
|
{
|
|
this.bri = bri;
|
|
}
|
|
|
|
public override void Update()
|
|
{
|
|
Console.WriteLine(this.ToString());
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return base.ToString() + ". bri=" + bri;
|
|
}
|
|
}
|
|
}
|