NohDoyeon241104 fc8c2186d4 feat: WeldingCommon에 ScannerACS 독립 구현 및 Scanner 등록
- WeldingCommon/Devices/ACS/ 에 ScannerACS 3개 파일 추가
  (ScannerACS.cs / ScannerACS.Parameter.cs / MotionVariable.cs)
- Gun 프로젝트 참조 제거, ScannerACS로 독립 분리
- WeldingCommon에 AuroraACS / AuroraMotor / ACS.SPiiPlusNET 참조 추가
- Scanner EquipmentSetup.RegisterDevices()에 ScannerACS 및 모터 등록
- EquipDef.cs에 MotorIds 추가
- AuroraEx.IsAutoActivation Device 네임스페이스 충돌 수정
- CommonEquipmentSetup.ActivateDevices() Aurora.Api.Device 타입 명시

TODO: 이정인 선임 ACS 변수 맵 수신 후 축 번호 및 변수명 검증 필요
2026-04-06 12:52:12 +09:00

65 lines
2.3 KiB
C#

using Aurora.View;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WeldingCommon.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)
// {
// }
//}
}