Store in GIT
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user