Stop接口去除紧急停止的接口

master
lhiven 5 months ago
parent c4a8ca8cb2
commit 0f7cf21a98

@ -71,7 +71,7 @@ namespace Rs.Motion.Base
return ErrorCode.Ok;
}
public virtual ErrorCode Stop(bool smoothStop = true)
public virtual ErrorCode Stop()
{
return ErrorCode.Ok;
}

@ -189,8 +189,9 @@ namespace Rs.Motion.GugaoEcat
/// 停止运动
/// </summary>
/// <returns></returns>
public override ErrorCode Stop(bool smoothStop = true)
public override ErrorCode Stop()
{
bool smoothStop = true;
if (!cardManager.IsInitialized)
{
return ErrorCode.CardNotInit;

@ -231,8 +231,9 @@ namespace Rs.Motion.GugaoPulse
/// 停止运动
/// </summary>
/// <returns></returns>
public override ErrorCode Stop(bool smoothStop=true)
public override ErrorCode Stop()
{
bool smoothStop = true;
if (!cardManager.IsInitialized)
{
return ErrorCode.CardNotInit;

@ -151,8 +151,9 @@ namespace Rs.Motion.Leisai
/// 停止运动
/// </summary>
/// <returns></returns>
public override ErrorCode Stop(bool smoothStop = true)
public override ErrorCode Stop()
{
bool smoothStop = true;
if (!cardManager.IsInitialized)
{
return ErrorCode.CardNotInit;

@ -246,8 +246,9 @@ namespace Rs.Motion.GugaoEcat
/// 停止运动
/// </summary>
/// <returns></returns>
public override ErrorCode Stop(bool smoothStop = true)
public override ErrorCode Stop()
{
bool smoothStop = true;
if (!cardManager.IsInitialized)
{
return ErrorCode.CardNotInit;

Loading…
Cancel
Save