Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

Corrected access to GraphWriter in Test Projects when TRACE flag is off.

parent 22a0d7d1
Branches
Tags
No related merge requests found
......@@ -52,7 +52,7 @@ namespace TUGraz.VectoCore.ModelbasedTests.DriverStrategy
#if TRACE
graphWriter.Enable();
#else
GraphWriter.Disable();
graphWriter.Disable();
#endif
graphWriter.Xfields = new[] { ModalResultField.dist };
......@@ -61,7 +61,7 @@ namespace TUGraz.VectoCore.ModelbasedTests.DriverStrategy
ModalResultField.v_act, ModalResultField.acc, ModalResultField.n_eng_avg, ModalResultField.Gear,
ModalResultField.P_eng_out, /*ModalResultField.T_eng_fcmap, */ ModalResultField.FCMap,
};
GraphWriter.PlotDrivingMode = true;
graphWriter.PlotDrivingMode = true;
graphWriter.Series1Label = "Vecto 3";
return graphWriter;
}
......
......@@ -54,7 +54,7 @@ namespace TUGraz.VectoCore.ModelbasedTests.DriverStrategy
#if TRACE
graphWriter.Enable();
#else
GraphWriter.Disable();
graphWriter.Disable();
#endif
graphWriter.Xfields = new[] { ModalResultField.time, ModalResultField.dist };
......
......@@ -71,7 +71,7 @@ namespace TUGraz.VectoCore.Tests.Integration.BatteryElectric
graphWriter.Enable();
//#else
//GraphWriter.Disable();
//graphWriter.Disable();
//#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment