qin
2025-03-19 342b10ed5f4ebbccf2d2868d211fbe91cf3e8d5d
WinFrmUI/PBS.WinFrmUI/02-facility/00-core/FacilitiesCtrl.cs
@@ -71,8 +71,8 @@
        public async Task SetBindingData()
        {
            this.textEditWaterModel.Properties.AddEnum(typeof(HStation.PBS.eSupplyMode));
            this.comboBoxWaterSupply.Properties.AddEnum(typeof(HStation.PBS.eWaterSupply));
            this.textEditWaterModel.Properties.AddEnum(typeof(PBS.eSupplyMode));
            this.comboBoxWaterSupply.Properties.AddEnum(typeof(PBS.eWaterSupply));
            var allPackages = await new HStation.BLL.AssetsPackageMain().GetAll();
            foreach (var item in allPackages)
            {
@@ -108,7 +108,7 @@
            _facilityVmo.Name = txtName.Text;
            if (this.textEditWaterModel.EditValue != null)
            {
                _facilityVmo.SupplyMode = (HStation.PBS.eSupplyMode)this.textEditWaterModel.EditValue;
                _facilityVmo.SupplyMode = (PBS.eSupplyMode)this.textEditWaterModel.EditValue;
            }
            _facilityVmo.UseStatus = Yw.Vmo.eUseStatus.Enable;
            _facilityVmo.FloorHeight = double.Parse(txtFloorHeight.Text);
@@ -126,7 +126,7 @@
            }
            if (comboBoxWaterSupply.EditValue != null)
            {
                _facilityVmo.WaterSupply = (HStation.PBS.eWaterSupply)comboBoxWaterSupply.EditValue;
                _facilityVmo.WaterSupply = (PBS.eWaterSupply)comboBoxWaterSupply.EditValue;
            }
            return _facilityVmo;
        }