BeckhoffModule.cs 628 B

1234567891011121314151617181920
  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.Beckhoff.ModuleIO
  9. {
  10. public class BeckhoffModule
  11. {
  12. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  13. public string Name { get; set; }
  14. [XmlElement(Type = typeof(BeckhoffModuleIOInfo), ElementName = "IO", IsNullable = false, Form = XmlSchemaForm.Qualified)]
  15. public List<BeckhoffModuleIOInfo> IOs { get; set; }
  16. }
  17. }