This commit is contained in:
gongxh
2022-05-17 09:25:44 +08:00
parent 4fe118f2e5
commit d14b2ac45f
14 changed files with 125 additions and 114 deletions

View File

@@ -34,7 +34,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
if (!PlcOperationHelper.Instance.isConn)
if (!PlcOperationHelper.Instance.IsConn)
{
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
swtbtn_brush1.L_IsOpen = false;
@@ -60,7 +60,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
if (!PlcOperationHelper.Instance.isConn)
if (!PlcOperationHelper.Instance.IsConn)
{
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
swtbtn_brush2.L_IsOpen = false;
@@ -281,7 +281,7 @@ namespace CleanMachineHMI.FrmUserControl
{
try
{
if (!PlcOperationHelper.Instance.isConn)
if (!PlcOperationHelper.Instance.IsConn)
{
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
swtbtn_brush3.L_IsOpen = false;