| 12345678910111213141516171819202122232425262728293031323334353637 | using MECF.Framework.Common.Beckhoff.IOAxis;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.Device.Festo{    public class FestoDeviceConfig    {        [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 = "Port", Form = XmlSchemaForm.Unqualified, DataType = "int")]        public int Port { get; set; }        [XmlAttribute(AttributeName = "SendTimeout", Form = XmlSchemaForm.Unqualified, DataType = "int")]        public int SendTimeout { get; set; }        [XmlAttribute(AttributeName = "RecvTimeout", Form = XmlSchemaForm.Unqualified, DataType = "int")]        public int RecvTimeout { get; set; }        [XmlAttribute(AttributeName = "DIStartAddress", Form = XmlSchemaForm.Unqualified, DataType = "int")]        public int DIStartAddress { get; set; }        [XmlAttribute(AttributeName = "Channel", Form = XmlSchemaForm.Unqualified, DataType = "int")]        public int Channel { get; set; }        [XmlElement(Type = typeof(FestoDO), ElementName = "DO", IsNullable = false, Form = XmlSchemaForm.Qualified)]        public List<FestoDO> FestoDoes { get; set; }    }}
 |