using AllBase.DouYinModel.Param.ConfigManage;
using AllBase.Model;
using AllBase.Model.Config;
using AllBase.Model.DBModel;
using AllBase.Model.Division;
using AllBase.Model.Result;
using AllBase.Util;
using NaiBa.Util;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Threading;
using Color = System.Windows.Media.Color;
namespace AllBase.Helper
{
public class GlobalConfig
{
///
/// 颜色等图形元素需要在主线程操作
///
public static Dispatcher Dispatcher { get; set; }
///
/// 店铺列表
///
public static ObservableCollectionThreadSafe ShopLoginList { get; set; } = new ObservableCollectionThreadSafe();
public static ConcurrentList lstWXShopTokenInfo = new ConcurrentList();
///
/// 拼多多买手列表
///
public static ObservableCollectionThreadSafe PDDBuyerLoginList { get; set; } = new ObservableCollectionThreadSafe();
///
/// 淘宝买手列表
///
public static ObservableCollectionThreadSafe TaobaoBuyerLoginList { get; set; } = new ObservableCollectionThreadSafe();
///
/// 当前拼多多买手
///
public static BuyerLoginInfo CurrentPddBuyer { get; set; }
///
/// 当前淘宝买手
///
public static BuyerLoginInfo CurrentTaobaoBuyer { get; set; }
///
/// 当前买手采购平台
///
public static string CurrentBuyPlatform { get; set; } = "pdd";
///
/// 支付宝密码
///
//public static string AlipayPassword { get; set; }
public static AutoBuyConfig AutoBuyConfig { get; set; }
///
/// 默认退货详细地址
///
public static string TransitReturnOrderReturnAddress { get; set; } = "真如镇街道真北路2653弄F区808号楼";
///
/// 默认退货详细地址路和区(用于包含判断)
///
public static string TransitReturnOrderReturnAddressLite { get; set; } = "真北路2653弄F区808号楼";
///
/// 订单列表
///
public static ConcurrentList lstOrder { get; set; } = new ConcurrentList();
///
/// 过滤的订单列表
///
public static ObservableCollection lstFilterOrder { get; set; } = new ObservableCollection();
///
/// 当前标签头
///
public static string OrderTabHeaderStr { get; set; } = "";
public static Dictionary DicDecryptOrderAddress { get; set; } = new Dictionary();
public static ConcurrentList Divisions { get; set; } = new ConcurrentList();
public static ConcurrentList PddDivisions { get; set; } = new ConcurrentList();
public static SystemSettings SystemSettings { get; set; }
public static System.Dynamic.ExpandoObject dicLocalStorage { get; set; }
public static Dictionary> dicDgvHeadersSetting { get; set; }
public static List LstPddPifaShop { get; set; }
///
/// 拼多多 多买手拍单 账户列表
///
public static List LstMultiBuyer = new List();
// 敏感词
//public static string dangerItemWords = "打火机,压力罐,刀具,铡刀,充电宝,罂粟,礼炮,煤气罐,仿制枪,暖手宝,灭火器,火炮,纸炮枪,手枪,毫安,喷漆,酒精,锂电,电池,火柴,气罐,燃气,气泡弹,喷雾";
//public static string dangerItemWords = "打火机,压力罐,刀具,铡刀,充电宝,罂粟,礼炮,煤气罐,仿制枪,暖手宝,灭火器,火炮,纸炮枪,手枪,毫安,喷漆,酒精,锂电,电池,火柴,气罐,气泡弹,喷雾";
public static string dangerItemWords = "打火机,压力罐,刀具,铡刀,充电宝,罂粟,礼炮,煤气罐,仿制枪,暖手宝,灭火器,火炮,纸炮枪,手枪,毫安,喷漆,酒精,锂电,电池,火柴,气罐,气泡弹";
public static List lstDangerItemWord { get; set; } = dangerItemWords.Split(',').ToList();
public static BuyConfig BuyConfig { get; set; }
public static ConcurrentList BuyMapList { get; set; } = new ConcurrentList();
public static ConcurrentList BuyMapSkusList { get; set; } = new ConcurrentList();
#region 界面颜色
public static System.Drawing.Color DefaultMainColor { get; set; } = System.Drawing.Color.FromArgb(63, 126, 255);
public static System.Drawing.Color DefaultMainColorLight { get; set; } = System.Drawing.Color.FromArgb(185, 215, 255);
public static System.Drawing.Color DefaultBorderColor { get; set; } = System.Drawing.Color.FromArgb(25, 98, 200);
public static System.Drawing.Color MainColor { get; set; } = System.Drawing.Color.FromArgb(152, 99, 143);
public static System.Drawing.Color MainColorLight { get; set; } = System.Drawing.Color.FromArgb(245, 235, 255);
public static System.Drawing.Color BorderColor { get; set; } = System.Drawing.Color.FromArgb(107, 83, 147);
public static System.Drawing.Color PddMainColor { get; set; } = System.Drawing.Color.FromArgb(225, 120, 135);
public static System.Drawing.Color PddMainColorLight { get; set; } = System.Drawing.Color.FromArgb(255, 235, 245);
public static System.Drawing.Color PddBorderColor { get; set; } = System.Drawing.Color.FromArgb(195, 112, 135);
public static System.Drawing.Color WeiXinMainColor { get; set; } = System.Drawing.Color.FromArgb(152, 99, 143);
public static System.Drawing.Color WeiXinMainColorLight { get; set; } = System.Drawing.Color.FromArgb(245, 235, 255);
public static System.Drawing.Color WeiXinBorderColor { get; set; } = System.Drawing.Color.FromArgb(107, 83, 147);
#endregion
#region 文本颜色
public static SolidColorBrush BlackBrush = new SolidColorBrush(Color.FromArgb(255, 0, 0, 0));
public static SolidColorBrush GreenBrush = new SolidColorBrush(Color.FromArgb(255, 19, 206, 102));
public static SolidColorBrush GreenBrush75 = new SolidColorBrush(Color.FromArgb(75, 19, 206, 102));
public static SolidColorBrush GreenBrush35 = new SolidColorBrush(Color.FromArgb(35, 19, 206, 102));
public static SolidColorBrush PurpleBrush = new SolidColorBrush(Color.FromArgb(255, 152, 99, 143));
public static SolidColorBrush PurpleBrush190 = new SolidColorBrush(Color.FromArgb(190, 152, 99, 143));
public static SolidColorBrush PurpleBrush100 = new SolidColorBrush(Color.FromArgb(100, 152, 99, 143));
public static SolidColorBrush PurpleBrush75 = new SolidColorBrush(Color.FromArgb(75, 152, 99, 143));
public static SolidColorBrush PurpleBrush50 = new SolidColorBrush(Color.FromArgb(50, 152, 99, 143));
public static SolidColorBrush PurpleBrush35 = new SolidColorBrush(Color.FromArgb(35, 152, 99, 143));
public static SolidColorBrush YellowBrush = new SolidColorBrush(Color.FromArgb(255, 255, 186, 0));
public static SolidColorBrush YellowBrush75 = new SolidColorBrush(Color.FromArgb(75, 255, 186, 0));
public static SolidColorBrush YellowBrush35 = new SolidColorBrush(Color.FromArgb(35, 255, 186, 0));
public static SolidColorBrush LightOrangeBrush = new SolidColorBrush(Color.FromArgb(255, 255, 155, 0));
public static SolidColorBrush OrangeBrush = new SolidColorBrush(Color.FromArgb(255, 250, 127, 51));
public static SolidColorBrush OrangeBrush50 = new SolidColorBrush(Color.FromArgb(50, 250, 127, 51));
public static SolidColorBrush RedBrush = new SolidColorBrush(Color.FromArgb(255, 255, 73, 73));
public static SolidColorBrush RedBrush75 = new SolidColorBrush(Color.FromArgb(75, 255, 73, 73));
public static SolidColorBrush RedBrush35 = new SolidColorBrush(Color.FromArgb(35, 255, 73, 73));
public static SolidColorBrush GrayBrush = new SolidColorBrush(Color.FromArgb(255, 127, 127, 127));
public static SolidColorBrush GreenTextBrush = new SolidColorBrush(Color.FromArgb(255, 103, 194, 58));
public static SolidColorBrush GreenTextBrush50 = new SolidColorBrush(Color.FromArgb(50, 103, 194, 58));
public static SolidColorBrush GreenTextBrush26 = new SolidColorBrush(Color.FromArgb(26, 103, 194, 58));
public static SolidColorBrush RedTextBrush = new SolidColorBrush(Color.FromArgb(255, 250, 71, 51));
public static SolidColorBrush RedTextBrush205 = new SolidColorBrush(Color.FromArgb(205, 250, 71, 51));
public static SolidColorBrush RedTextBrush50 = new SolidColorBrush(Color.FromArgb(50, 250, 71, 51));
public static SolidColorBrush RedTextBrush26 = new SolidColorBrush(Color.FromArgb(26, 250, 71, 51));
public static SolidColorBrush LightRedTextBrush = new SolidColorBrush(Color.FromArgb(255, 245, 108, 108));
public static SolidColorBrush LightOrangeTextBrush = new SolidColorBrush(Color.FromArgb(255, 230, 162, 60));
public static SolidColorBrush CyanBrush = new SolidColorBrush(Color.FromArgb(255, 3, 151, 181));
public static SolidColorBrush CyanBrush50 = new SolidColorBrush(Color.FromArgb(50, 3, 151, 181));
public static SolidColorBrush CyanBrush26 = new SolidColorBrush(Color.FromArgb(26, 3, 151, 181));
#endregion
}
}