66 lines
2.3 KiB
C#
66 lines
2.3 KiB
C#
using Aurora.View;
|
|
using ILSOS_PrismaticGun.Process;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ILSOS_PrismaticGun.Device.ACS
|
|
{
|
|
public class MotionVariable : NotifyPropertyChangedBase
|
|
{
|
|
public MotionVariable() { }
|
|
//private eStage Stage { get; set; }
|
|
//public double X1AxisPosition { get; set; } = 0.0;
|
|
//public bool X1InPosition { get; set; } = false;
|
|
//public double X1AxisVelocity { get; set; } = 0.0;
|
|
//public double X1AxisAcceleration { get; set; } = 0.0;
|
|
|
|
public double X2AxisPosition { get; set; } = 0.0;
|
|
public bool X2InPosition { get; set; } = false;
|
|
public double X2AxisVelocity { get; set; } = 0.0;
|
|
public double X2AxisAcceleration { get; set; } = 0.0;
|
|
|
|
public double Y1AxisPosition { get; set; } = 0.0;
|
|
public bool Y1InPosition { get; set; } = false;
|
|
public double Y1AxisVelocity { get; set; } = 0.0;
|
|
public double Y1AxisAcceleration { get; set; } = 0.0;
|
|
|
|
public double Y2AxisPosition { get; set; } = 0.0;
|
|
public bool Y2InPosition { get; set; } = false;
|
|
public double Y2AxisVelocity { get; set; } = 0.0;
|
|
public double Y2AxisAcceleration { get; set; } = 0.0;
|
|
|
|
public double ZAxisPosition { get; set; } = 0.0;
|
|
public bool ZInPosition { get; set; } = false;
|
|
public double ZAxisVelocity { get; set; } = 0.0;
|
|
public double ZAxisAcceleration { get; set; } = 0.0;
|
|
|
|
public bool IsHome { get; set; } = false;
|
|
|
|
public bool IsLoadPosition { get; set; } = false;
|
|
public bool IsUnloadPosition { get; set; } = false;
|
|
public bool IsSafetyPosition { get; set; } = false;
|
|
public bool IsWeldingStartPosition { get; set; } = false;
|
|
|
|
public bool IsLoadEnable { get; set; } = false;
|
|
public bool IsUnloadEnable { get; set; } = false;
|
|
|
|
}
|
|
|
|
//public class MotionVariableCollection : ObservableCollection<MotionVariable>
|
|
//{
|
|
// public MotionVariableCollection()
|
|
// {
|
|
// }
|
|
// public MotionVariableCollection(IEnumerable<MotionVariable> collection) : base(collection)
|
|
// {
|
|
// }
|
|
// public MotionVariableCollection(List<MotionVariable> list) : base(list)
|
|
// {
|
|
// }
|
|
//}
|
|
}
|