Shuxia Ning
2024-12-20 1bf6b7a300e21e9b8996f9ebeeb55a1eccda7a02
WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/03-import/01-excel/UniversalChartExcelImportCtrl.cs
@@ -37,13 +37,17 @@
            var ds_stirng = pt_list.ToDbString(_curve_type, feat_type);
            if (string.IsNullOrEmpty(ds_stirng))
                return default;
            var geometry_paras = new HStation.Model.FeatCurveGeometryParasModel();
            geometry_paras.DefinePoints = pt_list;
            var vmo = new Yw.Vmo.PhartDiagramExGraphListVmo();
            vmo.DiagramType = (int)HStation.PhartRelation.eDiagramType.Feat;
            vmo.GraphList = new List<Yw.Vmo.PhartGraphVmo>()
            {
                new Yw.Vmo.PhartGraphVmo()
                new ()
                {
                      GraphType =(int) _curve_type,
                      GraphType =(int) _curve_type,
                      GeometryParas= geometry_paras.ToJson(),
                      GeometryStyle = (int) HStation.PhartRelation.eGeometryStyle.FeatCurve,
                      GeometryInfo = ds_stirng
                }