mirror of https://github.com/rusefi/rusefi-1.git
.logicdata files are a bit broken #1482
This commit is contained in:
parent
6977a7ec39
commit
d89f9b5165
|
@ -0,0 +1,19 @@
|
||||||
|
package com.rusefi.stream;
|
||||||
|
|
||||||
|
import com.rusefi.composite.CompositeEvent;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class LogicdataStreamFileSandbox {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
List<CompositeEvent> events = new ArrayList<>();
|
||||||
|
events.add(new CompositeEvent(10, false, false, false, false, false, false));
|
||||||
|
events.add(new CompositeEvent(20, true, false, true, false, false, false));
|
||||||
|
events.add(new CompositeEvent(30, false, false, false, false, false, false));
|
||||||
|
|
||||||
|
LogicdataStreamFile file = new LogicdataStreamFile("sandbox.logicdata");
|
||||||
|
file.append(events);
|
||||||
|
file.close();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue