public void TurnRed() { if (!isConnected) { if (!Connect()) return; } currentColor = new LinkLampConfiguration.Color { Red = 255, Blue = 0, Green = 0 }; ChangeColor(); }
public void TurnYellow() { if (!isConnected) { if (!Connect()) return; } currentColor = new LinkLampConfiguration.Color { Red = 255, Blue = 0, Green = 255 }; busylight.Light(currentColor); }
private void TurnOff() { if (!isConnected) { if (!Connect()) return; } currentColor = new LinkLampConfiguration.Color { Red = 0, Blue = 0, Green = 0 }; ChangeColor(); }