TableCell class was added
This commit is contained in:
@@ -58,19 +58,19 @@ namespace StructureHelperLogics.NdmCalculations.Analyses.ByForces
|
||||
TraceLogger?.AddMessage($"Point count {PointCount}");
|
||||
surroundList = SurroundProcLogic.GetPoints();
|
||||
TraceLogger?.AddMessage($"There are {surroundList.Count()} point prepared for calculation");
|
||||
if (TraceLogger is not null)
|
||||
{
|
||||
AddTAbleToTraceLoggerByPoints(surroundList);
|
||||
}
|
||||
TraceLogger?.AddEntry(
|
||||
new TraceTablesFactory(
|
||||
TraceLoggerStatuses.Info, TraceLogger.ShiftPriority)
|
||||
.GetTableByPoint2D(surroundList));
|
||||
try
|
||||
{
|
||||
limitCurveLogic.ActionToOutputResults = GetCurrentStepNumber;
|
||||
factoredList = limitCurveLogic.GetPoints(surroundList);
|
||||
TraceLogger?.AddMessage($"Solution was successfully obtained for {factoredList.Count()} point");
|
||||
if (TraceLogger is not null)
|
||||
{
|
||||
AddTAbleToTraceLoggerByPoints(factoredList);
|
||||
}
|
||||
TraceLogger?.AddEntry(
|
||||
new TraceTablesFactory(
|
||||
TraceLoggerStatuses.Info, TraceLogger.ShiftPriority)
|
||||
.GetTableByPoint2D(factoredList));
|
||||
result.Points = factoredList;
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -81,13 +81,6 @@ namespace StructureHelperLogics.NdmCalculations.Analyses.ByForces
|
||||
}
|
||||
}
|
||||
|
||||
private void AddTAbleToTraceLoggerByPoints(IEnumerable<IPoint2D> pointList)
|
||||
{
|
||||
var table = TraceLoggerTableByPointsFactory.GetTableByPoint2D(pointList);
|
||||
table.Priority = LoggerService.GetPriorityByStatus(TraceLoggerStatuses.Info) + TraceLogger.ShiftPriority;
|
||||
TraceLogger.AddEntry(table);
|
||||
}
|
||||
|
||||
private void GetCurrentStepNumber(IResult calcResult)
|
||||
{
|
||||
if (calcResult is not FindParameterResult)
|
||||
|
||||
Reference in New Issue
Block a user