Change open and save file logic
This commit is contained in:
@@ -74,9 +74,9 @@ namespace StructureHelperLogics.NdmCalculations.Cracking
|
||||
CrackWidthRebarTupleResult longRebarResult = ProcessLongTermCalculations();
|
||||
CrackWidthRebarTupleResult shortRebarResult = ProcessShortTermCalculations();
|
||||
result.LongTermResult = longRebarResult;
|
||||
TraceLogger?.AddMessage("Long term result has been obtained succesfully", TraceLogStatuses.Debug);
|
||||
TraceLogger?.AddMessage("Long term result has been obtained successfully", TraceLogStatuses.Debug);
|
||||
result.ShortTermResult = shortRebarResult;
|
||||
TraceLogger?.AddMessage("Short term result has been obtained succesfully", TraceLogStatuses.Debug);
|
||||
TraceLogger?.AddMessage("Short term result has been obtained successfully", TraceLogStatuses.Debug);
|
||||
}
|
||||
|
||||
private CrackWidthRebarTupleResult ProcessShortTermCalculations()
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace StructureHelperLogics.NdmCalculations.Cracking
|
||||
throw new StructureHelperException(errorString);
|
||||
return false;
|
||||
}
|
||||
TraceLogger?.AddMessage($"Checking parameters has done succefully", TraceLogStatuses.Service);
|
||||
TraceLogger?.AddMessage($"Checking parameters has done successfully", TraceLogStatuses.Service);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user