UserConfig.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using Muchinfo.MTPClient.Data.Enums;
  2. using System.Collections.Generic;
  3. namespace Muchinfo.MTPClient.Data.Model.Config
  4. {
  5. public class UserConfig
  6. {
  7. /// <summary>
  8. /// 当前用户布局
  9. /// </summary>
  10. /// <value>The current layout style.</value>
  11. public LayoutStyle CurrentLayoutStyle { get; set; }
  12. /// <summary>
  13. /// 当前用户主题
  14. /// </summary>
  15. /// <value>The current color style.</value>
  16. public ColorStyle CurrentColorStyle { get; set; }
  17. /// <summary>
  18. /// 用户布局配置
  19. /// </summary>
  20. /// <value>The user layouts.</value>
  21. public Dictionary<LayoutStyle, UserLayout> UserLayouts { get; set; }
  22. /// <summary>
  23. /// 行情列表表头配置
  24. /// </summary>
  25. /// <value>The quote grid headers.</value>
  26. public Dictionary<QuoteListHeaderType, List<QuoteListHeader>> QuoteGridHeaders { get; set; }
  27. /// <summary>
  28. ///配置版本,是否要更新配置当前,保存在配置里面的版本比程序设置版本低时,不从保存在本地抬头读数据行情列表表头配置。 1.1.1.1 (自选.做市.竞价.混合)
  29. /// </summary>
  30. public string ConfigHeadersVer { get; set; }
  31. }
  32. }