| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | using MECF.Framework.Common.Device;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 BeckhoffAxis : AxisConfig    {        [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Name { get; set; }        [XmlAttribute(AttributeName = "MotorType", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string MotorType { get; set; }        [XmlAttribute(AttributeName = "COEAddress", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string COEAddress { get; set; }        [XmlAttribute(AttributeName = "COEPort", Form = XmlSchemaForm.Unqualified, DataType = "int")]        public int COEPort { get; set; }        [XmlAttribute(AttributeName = "DebugLogging", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]        public bool DebugLogging { get; set; }        [XmlElement(Type = typeof(BeckhoffAxisInput), ElementName = "Input", IsNullable = false, Form = XmlSchemaForm.Qualified)]        public List<BeckhoffAxisInput> Inputs { get; set; }        [XmlElement(Type = typeof(BeckhoffAxisOutput), ElementName = "Output", IsNullable = false, Form = XmlSchemaForm.Qualified)]        public List<BeckhoffAxisOutput> Outputs { get; set; }        public int MotorDriveDirection { get; set; }        public int EncoderFeedbackDirectionMValue { get;set; }        public int EncoderFeedbackDirectionNValue { get; set; }        public int ReverseLimitSwitchPolarity { get; set; }        public int ForwardLimitSwitchPolarity { get; set; }        public int HomeSwitchPolarity { get; set; }        public int HomeConfig { get; set; }        public int ProportionalGain { get; set; }        public int IntegralGain { get; set; }        public int DerivativeGain { get; set; }        public int IntegralLimit { get; set; }        public int VoltageOffset { get; set; }        public int Jerk { get; set; }        public int FeedforwardVelocity { get; set; }        public int FeedforwardAcceleration { get; set; }        public int OffOnError { get; set; }    }}
 |