HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs
@@ -6,6 +6,18 @@
    public class OwnCodes
    {
        /// <summary>
        /// 将RGB转换为颜色。。。
        /// </summary>
        /// <param name="R"></param>
        /// <param name="G"></param>
        /// <param name="B"></param>
        /// <returns></returns>
        private uint GetColorByRGB(byte R, byte G, byte B)
        {
            return (uint)(0xFF000000 + R * 256 * 256 + G * 256 + B);
        }
        #region set/get
        [Newtonsoft.Json.JsonIgnore]
        /// <summary>