修改结构

This commit is contained in:
gongxh
2021-12-31 19:53:53 +08:00
parent 31fe9e834a
commit 7321539b72
41 changed files with 1828 additions and 211 deletions

View File

@@ -49,6 +49,7 @@ namespace CleanMachineHMI.frmChild
this.SetFormControlText(GlobalHelper.LanguageCode);
string sql = $@"select CONTAMINATION_TYPE_CODE,CONTAMINATION_TYPE_NAME from BAS_CONTAMINATION_TYPE where DEL_FLAG=0";
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
cmbContaminationType.DisplayMember = "Text";
if (dt != null && dt.Rows.Count > 0)
{
cmbContaminationType.Items.Add(new ListItem

View File

@@ -49,6 +49,7 @@ namespace CleanMachineHMI.frmChild
this.SetFormControlText(GlobalHelper.LanguageCode);
string sql = $@"select CLEAN_MODE_CODE,CLEAN_MODE_NAME from BAS_CLEAN_MODE where DEL_FLAG=0";
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
cmbCleanMode.DisplayMember = "Text";
if (dt != null && dt.Rows.Count > 0)
{
cmbCleanMode.Items.Add(new ListItem

View File

@@ -63,6 +63,8 @@ namespace CleanMachineHMI.frmChild
}
string sql = $"SELECT ROLE_ID,ROLE_CODE,ROLE_NAME FROM SYS_ROLE ";
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
kcmb_Role.DisplayMember = "Text";
kcmb_Role.DisplayMember = "Text";
if (dt != null && dt.Rows.Count > 0)
{
kcmb_Role.Items.Clear();