| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 | 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    {        [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 byte HomingMethod { get; set; }        public int HomeConfig { get; set; }        public int HomingOffset { get; set; }        public int HomingSpeedHomeSwitch { get; set; }        public int HomingSpeedEncoderIndex { get; set; }        public int HomingAccelDecel { get; set; }        public int HomingTimeOut { get; set; }        public int ProportionalGain { get; set; }        public int IntegralGain { get; set; }        public int DerivativeGain { get; set; }        public int IntegralLimit { get; set; }        public int ErrorLimit { get; set; }        public int VoltageOffset { get; set; }        public int ReverseSoftwareLimit { get; set; }        public int ForwardSoftwareLimit { get; set; }        public int Speed { get; set; }        public int Acceleration { get; set; }        public int Deceleration { get; set; }        public int Jerk { get; set; }        public int FeedforwardVelocity { get; set; }        public int FeedforwardAcceleration { get; set; }        public int OffOnError { get; set; }        public int NegativeTorqueLimit { get; set; }        public int PositiveTorqueLimit { get; set; }    }}
 |