| | |
| | | public short HomeDir { get; set; } = 1; |
| | | |
| | | [Category("回原点参数")] |
| | | [DisplayName("回原点方向")] |
| | | [Description("HomeDir:1 正向,-1 负向")] |
| | | [DisplayName("边缘")] |
| | | [Description("edge:边缘")] |
| | | public short Edge { get; set; } = 0; |
| | | |
| | | [Category("回原点参数")] |
| | |
| | | public double HighVelocity { get; set; } = 50; |
| | | |
| | | [Category("回原点参数")] |
| | | [DisplayName("搜搜距离")] |
| | | [Description("SearchHomeDistance:搜搜距离")] |
| | | [DisplayName("搜索距离")] |
| | | [Description("SearchHomeDistance:搜索距离")] |
| | | public int SearchHomeDistance { get; set; } = 9999999; |
| | | |
| | | [Category("回原点参数")] |
| | |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"轴{AxisIndex}:{AxisName}-当前:{CurPosition}-规划:{Destination}"; |
| | | return $"轴{AxisIndex}:{AxisName}-当前状态:{AxisStatus}-当前位置:{CurPosition}-规划位置:{Destination}"; |
| | | } |
| | | } |
| | | |
| | |
| | | [DisplayName("运动轴索引")] |
| | | [Description("AxisIndex:运动轴索引")] |
| | | [TypeConverter(typeof(AxisIndexConvert))] |
| | | public string AxisIndexStr { get; set; } = "0"; |
| | | public string AxisIndexStr { get; set; } = "1"; |
| | | |
| | | [Browsable(false)] |
| | | [JsonIgnore] |