ControlSaveItem.cs 904 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.Serialization;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace FWindSoft.Wpf.History
  8. {
  9. /// <summary>
  10. /// 控件保存值基类
  11. /// </summary>
  12. [DataContract]
  13. public sealed class ControlSaveItem
  14. {
  15. public ControlSaveItem()
  16. {
  17. }
  18. public ControlSaveItem(string name, string type, string controlId, string value)
  19. {
  20. ControlName = name;
  21. ControlType = type;
  22. ControlId = controlId;
  23. ControlValue = value;
  24. }
  25. [DataMember]
  26. public string ControlName { get; set; }
  27. [DataMember]
  28. public string ControlId { get; set; }
  29. [DataMember]
  30. public string ControlType { get; set; }
  31. [DataMember]
  32. public string ControlValue { get; set; }
  33. }
  34. }