Add BeamShearCalculator

This commit is contained in:
Evgeny Redikultsev
2025-02-16 17:24:16 +05:00
parent f60d031f91
commit e4a23f5139
39 changed files with 1023 additions and 24 deletions

View File

@@ -13,15 +13,33 @@ namespace StructureHelperLogics.Models.BeamShears
public Guid Id { get; }
public List<IBeamShearAction> BeamShearActions { get; }
public List<IBeamShearAction> BeamShearActions {get;}
public List<ICalculator> Calculators { get; } = new();
public List<IBeamShearSection> ShearSections { get; } = new();
public List<IStirrup> Stirrups { get; } = new();
public List<ICalculator> Calculators { get; }
public BeamShearRepository(Guid id)
{
Id = id;
}
public void DeleteBeamShearAction(IBeamShearAction beamShearAction)
{
foreach (var calculator in Calculators)
{
if (calculator is IBeamShearCalculator beamShearCalculator)
{
var inputData = beamShearCalculator.InputData;
inputData.BeamShearActions.Remove(beamShearAction);
}
}
BeamShearActions.Remove(beamShearAction);
}
public object Clone()
{
throw new NotImplementedException();