去除每个页面的 语言datatable
This commit is contained in:
@@ -26,7 +26,6 @@ namespace CleanMachineHMI
|
||||
public frmMainNew()
|
||||
{
|
||||
InitializeComponent();
|
||||
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode, "Info%");
|
||||
}
|
||||
|
||||
#region 全局变量
|
||||
@@ -186,7 +185,7 @@ namespace CleanMachineHMI
|
||||
bool isInitStatus = PlcOperationHelper.Instance.PlcInit();
|
||||
if (isInitStatus)
|
||||
{
|
||||
label3Professional.Text = this.GetInfoText("串口打开成功,PLC连接成功!", "label3Professional", "Info_Success");
|
||||
label3Professional.Text = this.GetInfoText("串口打开成功,PLC连接成功!", "label3Professional_Success");
|
||||
label3Professional.BackColor = Color.Lime;
|
||||
isPlcConnStatus = true;
|
||||
|
||||
@@ -233,7 +232,7 @@ namespace CleanMachineHMI
|
||||
else
|
||||
{
|
||||
//label3Professional.Text = "串口打开失败,PLC连接失败!";
|
||||
label3Professional.Text = this.GetInfoText("串口打开失败,PLC连接失败!", "label3Professional", "Info_Failed");
|
||||
label3Professional.Text = this.GetInfoText("串口打开失败,PLC连接失败!", "label3Professional_Failed");
|
||||
label3Professional.BackColor = Color.Red;
|
||||
isPlcConnStatus = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user