HotkeyModel.cs 776 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Xml.Serialization;
  7. namespace SmartCoalApplication.Base.SettingModel
  8. {
  9. /// <summary>
  10. /// 自定义界面 - 快捷键
  11. /// </summary>
  12. [XmlRoot("ROOT")]
  13. public class HotkeyModel
  14. {
  15. [XmlArrayAttribute("Items")]
  16. public List<Item> items { get; set; }
  17. public class Item
  18. {
  19. [XmlElement("MenuId")]
  20. public int MenuId;
  21. [XmlElement("MenuName")]
  22. public string MenuName;
  23. [XmlElement("HotKeys")]
  24. public string HotKeys;
  25. [XmlElement("Description")]
  26. public string Description { get; set; }
  27. }
  28. }
  29. }