ningshuxia
2025-03-28 ce9752fd657c6689ea64929eb962146e2730624e
WinFrmUI/PBS.WinFrmUI.Hydro/02-quick-modeling/02-place/info/BuildPlaceInfoCtrl.cs
@@ -7,7 +7,6 @@
            InitializeComponent();
        }
        private PlaceBuildParasInfoVmo _model = null; 
        public void Set(string info)
@@ -40,7 +39,8 @@
            _model.CompletionTime = txtCompletionTime.Text;
            _model.Developer = txtDeveloper.Text; 
            _model.PropertyType = cbPropertyType.SelectedIndex;
            if (cbPropertyType.EditValue != null)
                _model.PropertyType = (ePropertyType)cbPropertyType.EditValue;
            if (string.IsNullOrEmpty(this.txtAreaSquare.Text) || !double.TryParse(this.txtAreaSquare.Text, out double areaSquare))
            {
@@ -69,7 +69,6 @@
                _model.PlotRatio = plotRatio;
            }
            if (string.IsNullOrEmpty(this.txtProperTyYears.Text) || !int.TryParse(this.txtProperTyYears.Text, out int properTyYears))
            {
                _model.ProperTyYears = 0;
@@ -90,9 +89,5 @@
            return _model.ToJson();
        }
    }
}