From c585dd8ddbbdc5dece1033bd6a1201493ed610a0 Mon Sep 17 00:00:00 2001 From: patrick.xu <patrick.xu@broconcentric.com> Date: 星期一, 24 五月 2021 08:50:12 +0800 Subject: [PATCH] 修改M423Project版本号 --- FormPlcOperation.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/FormPlcOperation.cs b/FormPlcOperation.cs index 1a2d7c4..6fe851a 100644 --- a/FormPlcOperation.cs +++ b/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); + } } } } -- Gitblit v1.8.0