From 0d3706a4400112eb9386e9f597bb7ace95e7a80b Mon Sep 17 00:00:00 2001 From: lhiven Date: Tue, 16 Jul 2024 08:08:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BA=E9=AB=98=E6=80=BB?= =?UTF-8?q?=E7=BA=BF=E5=8D=A1=E8=8E=B7=E5=8F=96=E5=8E=9F=E7=82=B9=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.Motion/GugaoEcat/GugaoAxis.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rs.Motion/GugaoEcat/GugaoAxis.cs b/Rs.Motion/GugaoEcat/GugaoAxis.cs index 212387d..48fb546 100644 --- a/Rs.Motion/GugaoEcat/GugaoAxis.cs +++ b/Rs.Motion/GugaoEcat/GugaoAxis.cs @@ -1005,7 +1005,7 @@ namespace Rs.Motion.GugaoEcat { return ErrorCode.Fail; } - bIsOn = (pValue >> Config.AxisId & 0x01) == 1; + bIsOn = (pValue >> Config.AxisId-1 & 0x01) == 1; return ErrorCode.Ok; }