1234567891011121314151617181920212223242526272829303132 |
- using MECF.Framework.Common.Device.Festo;
- 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.Galil
- {
- public class GalilDeviceConfig
- {
- [XmlAttribute(AttributeName = "Module", Form = XmlSchemaForm.Unqualified, DataType = "string")]
- public string Module { 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; }
- [XmlElement(Type = typeof(GalilAxisConfig), ElementName = "GalilAxisConfig", IsNullable = false, Form = XmlSchemaForm.Qualified)]
- public List<GalilAxisConfig> GalilAxises { get; set; }
- }
- }
|