xm
2020-08-14 a45fe56aeeac8f28a9891b83362954067c8166dc
ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs
old mode 100755 new mode 100644
@@ -1,11 +1,24 @@
using System;
using System.Linq;
using ZXing;
namespace ZigBee.Droid.Common
{
    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>