From 6fa9d69da922c8049f5acfcbb9ce9fd26811024c Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 16 四月 2020 17:10:57 +0800 Subject: [PATCH] 请合并代码 --- ZigbeeApp/Shared/Common/ZigbeeColor.cs | 371 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 371 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Common/ZigbeeColor.cs b/ZigbeeApp/Shared/Common/ZigbeeColor.cs new file mode 100755 index 0000000..409e662 --- /dev/null +++ b/ZigbeeApp/Shared/Common/ZigbeeColor.cs @@ -0,0 +1,371 @@ +锘縰sing System; +namespace Shared.Common +{ + [System.Serializable] + public class ZigbeeColor + { + static ZigbeeColor() + { + if (Current == null) + Current = new ZigbeeColor(); + } + + public static ZigbeeColor Current; + + #region 寰愭 + public uint MainColor = 0xFFEAEAEA; + public uint BottomMenuColor = 0xFFFFFFFF; + + public uint SelectedTextColor = 0xFF238BCB; + public uint TextColor = 0xFF000000; + public uint DialogColor = 0xFFFFFFFF; + public uint DialogTitleColor = 0xFF00AAF0; + public uint DialogSubTitleColor = 0xFFEBEBEB; + public uint DialogTitleLine = 0xFF8C8D8F; + public uint ButtonColor = 0xffEAEAEA; + public uint SelectedColor = 0xFF00AAF0; + public uint DelRowLayout = 0xffff0000; + public uint TextBlack = 0xFF1F1F1F; + + public uint XMTopFrameLayout = 0xfff9f9f9; + public uint XMTopTitleText = 0xff333333; + public uint XMMidFrameLayout = 0xfff5f6fa; + public uint XMWhite = 0xffffffff; + public uint XMBlack = 0xff000000; + public uint XMGray1 = 0xff232323; + public uint XMGray2 = 0xff666666; + public uint XMGray3 = 0xff999999; + public uint XMGray4 = 0xffcccccc; + public uint XMOrange = 0xfffc744b; + public uint XMVerticalSeekBar = 0xffececec; + public uint XMDel = 0xffF75858; + public uint XMUnSelect = 0x4d232323; + public uint XMBorder = 0xff676767; + //闃村奖 + public uint XMTitleLine = 0x40000000; + public uint XMInVisibleLine = 0x00000000; + public uint XMRowLine = 0x66CCCCCC; + /// <summary> + /// 0xFFECECEC + /// </summary> + public uint XMSeekBarBackgroundColor = 0xFFECECEC; + /// <summary> + /// 0xFF232323 + /// </summary> + public uint XMProgressBarColor = 0xFF232323; + /// <summary> + /// 0xFFF5F6FA + /// </summary> + public uint XMPEditTextBackground = 0xFFF5F6FA; + /// <summary> + /// 0xFFF5F6FA + /// </summary> + public uint XMAlarmText = 0xFFF75858; + + + #endregion + + + #region --閮洩鍩庡畾涔夌殑棰滆壊-- + /// <summary> + /// 鐧借壊瀛椾綋 0xFFFFFFFF + /// </summary> + public uint GXCTextWhiteColor = 0xFFFFFFFF; + /// <summary> + /// 瀛椾綋棰滆壊 0xFF666666 + /// </summary> + public uint GXCTextColor = 0xFF666666; + /// <summary> + /// 瀛椾綋棰滆壊 0xFF000000 + /// </summary> + public uint GXCTextDeepBlackColor = 0xFF000000; + /// <summary> + /// 瀛椾綋绾㈣壊 0xFFF75858 + /// </summary> + public uint GXCTextRed = 0xFFF75858; + /// <summary> + /// 瀛椾綋榛戣壊 0xFF333333 + /// </summary> + public uint GXCTextBlackColor = 0xFF333333; + /// <summary> + /// 瀛椾綋榛戣壊 0xFF232323 + /// </summary> + public uint GXCTextBlackColor2 = 0xFF232323; + /// <summary> + /// 瀛椾綋娴呰壊 0xFF999999 + /// </summary> + public uint GXCTextGrayColor = 0xFF999999; + /// <summary> + /// 瀛椾綋娴呰壊 0xFFCCCCCC + /// </summary> + public uint GXCTextGrayColor2 = 0xFFCCCCCC; + /// <summary> + /// 瀛椾綋娴呰壊 0xFFCBCACA + /// </summary> + public uint GXCTextGrayColor3 = 0xFFCBCACA; + /// <summary> + /// 瀛椾綋娴呰壊 0xFF666666 + /// </summary> + public uint GXCTextGrayColor4 = 0xFF666666; + /// <summary> + /// 瀛椾綋閫変腑棰滆壊 0xFFFC744B + /// </summary> + public uint GXCTextSelectedColor = 0xFFFC744B; + /// <summary> + /// 瀛椾綋閫変腑棰滆壊 0xFFFB744A + /// </summary> + public uint GXCTextSelectedColor2 = 0xFFFB744A; + /// <summary> + /// 瀛椾綋閫変腑棰滆壊 0xFFFFB400 + /// </summary> + public uint GXCTextSelectedColor3 = 0xFFFFB400; + /// <summary> + /// 瀛椾綋閫変腑棰滆壊 0xFF0075FF + /// </summary> + public uint GXCTextSelectedColor4 = 0xFF0075FF; + /// <summary> + /// 搴曢儴鏈�変腑棰滆壊 0xFF8E8E93 + /// </summary> + public uint GXCTextBottomUnSelectedColor = 0xFF8E8E93; + /// <summary> + /// 鐧借壊鑳屾櫙 0xFFFFFFFF + /// </summary> + public uint GXCBackgroundColor = 0xFFFFFFFF; + /// <summary> + /// 娴呯櫧鑳屾櫙 0xFFF5F6FA + /// </summary> + public uint GXCGrayBackgroundColor = 0xFFF5F6FA; + /// <summary> + /// 0x73000000 + /// </summary> + public uint GXCGrayBackgroundColor2 = 0x73000000; + /// <summary> + /// 榛戣壊鑳屾櫙 0xFF232323 + /// </summary> + public uint GXCBlackBackgroundColor = 0xFF232323; + /// <summary> + /// 榛戣壊鑳屾櫙 0xFF333333 + /// </summary> + public uint GXCBlackBackgroundColor2 = 0xFF333333; + /// <summary> + /// 榛戣壊鑳屾櫙 0xF2232323 + /// </summary> + public uint GXCBlackBackgroundColor3 = 0xF2232323; + /// <summary> + /// functionView 0x1AFC744B + /// </summary> + public uint GXCForFunctionUnSelectedBackgroundColor = 0x1AFC744B; + /// <summary> + /// functionView 0xFFFC744B + /// </summary> + public uint GXCForFunctionBackgroundColor = 0xFFFC744B; + /// <summary> + /// 0xFFFEF1ED + /// </summary> + public uint GXCSelectedBackgroundColor = 0xFFFEF1ED; + /// <summary> + /// 缂栬緫鑳屾櫙鑹� 0xFF4A4A4A + /// </summary> + public uint GXCEditBackGroundColor = 0xFF4A4A4A; + /// <summary> + /// 鎸夐挳閫変腑棰滆壊 0xFFFC744B + /// </summary> + public uint GXCButtonSelectedColor = 0xFFFC744B; + /// <summary> + /// 鏈�変腑棰滆壊 0xFFF5F6FA + /// </summary> + public uint GXCButtonUnSelectedColor3 = 0xFFF5F6FA; + /// <summary> + /// 閫変腑棰滆壊 0xFF232323 + /// </summary> + public uint GXCButtonBlackSelectedColor = 0xFF232323; + /// <summary> + /// red 0xFFF75858 + /// </summary> + public uint GXCRedColor = 0xFFF75858; + /// <summary> + /// 鍗犱綅瀛椾綋棰滆壊 0xFFCCCCCC + /// </summary> + public uint GXCPlaceHolderTextColor = 0xFFCCCCCC; + /// <summary> + /// 鍗犱綅瀛椾綋棰滆壊 0xFF999999 + /// </summary> + public uint GXCPlaceHolderTextColor2 = 0xFF999999; + /// <summary> + /// 绾挎潯棰滆壊 0xFF979797 + /// </summary> + public uint GXCLineColor = 0xFF979797; + /// <summary> + /// 绾挎潯棰滆壊 0xFFFC744B + /// </summary> + public uint GXCSelectedLineColor = 0xFFFC744B; + /// <summary> + /// 娴呰壊绾挎潯 0x80CCCCCC + /// </summary> + public uint GXCGrayLineColor = 0x80CCCCCC; + /// <summary> + /// 娴呰壊绾挎潯 0x66CCCCCC + /// </summary> + public uint GXCGrayLineColor2 = 0x66CCCCCC; + ///// <summary> + ///// 娴呰壊绾挎潯 0xFFEBEBEB + ///// </summary> + //public uint GXCGrayLineColor2 = 0xFFEBEBEB; + /// <summary> + /// 娴呰壊绾挎潯 0xFFB7B8BB + /// </summary> + public uint GXCGrayLineColor3 = 0xFFB7B8BB; + /// <summary> + /// 0x40000000 + /// </summary> + public uint GXCGrayLineColor4 = 0x40000000; + + /// <summary> + /// 鎸夐挳鏈�変腑鐘舵�� 0xFF656565; + /// </summary> + public uint GXCButtonUnSelectedColor = 0xFF656565; + /// <summary> + /// 鎸夐挳鏈�変腑鐘舵�� 0x80FFFFFF + /// </summary> + public uint GXCButtonDisableColor = 0xFFFEBCA9; + /// <summary> + /// 杈规棰滆壊 0xFFBFC1C2 + /// </summary> + public uint GXCBorderColor = 0xFFBFC1C2; + /// <summary> + /// 鏈�変腑棰滆壊 0xFFFFA184 + /// </summary> + public uint GXCBorderUnSelectedColor = 0xFFFFA184; + /// <summary> + /// 琛岄�変腑棰滆壊 0xFFFC744B + /// </summary> + public uint GXCRowSelectedColor = 0x0FFC744B; + /// <summary> + /// 寮瑰嚭妗嗚儗鏅壊.0x80000000 + /// </summary> + public uint GXCDailogBackGroundColor = 0x80000000; + /// <summary> + /// topview color 0xD1F8F8F8 + /// </summary> + public uint GXCTopViewBackgroundColor = 0xFFF9F9F9; + /// <summary> + /// title color 0xFF030303 + /// </summary> + public uint GXCTitleBlackTitle = 0xFF030303; + /// <summary> + /// 閫忔槑 + /// </summary> + public uint GXCClearColor = 0x00FFFFFF; + /// <summary> + /// 搴曢儴棰滆壊 0xE6FAFAFA + /// </summary> + public uint GXCBottomColor = 0xE6FAFAFA; + /// <summary> + /// 搴曢儴绾挎潯棰滆壊 0xFFBABABA + /// </summary> + public uint GXCBottomLineColor = 0xFFBABABA; + /// <summary> + /// GXCWaveSeekBarUnSelectedColor 0xFFEBEBED + /// </summary> + public uint GXCWaveSeekBarUnSelectedColor = 0xFFEBEBED; + /// <summary> + /// GXCWaveSeekBarColor_Start 0xFFFF6C2C + /// </summary> + public uint GXCWaveSeekBarColor_Start = 0xFFFF6C2C; + /// <summary> + /// GXCWaveSeekBarColor_End 0xFFFD3040 + /// </summary> + public uint GXCWaveSeekBarColor_End = 0xFFFD3040; + /// <summary> + /// 0xFFFDB500 + /// </summary> + public uint GXCProgressColor = 0xFFFDB500; + /// <summary> + /// 0xFFF5F5F5 + /// </summary> + public uint GXCSeekBarBackground = 0xFFF5F5F5; + /// <summary> + /// 鐢ㄤ簬绌鸿皟椋庨�熺殑閫変腑鏂囧瓧棰滆壊 + /// 0xFF99D619 + /// </summary> + public uint GXCACSelectedTextColor_FanModel = 0xFF99D619; + /// <summary> + /// 鐢ㄤ簬绌鸿皟鎵鐨勯�変腑鏂囧瓧棰滆壊 + /// 0xFF8162FE + /// </summary> + public uint GXCACSelectedTextColor2 = 0xFF8162FE; + /// <summary> + /// 鐢ㄤ簬绌鸿皟妯″紡鐨勯�変腑鏂囧瓧棰滆壊 + /// 0xFF445BF9 + /// </summary> + public uint GXCACSelectedTextColor_Cool = 0xFF445BF9; + /// <summary> + /// 鐢ㄤ簬绌鸿皟妯″紡鐨勯�変腑鏂囧瓧棰滆壊 + /// 0xFFFB744A + /// </summary> + public uint GXCACSelectedTextColor_Heat = 0xFFFB744A; + /// <summary> + /// 鐢ㄤ簬绌鸿皟妯″紡鐨勯�変腑鏂囧瓧棰滆壊 + /// 0xFFFFB400 + /// </summary> + public uint GXCACSelectedTextColor_Dry = 0xFFFFB400; + /// <summary> + /// 鐢ㄤ簬绌鸿皟妯″紡鐨勯�変腑鏂囧瓧棰滆壊 + /// 0xFF99D619 + /// </summary> + public uint GXCACSelectedTextColor_Fan = 0xFF99D619; + + /// <summary> + /// 寮�濮嬮鑹� 0xFF495AF4 + /// </summary> + public uint GXCArcScaleSeekBarStartColor = 0xFF495AF4; + /// <summary> + /// 缁撴潫棰滆壊 0xFFAE50A8 + /// </summary> + public uint GXCArcScaleSeekBarEndColor = 0xFFAE50A8; + + public uint GXCButtonBlueColor = 0xFF00AAF0; + + #endregion + + #region --Logic瀹氫箟鐨勯鑹�-- + public uint LogicTopViewBackgroundColor = 0xFFF2F4F5; + public uint LogicBackgroundColor = 0xFFFFFFFF; + public uint LogicTextBlackColor = 0xFF333333; + public uint LogicLineColor = 0xFFD5D6D7; + public uint LogicViewBackgroundColor = 0x33333333; + public uint LogicButtonBlueColor = 0xFF00AAF0; + public uint LogicTextBlueColor = 0xFF00AAF0; + public uint LogicDelBackgroundColor = 0xFFFF0000; + public uint LogicEditBlackColor = 0xFF00aaf0; + public uint LogicTimeViewColor = 0xFFFFFFFF; + public uint LogicTimeViewSaveButton = 0xFF121212; + //鏈�鏂癠I棰滆壊 + public uint LogicTopBackgroundColor = 0xFFF9F9F9; + public uint LogicMiddleBackgroundColor = 0xFFF5F6FA; + public uint LogicBlankBackgroundColor = 0xFFFFFFFF; + public uint LogicRowLayoutLineColor = 0x40cccccc; + public uint LogicRowLayoutTopLineColor = 0x25000000; + public uint LogicBtnCancelColor = 0xFF999999; + public uint LogicBtnTypeColor = 0xFF232323; + public uint LogicBtnCompleteColor = 0xFFFB744A; + public uint LogicBtnSelectedColor = 0xFF333333; + public uint LogicBtnNotSelectedColor = 0xFF666666; + public uint LogicBtnSaveBackgroundColor = 0xFF232323; + public uint LogicBtnSaveTextColor = 0xFFFFFFFF; + public uint LogicTranslucentColor = 0x50000000; + public uint LogicAddColor = 0xFFFC744B; + public uint LogicIconBackgroundColor = 0xFFFEF1ED; + public uint LogicProgressColor = 0xFFE8E8E8; + public uint LogicProgressColorSelected = 0xffFDB500; + public uint LogicEditBlackColor1 = 0xFF4A4A4A; + public uint LogicDelBlackColor1 = 0xFFF75858; + public uint LogicFunction1Color = 0xFFFFa200; + public uint LogicScene1Color = 0xFF4A90E2; + public uint LogicSecurity1Color = 0xFF35B87F; + public uint LogicDelay1Color = 0xFFBF64FB; + public uint LogicListWeekTextColor = 0xFF666666; + + #endregion + } +} -- Gitblit v1.8.0