using FeMM.Common.Models;
using System;
using System.Runtime.Versioning;
namespace FeMM.Grasshopper.Components.Design
{
#if NETCOREAPP
[SupportedOSPlatform("windows")]
#endif
public class BeamAS4100SteelComponent : BeamDesignOverrideComponent
{
/// <summary>
/// Initializes a new instance of the MixedSectionComponent class.
/// </summary>
public BeamAS4100SteelComponent()
: base("Beam AS4100 steel", "BAS4100S", "Beam overrides according to AS4100 with SAP2000")
{
}
protected override System.Windows.Forms.Form GetForm(object data)
{
return new Forms.BeamAS4100SteelForm((BeamAS4100SteelAttributeModel.AttributeData)data);
}
protected override object GetData(System.Windows.Forms.Form form)
{
return ((Forms.BeamAS4100SteelForm)form).Data;
}
protected override AttributeModel GetOverrideAttribute(object data)
{
return new BeamAS4100SteelAttributeModel((BeamAS4100SteelAttributeModel.AttributeData)data);
}
/// <summary>
/// Provides an Icon for the component.
/// </summary>
protected override System.Drawing.Bitmap Icon => Properties.Resources.BeamAS4100SteelIcon;
/// <summary>
/// Gets the unique ID for this component. Do not change this ID after release.
/// </summary>
public override Guid ComponentGuid => new("DFBD9B76-BCC7-4E18-BE70-D39C21B97C62");
}
}