FormPlcOperation.cs
@@ -25,6 +25,12 @@ _opc.ReadOneItem_Wrapper(OPCOutputTag.PingbiSafeGuard, ref result); cbPingbiSafeGuard.Checked = result != null && (bool)result ? true : false; this.Load += (s, e) => { cbPingbiGuangshan.CheckedChanged += cbPingbiGuangshan_CheckedChanged; cbPingbiSafeGuard.CheckedChanged += cbPingbiSafeGuard_CheckedChanged; }; } private void cbLoadRbtAlarm_CheckedChanged(object sender, EventArgs e)