This commit is contained in:
gongxh
2022-05-06 12:28:16 +08:00
parent c57ca69dfd
commit 0e459f231a
49 changed files with 458 additions and 388 deletions

View File

@@ -165,7 +165,7 @@ namespace CleanMachineHMI.FrmUserControl
{
item.Enabled = GlobalHelper.CheckRole(this.Name, item.Name);
item.Enabled = Global.CheckRole(this.Name, item.Name);
//DataRow[] drs = GlobalHelper.RoleMenuPermission.Select($" MENU_URL = '{this.Name}' AND MENU_PID = '-1'");
//DataRow[] drs1 = GlobalHelper.RoleMenuPermission.Select($" MENU_URL = '{item.Name}' AND MENU_PID = '{drs[0]["MENU_ID"]}'");
//if (drs1.Length > 0)
@@ -600,7 +600,7 @@ namespace CleanMachineHMI.FrmUserControl
string userName = dt.Rows[0]["USER_NAME"].ToString();
DateTime dateMsg = Convert.ToDateTime(dt.Rows[0]["INPUT_TIME"]);
string IRNumber = dt.Rows[0]["IR_CODE"].ToString();
string MacCode = GlobalHelper.MacCode; //GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'CleanMachineName'")[0]["PARAMETER_VALUE"].ToString();
string MacCode = Global.MacCode; //GlobalHelper.ParameterList.Select(" PARAMETER_CODE = 'CleanMachineName'")[0]["PARAMETER_VALUE"].ToString();
string sqlCleanedNum = $@"
SELECT