minor progress

This commit is contained in:
rusefillc 2023-01-15 05:43:21 -05:00
parent 7851c7e32f
commit 32cbbc2565
1 changed files with 8 additions and 2 deletions

View File

@ -1,14 +1,20 @@
package com.rusefi.output; package com.rusefi.output;
import com.devexperts.logging.Logging;
import com.rusefi.ReaderState; import com.rusefi.ReaderState;
import java.io.*; import java.io.FileWriter;
import java.io.IOException;
import static com.devexperts.logging.Logging.getLogging;
/** /**
* TODO: We have to move either forward or backwards with newparse #4441 * TODO: We have to move either forward or backwards with newparse #4441
* [OutputChannels] * [OutputChannels]
*/ */
public class OutputsSectionConsumer implements ConfigurationConsumer { public class OutputsSectionConsumer implements ConfigurationConsumer {
private static final Logging log = getLogging(OutputsSectionConsumer.class);
private final String tsOutputsSectionFileName; private final String tsOutputsSectionFileName;
private final TsOutput tsOutput; private final TsOutput tsOutput;
private int sensorTsPosition; private int sensorTsPosition;
@ -28,7 +34,7 @@ public class OutputsSectionConsumer implements ConfigurationConsumer {
@Override @Override
public void handleEndStruct(ReaderState readerState, ConfigStructure structure) throws IOException { public void handleEndStruct(ReaderState readerState, ConfigStructure structure) throws IOException {
System.out.println("handleEndStruct"); log.info("handleEndStruct");
sensorTsPosition = tsOutput.run(readerState, structure, sensorTsPosition); sensorTsPosition = tsOutput.run(readerState, structure, sensorTsPosition);