using System; using System.Collections.Generic; using TeamAAS.Global.Devices; using TeamAAS.Motion.Models; namespace TeamAAS.Motion.Motions { public class LeadshineMotionCard : IMotionCard { private readonly MotionDeviceConfig _cfg; public string Name => _cfg.Name; public bool IsConnected { get; private set; } public int AxisCount => _cfg.AxisCount; public event EventHandler ConnectionStateChanged; public event EventHandler ErrorOccurred; public LeadshineMotionCard(MotionDeviceConfig cfg) { _cfg = cfg ?? new MotionDeviceConfig(); } public bool Open() => throw new NotImplementedException(); public void Close() => throw new NotImplementedException(); public bool SetEnable(int axis, bool enable) => throw new NotImplementedException(); public bool Home(int axis, int mode = 0) => throw new NotImplementedException(); public bool IsHomed(int axis) => throw new NotImplementedException(); public bool MoveAbsolute(int axis, double position, double velocity) => throw new NotImplementedException(); public bool MoveRelative(int axis, double distance, double velocity) => throw new NotImplementedException(); public bool JogStart(int axis, int direction, double velocity) => throw new NotImplementedException(); public bool JogStop(int axis) => throw new NotImplementedException(); public bool Stop(int axis = -1) => throw new NotImplementedException(); public AxisStatus GetAxisStatus(int axis) => throw new NotImplementedException(); public List GetAllAxisStatus() => throw new NotImplementedException(); public IAxis GetAxis(int axisNo) => throw new NotImplementedException(); public IList GetAxes() => throw new NotImplementedException(); public bool MoveLinear(double[] targetPositions, double velocity) => throw new NotImplementedException(); public bool MoveArc(double[] centerPoint, double[] targetPositions, double velocity) => throw new NotImplementedException(); public bool EmergencyStop() => throw new NotImplementedException(); public bool ReadDI(int portIndex) => throw new NotImplementedException(); public bool WriteDO(int portIndex, bool value) => throw new NotImplementedException(); } }