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 BeckhoffCounter { [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string Name { get; set; } [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string Address { get; set; } [XmlAttribute(AttributeName = "DataType", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string DataType { get; set; } [XmlAttribute(AttributeName = "Mode", Form = XmlSchemaForm.Unqualified, DataType = "int")] public int Mode { get; set; } [XmlAttribute(AttributeName = "Period", Form = XmlSchemaForm.Unqualified, DataType = "int")] public int Period { get; set; } [XmlAttribute(AttributeName = "Scaling", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string Scaling { get; set; } [XmlElement(Type = typeof(BeckhoffCounterOutput), ElementName = "Output", IsNullable = false, Form = XmlSchemaForm.Qualified)] public List Outputs { get; set; } } }