This commit is contained in:
gongxh
2022-05-05 13:14:07 +08:00
parent 8cce51203e
commit 235f9767a7
4 changed files with 13 additions and 13 deletions

View File

@@ -481,7 +481,7 @@ namespace CleanMachineHMI.FrmUserControl
private void FinishWorkingPallet()
{
#if !DEBUG
#if RELEASE
try
{
#endif
@@ -575,7 +575,7 @@ namespace CleanMachineHMI.FrmUserControl
}));
}
}
#if !DEBUG
#if RELEASE
}
catch (Exception ex)
{
@@ -3144,7 +3144,7 @@ namespace CleanMachineHMI.FrmUserControl
{
kbtn_forceFinish.Enabled = false;
#if !DEBUG
#if RELEASE
try
{
@@ -3384,7 +3384,7 @@ namespace CleanMachineHMI.FrmUserControl
}
}
kryptonGroupBox1.Focus();
#if !DEBUG
#if RELEASE
}
catch (Exception ex)
{

View File

@@ -2,7 +2,7 @@
#if DEBUG
#define USE_LOCAL_TCP_DEBUG
//#define USE_LOCAL_TCP_DEBUG
#endif
//启用心跳检查

View File

@@ -486,7 +486,7 @@ namespace CleanMachineHMI
long lastTick = DateTime.Now.Ticks;
while (GlobalHelper.SysThIsRunFlag)
{
#if !DEBUG
#if RELEASE
try
{
#endif
@@ -646,7 +646,7 @@ namespace CleanMachineHMI
PlcOperationHelper.Instance.HeartbeatDetection();
#endregion
#if !DEBUG
#if RELEASE
}
catch (Exception ex)