qinjie
2023-12-02 c2fa168aff53d879f72412c94baa7be4998dae5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Hydro.Core.Model
{
    public class NodeModel : BaseModel
    {
        public NodeModel() { }
 
        public NodeModel(NodeModel model) : base(model)
        {
            this.X = model.X;
            this.Y = model.Y;
            this.Elev = model.Elev;
        }
        public virtual float X { get; set; }
 
        public virtual float Y { get; set; }
 
 
        /// <summary>
        /// 标高
        /// </summary>
        public virtual float Elev { get; set; }
 
        
 
        public virtual string ToCoorString()
        {
            return $"{ID}\t{X}\t{Y}";
        }
    }
}