This commit is contained in:
gongxh
2021-12-27 14:36:49 +08:00
parent c6260156f8
commit 59eec06d5e
3 changed files with 53 additions and 21 deletions

View File

@@ -157,6 +157,7 @@ namespace CleanMachineHMI.FrmUserControl
string sqlQuerySheetType = $@"SELECT SHEET_TYPE_CODE,SHEET_TYPE_NAME FROM BAS_SHEET_TYPE WHERE USED_FLAG = 1 and DEL_FLAG = 0 ORDER BY SHEET_TYPE_ID";
DataTable dtQuerySheetType = LeadDbHelperSQLite.Query(sqlQuerySheetType).Tables[0];
kcmb_SheetType.DisplayMember = "Text";
if (dtQuerySheetType != null && dtQuerySheetType.Rows.Count > 0)
{
kcmb_SheetType.Items.Clear();
@@ -3131,7 +3132,8 @@ namespace CleanMachineHMI.FrmUserControl
{
if (isManualStatus())
{
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
KryptonMessageBox.Show("The manual operation interface has been opened and is currently in manual mode.");
return;
}