From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- ZigbeeApp/Shared/Common/ZigbeeColor.cs | 431 ++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 322 insertions(+), 109 deletions(-) diff --git a/ZigbeeApp/Shared/Common/ZigbeeColor.cs b/ZigbeeApp/Shared/Common/ZigbeeColor.cs index 6b651ea..7086938 100755 --- a/ZigbeeApp/Shared/Common/ZigbeeColor.cs +++ b/ZigbeeApp/Shared/Common/ZigbeeColor.cs @@ -11,7 +11,7 @@ } public static ZigbeeColor Current; - + #region 寰愭 public uint MainColor = 0xFFEAEAEA; public uint BottomMenuColor = 0xFFFFFFFF; @@ -25,122 +25,307 @@ public uint ButtonColor = 0xffEAEAEA; public uint SelectedColor = 0xFF00AAF0; public uint DelRowLayout = 0xffff0000; - - //浠ヤ笅鏄祴璇曢鑹诧紝姝e紡鏃堕渶瑕佸幓鎺� - public uint MainPageBackgroucnd = 0xff00ff00; - public uint TitleLayout = 0xff6b6b6b; - public uint TitleText = 0xFFf2f2f2; - public uint ViewColor = 0xFF3c3c3c; - public uint TopLayout = 0xff6b6b6b; - public uint UnderTopLayout = 0xFFb6b6b6; - public uint MiddleLayout = 0xFFc9c9c9; - public uint BottomLayout = 0xFF8a8a8a; public uint TextBlack = 0xFF1F1F1F; - public uint TextWhite = 0xFF1F1F1F; - public uint PlaceholderTextColor = 0xFF505050; - public uint RowLine = 0xFF9d9d9d; - public uint RowLayout = 0xffa1a1a1; - public uint ButtonBackGround = 0xff9fba4e; - public uint SelectedButtonBackGround = 0xff00ff00; + 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; - public uint BorderColor = 0xFF505050; - public uint Transparent = 0xFF0000ff; - public uint TitileView = 0xFF0f0f0f; - public uint PanelSettingTargetNotInLocalColor = 0xCCF8E725; - public uint Black50Transparent = 0x73000000; - public uint White20Transparent = 0x35FFFFFF; - - public uint SubtitleView = 0xFF505050; - public uint TextColor1 = 0xFFFFFFFF; - public uint newDeviceBG = 0x801DB585; - public uint LostDeviceBG = 0x80E26464; - public uint UserMenuItemButton = 0xFF000000; - public uint LineColor = 0xFF0f0f0f; - public uint LightDialogTextColor = 0xFFE6E6E6; - public uint ThumbColor = 0xFFFFFFFF; - public uint LineColor2 = 0xFF5F5F5F; - public uint ButtonColor1 = 0xFF505050; - public uint SysTitleView = 0xFF0f0f0f; - public uint SysSubtitleView = 0xFF2d2d2d; - public uint SysEditBox = 0xFF505050; - public uint SysPanelBox = 0xFF505050; - public uint SysPanleDevicesBox = 0xFF3c3c3c; - public uint SensorContentView = 0xFF505050; - public uint TextColor2 = 0xFFFFFFFF; - public uint DialogTextColor = 0xFFFFFFFF; - public uint SceneDialogColor = 0xFF505050; - public uint SceneDialogTitleColor = 0xFF0f0f0f; - public uint DelColor = 0xFFFF0000; - public uint SensorLevel0 = 0xFFFFFFFF; - public uint SensorLevel1 = 0xFF6cc0fb; - public uint SensorLevel2 = 0xFF6aeaa9; - public uint SensorLevel3 = 0xFFff9a50; - public uint SensorLevel4 = 0xFFff5757; - public uint AddTipButtonColor = 0xFF000000; - public uint MusicTopFrameLayout = 0xFF1F1F1F; - public uint MusicVerticalScrolViewLayout = 0xff2F2F2F; - public uint MusicPalyerView = 0xFF181818; - public uint MusicTextColor = 0xFFFFFFFF; - public uint MusicArtistTextColor = 0x80ffffff; - public uint MusicLineColor = 0xFF181818; - public uint MusicEditTextBackgroundColor = 0xFF4D4D4D; - public uint MusicEditTextPlaceholderTextColor = 0x80ffffff; - public uint MusicMiddleBackgroundColor = 0xFF121212; - public uint MusicEditBorderColor = 0x00000000; - public uint MusicTipBackgroundColor = 0xffcccccc; - public uint MusicTipTextColor = 0xff000000; - public uint MusicselecteButtonColcor = 0xff525252; - public uint MusicDialogBackgroundColor = 0xFF484848; - public uint HorizontalSeekBarThumbColor = 0xFFFFFFFF; - public uint TimeVerticalScrolViewLayout = 0xff121212; #endregion - + #region --閮洩鍩庡畾涔夌殑棰滆壊-- - public uint GXCBackgroundColor = 0xFFFFFFFF; - public uint GXCTopViewBackgroundColor = 0xFFF2F4F5; - public uint GXCTextBlueColor = 0xFF00AAF0; - public uint GXCTextBlackColor = 0xFF333333; + /// <summary> + /// 鐧借壊瀛椾綋 0xFFFFFFFF + /// </summary> public uint GXCTextWhiteColor = 0xFFFFFFFF; - public uint GXCBorderColor = 0xFF333333; - public uint GXCBorderRedColor = 0xFFF44D4D; - public uint GXCPlaceHolderTextColor = 0xffadadad; + /// <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; - public uint GXCButtonUnselectedColor = 0xFFAAAAAA; - public uint GXCTextUnselectedColor= 0xFFD5D6D7; - public uint GXCLineColor = 0xFFD5D6D7; - /// <summary> - /// 寮瑰嚭妗嗚儗鏅壊. - /// </summary> - public uint GXCDailogBackGroundColor = 0x33333333; - public uint GXCSelectedColor = 0xFFFE5E00;//閫変腑棰滆壊 - public uint GXCButtonhardWhiteColor = 0xFFE0E0E0;//鎴块棿btn鍗婇�忔槑鑳屾櫙鑹� - public uint GXCRedColor = 0xFFFF0000; - /// <summary> - /// 30%閫忔槑搴﹂粦鑹� - /// </summary> - public uint GXCBlack70Color = 0x4C000000; - /// <summary> - /// 20%閫忔槑搴﹂粦鑹� - /// </summary> - public uint GXCBlack80Color = 0x33000000; - public uint GXCButtonTipColor = 0xFF999999;//娴呰壊瀛楁彁绀� - public uint GXCTransparent = 0x00FFFFFF; - /// <summary> - /// 婊戞潯鏈�夋嫨涓鑹�--7C7C7C ->0xffadadad - /// </summary> - public uint GXCSliderUnSelectedColor = 0xffadadad; - public uint GXCEditorBGColor = 0xFF32B4C8; - /// <summary> - /// 鍙栨秷鏀惰棌棰滆壊--999999 - /// </summary> - public uint GXCCancelCollectionBGColor = 0xFF999999; - /// <summary> - /// 鐢ㄤ簬绌鸿皟鐨勯�変腑鏂囧瓧棰滆壊 - /// </summary> - public uint GXCACSelectedTextColor = 0xFF99D619; + #endregion #region --Logic瀹氫箟鐨勯鑹�-- @@ -154,7 +339,35 @@ public uint LogicDelBackgroundColor = 0xFFFF0000; public uint LogicEditBlackColor = 0xFF00aaf0; public uint LogicTimeViewColor = 0xFFFFFFFF; - public uint LogicTimeViewSaveButton = 0xFF121212; + 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; + public uint LogicTipColor = 0xFF333443; + public uint LogicTipTextColor= 0xFFcccccc; + public uint LogicEditTextBackgroundColor=0xFFD1D1D3; #endregion } } -- Gitblit v1.8.0