| | |
| | | [Serializable] |
| | | public class MapDimensions |
| | | { |
| | | |
| | | |
| | | [Category("4、视角")] |
| | | [DisplayName("中心")] |
| | | [Browsable(true)] |
| | |
| | | [Browsable(true)] |
| | | public double rotation { get; set; } = 0; |
| | | |
| | | |
| | | private double _rotationF; |
| | | [Category("4、视角")] |
| | | [DisplayName("俯视角度")] |
| | | [Browsable(true)] |
| | | public double rotationF { get; set; } = 90; |
| | | public double rotationF |
| | | { |
| | | get |
| | | { |
| | | if (Lock2DView) _rotationF = 90; |
| | | return _rotationF; |
| | | } |
| | | set |
| | | { |
| | | _rotationF = value; |
| | | if (Lock2DView) _rotationF = 90; |
| | | } |
| | | } |
| | | |
| | | [Category("4、视角")] |
| | | [DisplayName("显示楼层")] |
| | |
| | | public bool isShowPic { get; set; } = true; |
| | | |
| | | [Category("4、视角")] |
| | | [DisplayName("最不利点")] |
| | | [DisplayName("显示最不利点")] |
| | | [Browsable(true)] |
| | | public bool isShowUnfavor { get; set; } = true; |
| | | |
| | | [Browsable(false)] |
| | | public int NodeColourIndex { get; set; } = 0; |
| | | //[Browsable(false)] |
| | | //public int NodeColourIndex { get; set; } = 0; |
| | | |
| | | [Browsable(false)] |
| | | public int LinkColourIndex { get; set; } = 0; |
| | | //[Browsable(false)] |
| | | //public int LinkColourIndex { get; set; } = 0; |
| | | |
| | | [Category("4、视角")] |
| | | [DisplayName("锁定平面视角")] |
| | | [Browsable(true)] |
| | | public bool Lock2DView { get; set; }=false; |
| | | /// <summary> |
| | | /// 正交模式 |
| | | /// </summary> |
| | | public bool IsOrtho { get; set; } = true; |
| | | |
| | | /// <summary> |
| | | /// 显示的颜色分级 |
| | | /// </summary> |
| | | public ColourType ColourNode { get; set; } = ColourType.无; |
| | | public ColourType ColourLink { get; set; } = ColourType.无; |
| | | |
| | | |
| | | |
| | | public MapDimensions Copy() |
| | | { |