| | |
| | | { |
| | | get |
| | | { |
| | | if (_newTemplate==null) _newTemplate = new Settings(); |
| | | if (_newTemplate.network == null) _newTemplate.network = new MapViewNetWork(); |
| | | return _newTemplate.network; |
| | | return null; |
| | | //if (_newTemplate==null) _newTemplate = new Settings(); |
| | | //if (_newTemplate.network == null) _newTemplate.network = new MapViewNetWork(); |
| | | //return _newTemplate.network; |
| | | } |
| | | } |
| | | #endregion |
| | |
| | | |
| | | private MapViewNetWork _network; |
| | | |
| | | public MapViewNetWork _Network |
| | | public MapViewNetWork Network |
| | | { |
| | | get |
| | | { |
| | |
| | | #endregion |
| | | #region 管网属性(辅助) |
| | | [Browsable(false)] |
| | | public List<NodeCalcModel> _Nodes |
| | | public List<Q3DNodeCalcModel> _Nodes |
| | | { |
| | | get { return _Network?.Nodes??new List<NodeCalcModel>(); } |
| | | get { return Network?.Nodes??new List<Q3DNodeCalcModel>(); } |
| | | |
| | | } |
| | | [Browsable(false)] |
| | | public List<LinkCalcModel> _Links |
| | | public List<Q3DLinkCalcModel> _Links |
| | | { |
| | | get { return _Network?.Links??new List<LinkCalcModel>(); } |
| | | get { return Network?.Links??new List<Q3DLinkCalcModel>(); } |
| | | |
| | | } |
| | | |