| | |
| | | using DevExpress.DataProcessing.InMemoryDataProcessor; |
| | | using DevExpress.Utils.Extensions; |
| | | using System.Windows.Media.Animation; |
| | | using Yw; |
| | | using Yw.WinFrmUI; |
| | | |
| | | namespace PBS.WinFrmUI |
| | |
| | | map.SetMarkerEvent += Map_SetMarkerEvent; |
| | | await map.InitialContainer(); |
| | | this.sidePanel1.AddControl(map); |
| | | var allFlagsList = await BLLFactory<Yw.BLL.SysFlag>.Instance.GetBySysType(DataType.PBSPlace); |
| | | this.setFlagsEditCtrl1.SetBindingData(allFlagsList?.Select(x => x.Name).Distinct().ToList(), null); |
| | | } |
| | | |
| | | //更改点后 |
| | |
| | | _placeVmo.Name = txtEditName.Text.Trim(); |
| | | _placeVmo.Address = textEditAddress.Text.Trim(); |
| | | _placeVmo.UseStatus = Yw.Vmo.eUseStatus.Enable; |
| | | _placeVmo.Description = memoEditDescription.Text.Trim(); |
| | | _placeVmo.Flags = this.setFlagsEditCtrl1.SelectedFlagList; |
| | | _placeVmo.TagName = this.txtTagName.Text.Trim(); |
| | | _mapInfo.ObjectType = PBS.DataType.PBSPlace; |
| | | _mapInfo.ObjectName = _placeVmo.Name; |
| | | _mapInfo.Purpose = Yw.Map.Purpose.Location; |