From be33a18112638699efe66912889f56302f9bcff8 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期六, 11 七月 2020 17:09:04 +0800 Subject: [PATCH] 板卡 操作 --- src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisStatus.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisStatus.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisStatus.cs index 02042d2..77966fd 100644 --- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisStatus.cs +++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisStatus.cs @@ -45,7 +45,7 @@ int axis_sts = _axisMovingStatus.AxisStatus; ioIndicatorCtrl1.IsOn = (axis_sts & 0x2) == 0;//椹卞姩鎶ヨ - ioIndicatorCtrl2.IsOn = (axis_sts & 0x200) != 0;//浼烘湇浣胯兘 + ioIndicatorCtrl2.IsOn = (axis_sts & 0x200) == 1;//浼烘湇浣胯兘 1涓哄紑鍚� ioIndicatorCtrl6.IsOn = (axis_sts & 0x20) == 0;//姝i檺浣� ioIndicatorCtrl8.IsOn = (axis_sts & 0x40) == 0;//璐熼檺浣� ioIndicatorCtrl9.IsOn = (axis_sts & 0x400) == 0;//杩愬姩鐘舵�� -- Gitblit v1.8.0