using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SKMC.Api.Motion.Config { public class MotionConstants { /// /// 正在回零中 /// public const short HOME_IN_PROGRESS = 0; /// /// 回零中断或者没有开始启动 /// public const short HOME_INTERRUPTED = 1; /// /// 回零结束, 但没有到设定的目标位置 /// public const short HOME_NOT_REACH = 2; /// /// 回零成功 /// public const short HOME_SUCESS = 3; /// /// 回零中发生错误, 同时速度不为0 /// public const short HOME_ERR_MOVE = 4; /// /// 回零中发生错误, 同时速度为0 /// public const short HOME_ERR_STOP = 5; /// /// 电机类型为闭环 /// public const string AXIS_TYPE_CLOSE = "闭环"; /// /// 电机类型为开环 /// public const string AXIS_TYPE_OPEN = "开环"; } }