Exemplo n.º 1
0
 private void CalculateProperties()
 {
     if (DesignationSet == true)
     {
         RebarSectionFactory factory = new RebarSectionFactory();
         RebarSection        sec     = factory.GetRebarSection(Designation);
         if (sec != null)
         {
             this.A  = sec.A;
             this.db = sec.Diameter;
         }
     }
 }
Exemplo n.º 2
0
 private void CalculateProperties()
 {
     if (DesignationSet==true)
     {
         RebarSectionFactory factory = new RebarSectionFactory();
         RebarSection sec = factory.GetRebarSection(Designation);
         if (sec != null)
         {
             this.A = sec.A;
             this.db = sec.Diameter;
         } 
     }
 }