using Bro.Common.Helper;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace Bro.Common.Base
|
{
|
/// <summary>
|
/// 运动机构接口 具体由PLC/板卡实现
|
/// </summary>
|
public interface IMotion
|
{
|
List<AxisInfo> GetCurrentAxisInfo(params string[] axisName);
|
}
|
|
public class AxisInfo : IComplexDisplay
|
{
|
public string AxisName { get; set; }
|
public double AxisLocation { get; set; }
|
|
public string GetDisplayText()
|
{
|
return $"{AxisName}:{AxisLocation}";
|
}
|
}
|
}
|