src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.cs
@@ -67,7 +67,8 @@ if (ioInArray != null && ioInArray.Length == 1) { var ioIn = ioInArray[0] as IOIndicatorCtrl; ioIn.IsOn = ioItem.Value == IOValue.FALSE; ioIn.IsOn = ioItem.Value == IOValue.TRUE; } } else @@ -76,10 +77,18 @@ if (ioOutArray != null && ioOutArray.Length == 1) { var ioOut = ioOutArray[0] as IOIndicatorCtrl; if (MotionCard.IConfig.IsOutputReversed) { ioOut.IsOn = ioItem.Value == IOValue.TRUE; } else { ioOut.IsOn = ioItem.Value == IOValue.FALSE; } } } } this.Invalidate(); }