BeckhoffOutput.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 FestoDebugger.Beckoff
  9. {
  10. public class BeckhoffOutput
  11. {
  12. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  13. public string Name { get; set; }
  14. [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  15. public string Address { get; set; }
  16. [XmlAttribute(AttributeName = "Type", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  17. public string Type { get; set; }
  18. [XmlAttribute(AttributeName = "DataType", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  19. public string DataType { get; set; }
  20. [XmlAttribute(AttributeName = "BitOperated", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]
  21. public bool BitOperated { get; set; }
  22. [XmlAttribute(AttributeName = "Bit", Form = XmlSchemaForm.Unqualified, DataType = "int")]
  23. public int Bit { get; set; }
  24. [XmlAttribute(AttributeName = "Invert", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]
  25. public bool Invert { get; set; }
  26. [XmlAttribute(AttributeName = "Scaling", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  27. public string Scaling { get; set; }
  28. [XmlAttribute(AttributeName = "Clip", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]
  29. public bool Clip { get; set; }
  30. [XmlAttribute(AttributeName = "ModuleName", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  31. public string ModuleName { get; set; }
  32. }
  33. }