FestoDO.cs 943 B

123456789101112131415161718192021222324252627
  1. using MECF.Framework.Common.CommonData;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Xml.Schema;
  8. using System.Xml.Serialization;
  9. namespace MECF.Framework.Common.Device.Festo
  10. {
  11. public class FestoDO
  12. {
  13. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  14. public string Name { get; set; }
  15. [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  16. public int Address { get; set; }
  17. [XmlAttribute(AttributeName = "Bit", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  18. public int Bit { get; set; }
  19. [XmlAttribute(AttributeName = "Invert", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]
  20. public bool Invert { get; set; }
  21. public int DataIndex { get; set; }
  22. }
  23. }