去除每个页面的 语言datatable
This commit is contained in:
@@ -18,9 +18,7 @@ namespace CleanMachineHMI.frmChild
|
||||
public frmSwitchRunDirection()
|
||||
{
|
||||
InitializeComponent();
|
||||
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
|
||||
}
|
||||
private DataTable _InfoLanguageTextList;
|
||||
|
||||
private void frmSwitchRunDirection_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -28,7 +26,7 @@ namespace CleanMachineHMI.frmChild
|
||||
{
|
||||
this.SetFormControlText();
|
||||
int directNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("DischargeDirectionSelection", PlcItemTypeDesc.D));
|
||||
if (GlobalHelper.LanguageCode == "English")
|
||||
if (GlobalHelper.LanguageCode != "zh-CN")
|
||||
{
|
||||
if (directNum == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user