Пример #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;
         }
     }
 }
Пример #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;
         } 
     }
 }