示例#1
0
文件: Motion.cs 项目: godbanyan/new
 /// <summary>
 /// 改变运动速度
 /// </summary>
 /// <param name="speedControl"></param>
 public void ChangeSpeed(SpeedControl speedControl)
 {
     this.speedControl = speedControl;
 }
示例#2
0
文件: Motion.cs 项目: godbanyan/new
 /// <summary>
 /// 实例化运动控制器
 /// </summary>
 /// <param name="cardNo">控制卡卡号</param>
 /// <param name="speedControl">速度控制参数</param>
 public Motion(ushort cardNo, SpeedControl speedControl)
 {
     this.cardNo = cardNo;
     this.speedControl = speedControl;
 }