修改结构

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

@@ -289,7 +289,7 @@ namespace CleanMachineHMI.FrmUserControl
}
catch (Exception ex)
{
KryptonMessageBox.Show(this.GetInfoText("主业务界面加载发生异常", "LoadMainDetailFrmExp") + $":【{ex.Message}】!");
KryptonMessageBox.Show(this.T("主业务界面加载发生异常", "LoadMainDetailFrmExp") + $":【{ex.Message}】!");
LogHelper.WriteLog($"1111【{ex.Message}】", LogTypeEum.Err);
}
}
@@ -1584,19 +1584,19 @@ namespace CleanMachineHMI.FrmUserControl
if (string.IsNullOrEmpty(kcmb_SheetType.Text.Trim()))
{
//KryptonMessageBox.Show("请输入板材类型信息!!");
KryptonMessageBox.Show(this.GetInfoText("请输入板材类型信息!", "EnterSheetTypeInfo"));
KryptonMessageBox.Show(this.T("请输入板材类型信息!", "EnterSheetTypeInfo"));
return;
}
if (string.IsNullOrEmpty(ktb_IR.Text.Trim()))
{
//KryptonMessageBox.Show("请输入IR收货编号信息!!");
KryptonMessageBox.Show(this.GetInfoText("请输入IR收货编号信息!", "EnterIRMsgInfo"));
KryptonMessageBox.Show(this.T("请输入IR收货编号信息!", "EnterIRMsgInfo"));
return;
}
if (!kdtp_RecordDate.Checked)
{
//KryptonMessageBox.Show("请选择录入时间!!");
KryptonMessageBox.Show(this.GetInfoText("请选择录入时间!", "EnterInputTimeInfo"));
KryptonMessageBox.Show(this.T("请选择录入时间!", "EnterInputTimeInfo"));
return;
}
//string sqlWorkPallet = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0";
@@ -1873,7 +1873,7 @@ namespace CleanMachineHMI.FrmUserControl
catch (Exception ex)
{
//KryptonMessageBox.Show("保存IR数据发生异常!" + ex.Message);
KryptonMessageBox.Show(this.GetInfoText("保存作业板材和IR数据发生异常", "SaveSheetIRDataExp") + $":【{ex.Message}】!");
KryptonMessageBox.Show(this.T("保存作业板材和IR数据发生异常", "SaveSheetIRDataExp") + $":【{ex.Message}】!");
}
}
@@ -2320,7 +2320,7 @@ namespace CleanMachineHMI.FrmUserControl
{
if (ktb_IR.Enabled)
{
KryptonMessageBox.Show(this.GetInfoText("当前没有作业中的IR信息!", "CurrWorkingIsNoIrMsg"));
KryptonMessageBox.Show(this.T("当前没有作业中的IR信息!", "CurrWorkingIsNoIrMsg"));
}
else
{