Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit ed49ec71 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

corrected parameters for Log Message (Transmission Loss Map is not valid, VECTO-1481)

parent 843b0543
No related branches found
No related tags found
No related merge requests found
......@@ -78,9 +78,12 @@ namespace TUGraz.VectoCore.InputData.Reader.ComponentData
entries = CreateFromColumnNames(data);
} else {
LoggingObject.Logger<TransmissionLossMap>().Warn(
"TransmissionLossMap {5}: Header line is not valid. Expected: '{0}, {1}, {2}'. Got: '{4}'. Falling back to column index.",
Fields.InputSpeed, Fields.InputTorque, Fields.TorqeLoss,
string.Join(", ", data.Columns.Cast<DataColumn>().Select(c => c.ColumnName).Reverse()), gearName);
"TransmissionLossMap {0}: Header line is not valid. Expected: '{1}, {2}, {3}'. Got: '{4}'. Falling back to column index.",
gearName,
Fields.InputSpeed,
Fields.InputTorque,
Fields.TorqeLoss,
data.Columns.Cast<DataColumn>().Select(c => c.ColumnName).JoinString());
entries = CreateFromColumIndizes(data);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment