| | |
| | | using PBS.Model; |
| | | using PBS.Vmo; |
| | | |
| | | namespace PBS.WinFrmUI |
| | | { |
| | |
| | | return isExist; |
| | | } |
| | | |
| | | public PlaceHospitalParasInfo GetData() |
| | | public PlaceHospitalParasInfoVmo GetData() |
| | | { |
| | | if (!Valid()) |
| | | { |
| | | return null; |
| | | } |
| | | var m = new PlaceHospitalParasInfo() |
| | | var m = new PlaceHospitalParasInfoVmo() |
| | | { |
| | | /* Address = txtAddress.Text, |
| | | Area = (long?)this.cbArea.EditValue, |
| | |
| | | return m; |
| | | } |
| | | |
| | | public void SetData(PlaceHospitalParasInfo model) |
| | | public void SetData(PlaceHospitalParasInfoVmo model) |
| | | { |
| | | if (model == null) return; |
| | | /* txtAddress.Text = model.Address; |