WagoDI.cs 761 B

123456789101112131415161718192021222324
  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.Device.Wago
  9. {
  10. public class WagoDI
  11. {
  12. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  13. public string Name { get; set; }
  14. [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  15. public int Address { get; set; }
  16. [XmlAttribute(AttributeName = "Invert", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]
  17. public bool Invert { get; set; }
  18. public int DataIndex { get; set; }
  19. }
  20. }