| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using Prism.Mvvm;
- namespace SHJX.Service.Model.Control
- {
- public class MotorSpeed : BindableBase
- {
- /// <summary>
- /// NodeID
- /// </summary>
- public string NodeId { get; set; }
- /// <summary>
- /// 节点名称
- /// </summary>
- public string NodeName { get; set; }
- /// <summary>
- /// 速度
- /// </summary>
- private int _speed;
- public int Speed
- {
- get => _speed;
- set => SetProperty(ref _speed, value);
- }
- /// <summary>
- /// 加速度
- /// </summary>
- private int _acSpeed;
- public int AcSpeed
- {
- get => _acSpeed;
- set => SetProperty(ref _acSpeed, value);
- }
- /// <summary>
- /// 减速度
- /// </summary>
- private int _deSpeed;
- public int DeSpeed
- {
- get => _deSpeed;
- set => SetProperty(ref _deSpeed, value);
- }
- /// <summary>
- /// 描述
- /// </summary>
- public string Description { get; set; }
- }
- }
|