From a7ab4b610972e20753dfedb3e5d80e4d9f017d07 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 14 八月 2020 10:39:08 +0800
Subject: [PATCH] 临时备份,测试1

---
 ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs
old mode 100755
new mode 100644
index f17793b..c9b797b
--- a/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs
@@ -1,11 +1,24 @@
 锘縰sing System;
 using System.Linq;
+using ZXing;
 
 namespace ZigBee.Droid.Common
 {
     public class OwnCodes
     {
 
+        /// <summary>
+        /// 灏哛GB杞崲涓洪鑹层�傘�傘��
+        /// </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>

--
Gitblit v1.8.0