using CyberX8_Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Schema; using System.Xml.Serialization; namespace MECF.Framework.Common.Beckhoff.IOAxis { public class BeckhoffController { [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string Name { get; set; } [XmlAttribute(AttributeName = "IPAddress", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string IPAddress { get; set; } [XmlAttribute(AttributeName = "PortAddress", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string PortAddress { get; set;} [XmlElement(Type = typeof(BeckhoffInput), ElementName = "Input", IsNullable = false, Form = XmlSchemaForm.Qualified)] public List Inputs { get; set; } [XmlElement(Type =typeof(BeckhoffCounter), ElementName = "Counter", IsNullable =false,Form =XmlSchemaForm.Qualified)] public List Counters { get; set; } [XmlElement(Type = typeof(BeckhoffOutput), ElementName = "Output", IsNullable = false, Form = XmlSchemaForm.Qualified)] public List Outputs { get; set; } [XmlElement(Type = typeof(BeckhoffAxis), ElementName = "Axis", IsNullable = false, Form = XmlSchemaForm.Qualified)] public List Axises { get; set; } } }