From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp20200828/Shared/Phone/ZigBee/Common/OwnCodes.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs old mode 100644 new mode 100755 similarity index 99% rename from ZigbeeApp20200828/Shared/Phone/ZigBee/Common/OwnCodes.cs rename to ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs index c9b797b..4ebcf61 --- a/ZigbeeApp20200828/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