修改
This commit is contained in:
@@ -2629,7 +2629,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -2672,7 +2672,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -2763,7 +2763,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -2902,7 +2902,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
swtbtn_brush1.L_IsOpen = false;
|
||||
return;
|
||||
}
|
||||
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;
|
||||
@@ -2942,7 +2942,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
swtbtn_brush2.L_IsOpen = false;
|
||||
return;
|
||||
}
|
||||
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;
|
||||
@@ -2987,7 +2987,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
swtbtn_nozzle1.L_IsOpen = false;
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
swtbtn_nozzle1.L_IsOpen = false;
|
||||
@@ -3027,7 +3027,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
swtbtn_brush3.L_IsOpen = false;
|
||||
return;
|
||||
}
|
||||
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;
|
||||
@@ -3069,7 +3069,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3145,7 +3145,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3184,7 +3184,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3287,7 +3287,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3335,7 +3335,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3411,7 +3411,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3444,7 +3444,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
swtbtn_staticBar.L_IsOpen = false;
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
swtbtn_staticBar.L_IsOpen = false;
|
||||
@@ -3675,7 +3675,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.");
|
||||
return;
|
||||
@@ -3713,7 +3713,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
return;
|
||||
}
|
||||
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
@@ -3980,7 +3980,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
|
||||
return;
|
||||
}
|
||||
if (!PlcOperationHelper.Instance.isConn)
|
||||
if (!PlcOperationHelper.Instance.IsConn)
|
||||
{
|
||||
KryptonMessageBox.Show("The PLC is disconnected and unable to operate the equipment.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user