qin
2024-05-06 20b138393ab0d441ee6b9e9b1cedbf1d22a2c00c
Hydraulic/Hydro.Core/Base/LinkCalcModel.cs
@@ -1,4 +1,5 @@
using System;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
@@ -108,14 +109,16 @@
            }
        }
        private NodeCalcModel _StartNode;
        [JsonIgnore]
        public NodeCalcModel StartNode { 
            get { return _StartNode; } 
            set { _StartNode = value; if (_StartNode != null) this.Node1 = _StartNode.ID; } 
        }
        private NodeCalcModel _EndNode;
        [JsonIgnore]
        public NodeCalcModel EndNode { 
            get { return _EndNode; } 
            set { _EndNode = value; if (_EndNode!=null)this.Node2 = _EndNode.ID; } 
@@ -184,6 +187,12 @@
        [DisplayName("选中")]
        [Browsable(false)]
        public bool Selected { get; set; }
        [Category("4、其他参数")]
        [Description("鼠标悬于上方")]
        [DisplayName("鼠标悬于上方")]
        [Browsable(false)]
        public bool Hovered { get; set; }
    }