From fb84bcee05dbb2dda0e4d7498fd02ed386a9c3f0 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 26 八月 2022 17:57:17 +0800 Subject: [PATCH] 更新全视通dll --- ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs index f17793b..4ebcf61 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Common/OwnCodes.cs @@ -6,6 +6,18 @@ 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