Commit 826f8a84 authored by apvrille's avatar apvrille

Adding info on params in sim tmlsendevent

parent 6ad205ba
......@@ -928,6 +928,11 @@ public class MappedSystemCTask {
functions += "ss << \"(\"";
for(int p=0; p<nbOfParams; p++) {
functions += " << " + paramArray[p];
if (!(paramArray[p].matches("^[-+]?\\d+(\\.\\d+)?$"))) {
if ((paramArray[p].compareTo("true") != 0) && (paramArray[p].compareTo("false") != 0)) {
functions += " << \"(" + paramArray[p] + ")\"";
}
}
if (p < nbOfParams - 1) {
functions += " << \",\"";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment