修改结构

This commit is contained in:
gongxh
2022-05-06 08:45:56 +08:00
parent 74a05e7bb3
commit 7e9c7ca86f
50 changed files with 352 additions and 251 deletions

View File

@@ -189,7 +189,7 @@ namespace CleanMachineHMI
bool isInitStatus = PlcOperationHelper.Instance.PlcInit();
if (isInitStatus)
{
label3Professional.Text = this.GetInfoText("串口打开成功,PLC连接成功!", "label3Professional_Success");
label3Professional.Text = this.T("串口打开成功,PLC连接成功!", "label3Professional_Success");
label3Professional.BackColor = Color.Lime;
isPlcConnStatus = true;
@@ -236,7 +236,7 @@ namespace CleanMachineHMI
else
{
//label3Professional.Text = "串口打开失败,PLC连接失败!";
label3Professional.Text = this.GetInfoText("串口打开失败,PLC连接失败!", "label3Professional_Failed");
label3Professional.Text = this.T("串口打开失败,PLC连接失败!", "label3Professional_Failed");
label3Professional.BackColor = Color.Red;
isPlcConnStatus = false;