using System; namespace SHARP_CLAS_UI { public class Position_Info { #region Property public string Position_Name { get; set; } public int Position_Num { get; set; } public MotorAxis Motor_Axis { get; set; } public string Description { get; set; } public double Position { get; set; } public double Velocity { get; set; } #endregion #region Construct public Position_Info() { this.Position_Name = string.Empty; this.Position_Num = 0; this.Motor_Axis = 0; this.Description = ""; this.Position = 0; this.Velocity = 0; } public Position_Info(string Position_Name, int Position_Num, MotorAxis Motor_Axis, string Description, double Position, double Velocity) { this.Position_Name = Position_Name; this.Position_Num = Position_Num; this.Motor_Axis = Motor_Axis; this.Description = Description; this.Position = Position; this.Velocity = Velocity; } #endregion #region Function public Position_Info Clone() { Position_Info info = new Position_Info(); info.Position_Name = this.Position_Name; info.Position_Num = this.Position_Num; info.Motor_Axis = this.Motor_Axis; info.Description = this.Description; info.Position = this.Position; info.Velocity = this.Velocity; return info; } #endregion } }