Add import of forces from excel

This commit is contained in:
Evgeny Redikultsev
2025-01-11 21:58:58 +05:00
parent 932f87f566
commit 690af15e2a
43 changed files with 843 additions and 166 deletions

View File

@@ -4,6 +4,7 @@ using StructureHelperCommon.Infrastructures.Settings;
using StructureHelperCommon.Models;
using StructureHelperCommon.Models.Calculators;
using StructureHelperCommon.Models.Forces;
using StructureHelperCommon.Models.Forces.Logics;
using StructureHelperLogics.NdmCalculations.Cracking;
using System;
using System.Collections.Generic;
@@ -66,9 +67,24 @@ namespace StructureHelperLogics.NdmCalculations.Analyses.ByForces
result = false;
}
CheckAccuracy();
CheckActions();
return result;
}
private void CheckActions()
{
var checkLogic = new CheckForceActionsLogic()
{
Entity = InputData.ForceActions,
TraceLogger = TraceLogger
};
if (checkLogic.Check() == false)
{
result = false;
}
TraceMessage(checkLogic.CheckResult);
}
private void CheckAccuracy()
{
checkAccuracyLogic.Entity = InputData.Accuracy;