修改
This commit is contained in:
@@ -225,11 +225,11 @@ namespace CleanMachineHMI
|
||||
PlcOperationHelper.Instance.StartRead();
|
||||
|
||||
|
||||
Thread th = new Thread(RefreshPlcItem)
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
th.Start();
|
||||
//Thread th = new Thread(RefreshPlcItem)
|
||||
//{
|
||||
// IsBackground = true
|
||||
//};
|
||||
//th.Start();
|
||||
|
||||
|
||||
//Thread th = new Thread(RefreshPlcItem_M)
|
||||
@@ -271,7 +271,7 @@ namespace CleanMachineHMI
|
||||
label3Professional.BackColor = Color.Red;
|
||||
isPlcConnStatus = false;
|
||||
|
||||
LogHelper.WriteLog($"串口打开失败,PLC连接成功!", LogTypeEum.Run);
|
||||
LogHelper.WriteLog($"串口打开失败,PLC连接失败!", LogTypeEum.Run);
|
||||
}
|
||||
|
||||
MothedShowMessage = new dlgShowMessage(Test);
|
||||
|
||||
Reference in New Issue
Block a user