Exemple #1
0
        public HueLightClient(
            StreamingHueClient hueClient,
            StreamingGroup streamingGroup)
        {
            this.hueClient      = hueClient;
            this.streamingGroup = streamingGroup;
            hueLayer            = streamingGroup.GetNewLayer(true);

            Lights = hueLayer.Select(l => new Position((float)l.LightLocation.X, (float)l.LightLocation.Y)).ToArray();
        }