public void SetStatus(LampDataObject obj)
        {
            // TODO: partial response, not on/off and r,g,b always set simultaneously

            LightService svc = CurrentService;

            svc.On = obj.burn;
            svc.SetRGB(obj.red, obj.green, obj.blue).Wait();
        }
        public LampDataObject GetStatus()
        {
            LightService   svc = CurrentService;
            LampDataObject obj = new LampDataObject
            {
                burn  = svc.On,
                red   = svc.Red,
                blue  = svc.Blue,
                green = svc.Green
            };

            return(obj);
        }