From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期一, 14 十二月 2020 09:59:01 +0800 Subject: [PATCH] 请合并代码,完成晾衣架最终功能。 --- ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs old mode 100644 new mode 100755 index 3dcd3d8..4ebcf61 --- a/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs @@ -1,22 +1,21 @@ 锘縰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); + /// <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 -- Gitblit v1.8.0