Exemplo n.º 1
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, DeckSolidSlabProperties properties)
 {
     apiAreaSection.SetDeckSolidSlab(
         name,
         properties.SlabDepth,
         properties.ShearStudDiameter,
         properties.ShearStudHeight,
         properties.ShearStudFu);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, ShellDesignProperties properties)
 {
     apiAreaSection.SetShellDesign(name,
                                   properties.MaterialName,
                                   properties.RebarLayout,
                                   properties.CoverTopDirection1,
                                   properties.CoverTopDirection2,
                                   properties.CoverBottomDirection1,
                                   properties.CoverBottomDirection2);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, SlabWaffleProperties properties)
 {
     apiAreaSection.SetSlabWaffle(
         name,
         properties.OverallDepth,
         properties.SlabThickness,
         properties.StemWidthTop,
         properties.StemWidthBottom,
         properties.RibSpacingLocal1,
         properties.RibSpacingLocal2);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, SlabRibbedProperties properties)
 {
     apiAreaSection.SetSlabRibbed(
         name,
         properties.OverallDepth,
         properties.SlabThickness,
         properties.StemWidthTop,
         properties.StemWidthBottom,
         properties.RibSpacing,
         properties.RibsParallelToAxis);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, DeckUnfilledProperties properties)
 {
     apiAreaSection.SetDeckUnfilled(
         name,
         properties.RibDepth,
         properties.RibWidthTop,
         properties.RibWidthBottom,
         properties.RibSpacing,
         properties.ShearThickness,
         properties.UnitWeight);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, ShellProperties properties)
 {
     _apiAreaSection.SetShell(name,
                              properties.ShellType,
                              properties.IncludeDrillingDOF,
                              properties.MaterialName,
                              properties.MaterialAngle,
                              properties.MembraneThickness,
                              properties.BendingThickness,
                              properties.GeneralData.Color,
                              properties.GeneralData.Notes,
                              properties.GeneralData.GUID);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, DeckFilledProperties properties)
 {
     apiAreaSection.SetDeckFilled(
         name,
         properties.SlabFill.SlabDepth,
         properties.SlabFill.ShearStudDiameter,
         properties.SlabFill.ShearStudHeight,
         properties.SlabFill.ShearStudFu,
         properties.Form.RibDepth,
         properties.Form.RibWidthTop,
         properties.Form.RibWidthBottom,
         properties.Form.RibSpacing,
         properties.Form.ShearThickness,
         properties.Form.UnitWeight);
 }
Exemplo n.º 8
0
 /// <summary>
 /// Sets the API.
 /// </summary>
 /// <param name="apiAreaSection">The API area section.</param>
 /// <param name="name">The name.</param>
 /// <param name="properties">The properties.</param>
 protected static void setApi(ApiAreaSection apiAreaSection, string name, ShellLayeredProperties properties)
 {
     apiAreaSection.SetShellLayer(name,
                                  properties.Layers.Select(p => p.LayerName).ToArray(),
                                  properties.Layers.Select(p => p.DistanceOffset).ToArray(),
                                  properties.Layers.Select(p => p.Thickness).ToArray(),
                                  properties.Layers.Select(p => p.LayerType).ToArray(),
                                  properties.Layers.Select(p => p.NumberOfIntegrationPoints).ToArray(),
                                  properties.Layers.Select(p => p.MaterialName).ToArray(),
                                  properties.Layers.Select(p => p.MaterialAngle).ToArray(),
                                  properties.Layers.Select(p => p.S11Type).ToArray(),
                                  properties.Layers.Select(p => p.S22Type).ToArray(),
                                  properties.Layers.Select(p => p.S12Type).ToArray()
                                  );
 }