This commit is contained in:
gongxh
2022-05-11 15:20:00 +08:00
parent 041ecb2da2
commit 2a9a10cb46
11 changed files with 678 additions and 11 deletions

View File

@@ -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);