コード例 #1
0
ファイル: RebarSection.cs プロジェクト: jerem48/Wosad.Design
 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
ファイル: RebarSection.cs プロジェクト: Wosad/Wosad.Design
 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;
         } 
     }
 }