AdapterLib.MockLightingServiceHandler.kelvinToUInt C# (CSharp) Method

kelvinToUInt() private static method

private static kelvinToUInt ( double kelvin ) : UInt32
kelvin double
return System.UInt32
        private static UInt32 kelvinToUInt(double kelvin)
        {
            return (UInt32)((kelvin - 1000) / 19000 * MaxUIntValue);
        }
        private uint colorTemp = kelvinToUInt(2800);