Beam shear load views have been created;

This commit is contained in:
Evgeny Redikultsev
2025-03-15 21:22:03 +05:00
parent 382ff6ed36
commit e5d33351e2
39 changed files with 765 additions and 42 deletions

View File

@@ -1,4 +1,6 @@
using StructureHelperCommon.Infrastructures.Enums;
using StructureHelperCommon.Infrastructures.Interfaces;
using StructureHelperCommon.Models.Forces.Logics;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -10,6 +12,7 @@ namespace StructureHelperCommon.Models.Forces
/// <inheritdoc/>
public class FactoredCombinationProperty : IFactoredCombinationProperty
{
private IUpdateStrategy<IFactoredCombinationProperty> updateStrategy;
/// <inheritdoc/>
public Guid Id { get; }
/// <inheritdoc/>
@@ -25,9 +28,13 @@ namespace StructureHelperCommon.Models.Forces
{
Id = id;
}
public FactoredCombinationProperty() : this(Guid.NewGuid())
public object Clone()
{
FactoredCombinationProperty factoredCombinationProperty = new(Guid.NewGuid());
updateStrategy ??= new FactoredCombinationPropertyUpdateStrategy();
updateStrategy.Update(factoredCombinationProperty, this);
return factoredCombinationProperty;
}
}
}