User data for cracks were added

This commit is contained in:
Evgeny Redikultsev
2024-05-18 15:51:59 +05:00
parent b32a7ce7df
commit 845929406e
31 changed files with 925 additions and 175 deletions

View File

@@ -0,0 +1,24 @@
using StructureHelperCommon.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperLogics.NdmCalculations.Cracking
{
public class StabSoftetingLogic : ICrackSofteningLogic
{
private double stabSofteningValue;
public IShiftTraceLogger? TraceLogger { get; set; }
public StabSoftetingLogic(double stabSofteningValue)
{
this.stabSofteningValue = stabSofteningValue;
}
public double GetSofteningFactor()
{
TraceLogger?.AddMessage($"Constant value of softening factor PsiS = {stabSofteningValue}");
return stabSofteningValue;
}
}
}