| | |
| | | using Yw.Model; |
| | | |
| | | namespace Yw.WinFrmUI |
| | | namespace Yw.WinFrmUI |
| | | { |
| | | /// <summary> |
| | | /// 管道视图 |
| | |
| | | this.UpdatePropStatus(nameof(this.Material), this.Vmo, nameof(this.Vmo.Material)); |
| | | this.Diameter = this.Vmo.Diameter; |
| | | this.UpdatePropStatus(nameof(this.Diameter), this.Vmo, nameof(this.Vmo.Diameter)); |
| | | this.Length = this.Vmo.Length; |
| | | this.Length = Math.Round(this.Vmo.Length, 4); |
| | | this.UpdatePropStatus(nameof(this.Length), this.Vmo, nameof(this.Vmo.Length)); |
| | | this.Roughness = this.Vmo.Roughness; |
| | | this.UpdatePropStatus(nameof(this.Roughness), this.Vmo, nameof(this.Vmo.Roughness)); |