duheng
2025-03-27 d2ccacb3317aa6310f1b1bb5eb19fbdecba39ff9
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
namespace Yw.WinFrmUI.HydroW3d
{
    /// <summary>
    /// 节点
    /// </summary>
    public class NodeViewModel : VisualViewModel
    {
        /// <summary>
        /// 
        /// </summary>
        public NodeViewModel() { }
 
        /// <summary>
        /// 
        /// </summary>
        public NodeViewModel(NodeViewModel rhs) : base(rhs)
        {
            this.Position = new Point3d(rhs.Position);
            this.LinkIds = new List<string>();
        }
 
        /// <summary>
        /// 位置
        /// </summary>
        [JsonProperty("Position", NullValueHandling = NullValueHandling.Ignore)]
        public Point3d Position { get; set; }
 
        /// <summary>
        /// 连接Ids
        /// </summary>
        [JsonProperty("LinkIds", NullValueHandling = NullValueHandling.Ignore)]
        public List<string> LinkIds { get; set; }
 
    }
}