patrick.xu
2021-05-24 3c583b1091133e4af23c2534ae96bd094c132d58
FormPlcOperation.cs
@@ -54,12 +54,18 @@
        private void cbPingbiGuangshan_CheckedChanged(object sender, EventArgs e)
        {
            _opc.Write(OPCOutputTag.PingbiGuangShan, cbPingbiGuangshan.Checked);
            if (new ConfigPassword("").ShowDialog() == DialogResult.OK)
            {
                _opc.Write(OPCOutputTag.PingbiGuangShan, cbPingbiGuangshan.Checked);
            }
        }
        private void cbPingbiSafeGuard_CheckedChanged(object sender, EventArgs e)
        {
            _opc.Write(OPCOutputTag.PingbiSafeGuard, cbPingbiSafeGuard.Checked);
            if (new ConfigPassword("").ShowDialog() == DialogResult.OK)
            {
                _opc.Write(OPCOutputTag.PingbiSafeGuard, cbPingbiSafeGuard.Checked);
            }
        }
    }
}