public ReinforcementModelPBAB(int Ø, int Number) { this.Ø = Ø; armatura = ReinforcementType.GetAramturaList().Single(n => n.diameter == Ø); this.Number = Number; this.Type = ReinforcementType.GetArmatura().First(); }
public ReinforcementModelPBAB(ReinforcementTabelModel armatura, int Number) { this.Ø = armatura.diameter; this.armatura = armatura; this.Number = Number; this.Type = ReinforcementType.GetArmatura().First(); }
public ReinforcementModelEC(int Ø, int Number, ReinforcementTypeModelEC Type = null) { this.Ø = Ø; armatura = ReinforcementType.GetAramturaList().Single(n => n.diameter == Ø); this.Number = Number; if (Type == null) { this.Type = ReinforcementType.GetArmatura().First(); } }