lixiaojun
2025-02-19 eabeb23dba205de82d8d64c9fc361d3d7b95588d
WinFrmUI/HStation.WinFrmUI.Assets.Core/21-compressor/02-main/EditAssetsCompressorMainDlg.cs
@@ -1,14 +1,4 @@
using DevExpress.XtraEditors;
using HStation.Vmo;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data;
using Yw;
namespace HStation.WinFrmUI
@@ -60,19 +50,9 @@
                this.dxErrorProvider1.SetError(this.txtName, "必填项");
                return false;
            }
            if (string.IsNullOrEmpty(this.txtMaterial.Text.Trim()))
            {
                this.dxErrorProvider1.SetError(this.txtMaterial, "必填项");
                return false;
            }
            if (string.IsNullOrEmpty(this.txtMinorLoss.Text.Trim()))
            {
                this.dxErrorProvider1.SetError(this.txtMinorLoss, "必填项");
                return false;
            }
            if (string.IsNullOrEmpty(this.txtLowerLimit.Text.Trim()))
            {
                this.dxErrorProvider1.SetError(this.txtLowerLimit, "必填项");
                return false;
            }
            var tagname = this.txtTagName.Text.Trim();
@@ -118,11 +98,5 @@
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}