lixiaojun
2024-09-11 ec0d0b6f8e3ac7791c736ae8aad69c4a1587cad9
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/04-dlg/AddProjectDlg.cs
@@ -1,4 +1,6 @@
namespace HStation.WinFrmUI.Xhs
using HStation.Vmo;
namespace HStation.WinFrmUI.Xhs
{
    public partial class AddProjectDlg : DevExpress.XtraEditors.XtraForm
    {
@@ -14,7 +16,7 @@
            await this.mapSetSimpleMarkerContainer1.InitialContainer();
        }
        public event Func<Vmo.Xhs.XhsProjectExtensions, Yw.Vmo.Map.MapInfo, Task<bool>> ReloadDataEvent;
        public event Func<XhsProjectExtensionsVmo, Yw.Vmo.Map.MapInfo, Task<bool>> ReloadDataEvent;
        private Yw.Model.Map.Marker _maker = null; //地图点信息
@@ -49,15 +51,15 @@
        {
            if (!Valid())
                return;
            var model = new Vmo.Xhs.XhsProjectExtensions();
            var model = new XhsProjectExtensionsVmo();
            model.Address = this.TextAddress.Text.Trim();
            model.Customer = this.TextCustomerName.Text.Trim();
            model.Description = this.TextDescription.Text.Trim();
            model.Name = this.TextProjectName.Text.Trim();
            model.TagName = this.TextTagName.Text.Trim();
            model.SiteList = new List<Vmo.Xhs.XhsProjectSite>
            model.SiteList = new List<XhsProjectSiteVmo>
            {
                new Vmo.Xhs.XhsProjectSite
                new XhsProjectSiteVmo
                {
                    Name=this.TextProjectName.Text,
                    Description=this.TextDescription.Text,