ProcessLayoutCellItem.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.Schema;
  7. using System.Xml.Serialization;
  8. namespace MECF.Framework.Common.Layout
  9. {
  10. public class ProcessLayoutCellItem
  11. {
  12. [XmlAttribute(AttributeName = "CellId", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  13. public int CellId { get; set; }
  14. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 模块名称
  18. /// </summary>
  19. [XmlAttribute(AttributeName = "ModuleName", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  20. public string ModuleName { get; set; }
  21. /// <summary>
  22. /// 宽度
  23. /// </summary>
  24. [XmlAttribute(AttributeName = "Width", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  25. public int Width { get; set; }
  26. [XmlAttribute(AttributeName = "Height", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  27. public int Height { get; set; }
  28. [XmlAttribute(AttributeName = "Left", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  29. public int Left { get; set; }
  30. [XmlAttribute(AttributeName = "Top", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  31. public int Top { get; set; }
  32. /// <summary>
  33. /// 类型
  34. /// </summary>
  35. [XmlAttribute(AttributeName = "Type", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  36. public string Type { get; set; }
  37. }
  38. }