LimitCurveDiagram was repeired (didn't take into account constZ factor)
This commit is contained in:
@@ -37,7 +37,11 @@ namespace StructureHelperLogics.NdmCalculations.Analyses.ByForces
|
||||
{
|
||||
if (TraceLogger is not null)
|
||||
{
|
||||
logger = new ShiftTraceLogger() { ShiftPriority = 500, KeepErrorStatus = false };
|
||||
logger = new ShiftTraceLogger()
|
||||
{
|
||||
ShiftPriority = 500,
|
||||
KeepErrorStatus = false
|
||||
};
|
||||
//calculator.TraceLogger = logger; // too much results
|
||||
//ConvertLogic.TraceLogger = logger; //wrong work in different threads
|
||||
}
|
||||
|
||||
@@ -135,5 +135,22 @@ namespace StructureHelperLogics.NdmCalculations.Analyses.ByForces
|
||||
ActionToOutputResults?.Invoke(result);
|
||||
}
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
if (obj is null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (obj is LimitCurvesCalculator)
|
||||
{
|
||||
var item = obj as LimitCurvesCalculator;
|
||||
if (item.Id == Id)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
};
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user