コード例 #1
0
 public ReinforcementModelPBAB(int Ø, int Number)
 {
     this.Ø      = Ø;
     armatura    = ReinforcementType.GetAramturaList().Single(n => n.diameter == Ø);
     this.Number = Number;
     this.Type   = ReinforcementType.GetArmatura().First();
 }
コード例 #2
0
 public ReinforcementModelPBAB(ReinforcementTabelModel armatura, int Number)
 {
     this.Ø        = armatura.diameter;
     this.armatura = armatura;
     this.Number   = Number;
     this.Type     = ReinforcementType.GetArmatura().First();
 }
コード例 #3
0
 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();
     }
 }