From f71e74b5f0d2716fbf05da016cdaa18d64e09f80 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 31 十二月 2020 17:01:18 +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