happy new year
This commit is contained in:
parent
ae7124547e
commit
63ab889e2f
|
@ -11,7 +11,7 @@ import static com.rusefi.Timeouts.SECOND;
|
|||
|
||||
/**
|
||||
* this test connects to real hardware via serial port
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/22/2015
|
||||
*/
|
||||
public class RealHwTest {
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.function.Consumer;
|
|||
|
||||
/**
|
||||
* 3/18/14
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class SimulatorExecHelper {
|
||||
// see also SimulatorHelper
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.awt.event.WindowEvent;
|
|||
|
||||
/**
|
||||
* Date: 3/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class FrameHelper {
|
||||
private final JFrame frame = new JFrame();
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
|
|||
import java.nio.ByteOrder;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class ConfigurationImage {
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 1/17/2016.
|
||||
*/
|
||||
public class DialogModel {
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/1/2017
|
||||
*/
|
||||
public class IniFileMetaInfo {
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.io.*;
|
|||
import java.util.*;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 12/23/2015.
|
||||
*/
|
||||
public class IniFileModel {
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/1/2017
|
||||
*/
|
||||
public class IniFileReader {
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.jetbrains.annotations.Nullable;
|
|||
import java.util.*;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/1/2017
|
||||
*/
|
||||
public class RawIniFile {
|
||||
|
|
|
@ -14,7 +14,7 @@ import java.io.ByteArrayInputStream;
|
|||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/1/2017
|
||||
*/
|
||||
public class IniFileReaderTest {
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.rusefi.core.Pair;
|
|||
* This class has the logic of finding all ranges of changes between who {@link ConfigurationImage}
|
||||
* It's used to send just the diff to the ECU.
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class ConfigurationImageDiff {
|
||||
|
|
|
@ -43,7 +43,7 @@ import static com.rusefi.binaryprotocol.IoHelper.*;
|
|||
* Instance is connected until we experience issues. Once we decide to close the connection there is no restart -
|
||||
* new instance of this class would need to be created once we establish a new physical connection.
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
* @see BinaryProtocolHolder
|
||||
*/
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi.binaryprotocol;
|
|||
import com.rusefi.config.generated.Fields;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/21/2017.
|
||||
*/
|
||||
public interface BinaryProtocolCommands {
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.Objects;
|
|||
*
|
||||
* TODO: remove this dead class?
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/21/2017.
|
||||
*/
|
||||
public enum BinaryProtocolHolder {
|
||||
|
|
|
@ -14,7 +14,7 @@ import static com.rusefi.binaryprotocol.IoHelper.*;
|
|||
/**
|
||||
* Thread-safe byte queue with blocking {@link #waitForBytes} method
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/20/2015.
|
||||
*/
|
||||
@ThreadSafe
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.util.zip.CRC32;
|
|||
/**
|
||||
* Utility methods for {@link BinaryProtocol}
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class IoHelper {
|
||||
|
|
|
@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
|
|||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class CRCTest {
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.rusefi.models.XYData;
|
|||
|
||||
/**
|
||||
* 7/18/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class BaseMap {
|
||||
public static void main(String[] args) {
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* Date: 3/8/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class FileUtils {
|
||||
public static void readFile(String filename, EngineState.EngineStateListener listener) {
|
||||
|
|
|
@ -14,7 +14,7 @@ import java.util.concurrent.LinkedBlockingQueue;
|
|||
*
|
||||
* <p/>
|
||||
* Date: 1/7/13
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
@SuppressWarnings("FieldCanBeLocal")
|
||||
public class CommandQueue {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.io;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public interface IMethodInvocation {
|
||||
String getCommand();
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.io;
|
|||
|
||||
/**
|
||||
* 3/8/14
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public interface InvocationConfirmationListener {
|
||||
InvocationConfirmationListener VOID = new InvocationConfirmationListener() {
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.io.IOException;
|
|||
/**
|
||||
* Physical bi-directional controller communication level
|
||||
* <p>
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* <p>
|
||||
* 5/11/2015.
|
||||
*/
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.awt.*;
|
|||
* This class holds the reference to the actual Serial port object
|
||||
* <p/>
|
||||
* 7/25/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class PortHolder {
|
||||
private static final DataListener dataListener = freshData -> LinkManager.engineState.processNewData(new String(freshData), LinkManager.ENCODER);
|
||||
|
|
|
@ -10,7 +10,7 @@ import com.rusefi.io.IoStream;
|
|||
/**
|
||||
* https://github.com/Fazecast/jSerialComm looks to be alive as of 2020
|
||||
* <p>
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 06/03/2019
|
||||
*/
|
||||
public class SerialIoStreamJSerialComm implements IoStream {
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.io.OutputStream;
|
|||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 5/11/2015.
|
||||
*/
|
||||
public class TcpIoStream implements IoStream {
|
||||
|
|
|
@ -10,7 +10,7 @@ import static org.junit.Assert.assertNotNull;
|
|||
import static org.junit.Assert.assertNull;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class ConfigurationImageDiffTest {
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.util.Objects;
|
|||
/**
|
||||
* Type-safe unique structure identifier
|
||||
* <p>
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class LiveDataContext {
|
||||
private final int id;
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi.ui.livedocs;
|
|||
import com.rusefi.binaryprotocol.BinaryProtocol;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public abstract class LiveDocHolder {
|
||||
private final LiveDataContext id;
|
||||
|
|
|
@ -14,7 +14,7 @@ import static com.rusefi.binaryprotocol.IoHelper.swap16;
|
|||
|
||||
/**
|
||||
* Singleton map of all live documentation entities. Using this registry we know all the entities to update periodically.
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public enum LiveDocsRegistry {
|
||||
INSTANCE;
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.opensr5;
|
|||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/7/2015
|
||||
*/
|
||||
public interface Logger {
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.Date;
|
|||
/**
|
||||
* what the hell is this anyway? todo: migrate to log4j2
|
||||
* 6/30/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public enum FileLog {
|
||||
MAIN,
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.regex.Pattern;
|
|||
|
||||
/**
|
||||
* Date: 1/29/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class ReportReader {
|
||||
private static final Pattern LINE_PATTERN = Pattern.compile("\\D*(\\d*);a0;(\\d*);a1;-1;rpm;(\\d*);wave;(\\d*).*");
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.rusefi.config.generated.Fields;
|
|||
/**
|
||||
* Air/Fuel ratio data point
|
||||
*
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/23/2016.
|
||||
*/
|
||||
public class AfrDataPoint {
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi.autotune;
|
|||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/18/2016.
|
||||
*/
|
||||
public interface FuelAutoLogic {
|
||||
|
|
|
@ -8,7 +8,7 @@ import static com.rusefi.config.generated.Fields.FUEL_RPM_COUNT;
|
|||
|
||||
/**
|
||||
* 1/5/2016
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public enum FuelAutoTune implements FuelAutoLogic {
|
||||
INSTANCE;
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi.autotune;
|
|||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/18/2016.
|
||||
*/
|
||||
public enum FuelAutoTune2 implements FuelAutoLogic {
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi.autotune;
|
|||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/18/2016.
|
||||
*/
|
||||
public class MathUtil {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.autotune;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/23/2016.
|
||||
*/
|
||||
public class Result {
|
||||
|
|
|
@ -12,7 +12,7 @@ import static com.rusefi.autotune.test.FuelAutoTuneTest.createVeTable;
|
|||
|
||||
/**
|
||||
* 2/23/2016
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class FuelAutoTune2Test {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import static org.junit.Assert.assertEquals;
|
|||
|
||||
/**
|
||||
* 1/5/2016
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class FuelAutoTuneTest {
|
||||
private static final double EPS = 0.00001;
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.*;
|
|||
|
||||
/**
|
||||
* Date: 12/25/12
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see #registerStringValueAction
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.core;
|
|||
|
||||
/**
|
||||
* 11/16/2017
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public interface ISensorCentral {
|
||||
double getValue(Sensor sensor);
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||
* Messages from the firmware and UI panels which want to display them
|
||||
*
|
||||
* Date: 4/27/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class MessagesCentral {
|
||||
private static final MessagesCentral INSTANCE = new MessagesCentral();
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
|
|||
* this class takes buffers input characters and separates them into full response lines
|
||||
* <p/>
|
||||
* Date: 12/25/12
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see ResponseBufferTest
|
||||
*/
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||
* <p/>
|
||||
* <p/>
|
||||
* Date: 1/6/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class SensorCentral implements ISensorCentral {
|
||||
public static final String RPM_KEY = "rpm";
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.rusefi.waves.EngineReport;
|
|||
|
||||
/**
|
||||
* 7/26/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class SensorStats {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.core;
|
|||
|
||||
/**
|
||||
* 11/16/2017
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public interface ValueSource {
|
||||
double getValue();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.io;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/20/2015.
|
||||
*/
|
||||
public class CommunicationLoggingHolder {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.io;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 9/4/14
|
||||
*/
|
||||
public interface CommunicationLoggingListener {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.io;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/20/2015.
|
||||
*/
|
||||
public interface LinkDecoder {
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.Set;
|
|||
|
||||
/**
|
||||
* 7/18/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class AverageData {
|
||||
public static XYData average(XYData data, int divider) {
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.models;
|
|||
|
||||
/**
|
||||
* Date: 3/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class Point3D {
|
||||
private final double x;
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.models;
|
|||
|
||||
/**
|
||||
* Date: 3/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class Range {
|
||||
private final float min;
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.util.TreeMap;
|
|||
|
||||
/**
|
||||
* Date: 3/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see com.rusefi.file.TableGenerator
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.io.*;
|
|||
|
||||
/**
|
||||
* 6/30/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class XYDataReader {
|
||||
public static XYData readFile(String fileName) {
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.TreeMap;
|
|||
* Y>Z mapping for the same X
|
||||
* <p/>
|
||||
* Date: 3/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class YAxisData {
|
||||
private final TreeMap<Double, ValuesHolder> values = new TreeMap<Double, ValuesHolder>();
|
||||
|
|
|
@ -4,7 +4,7 @@ import com.rusefi.models.XYData;
|
|||
|
||||
/**
|
||||
* 7/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class XYDataSandbox {
|
||||
public static void main(String[] args) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.trigger;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 1/18/2015
|
||||
*/
|
||||
public class MiataNA implements TriggerShape {
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi.trigger;
|
|||
/**
|
||||
* http://rusefi.com/wiki/index.php?title=Manual:Software:Trigger
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 1/18/2015
|
||||
*/
|
||||
public interface TriggerShape {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.trigger;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 1/18/2015
|
||||
*/
|
||||
public class TriggerShapeHolder {
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.Map;
|
|||
* @see EngineChartParser
|
||||
* <p/>
|
||||
* Date: 3/17/14
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class EngineChart {
|
||||
// todo: merge with NameUtil
|
||||
|
|
|
@ -15,7 +15,7 @@ import static com.rusefi.config.generated.Fields.PROTOCOL_ES_UP;
|
|||
* A model of a digital signal represented as a sequence of {@link UpDown}
|
||||
*
|
||||
* Date: 6/23/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see SensorSnifferPane
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@ import static com.rusefi.models.Utils.parseIntWithReason;
|
|||
|
||||
/**
|
||||
* 1/11/14.
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class RevolutionLog {
|
||||
private final TreeMap<Integer, Integer> time2rpm;
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.waves;
|
|||
|
||||
/**
|
||||
* Date: 6/25/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public interface TimeAxisTranslator {
|
||||
int timeToScreen(int time, int width);
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.waves;
|
|||
|
||||
/**
|
||||
* 7/7/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public interface ZoomProvider {
|
||||
ZoomProvider DEFAULT = new ZoomProvider() {
|
||||
|
|
|
@ -7,7 +7,7 @@ import static junit.framework.Assert.assertEquals;
|
|||
|
||||
/**
|
||||
* Date: 6/23/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class EngineReportTest {
|
||||
public static final String report = "u!14679!d!15991!u!16823!d!18134!u!18965!d!20278!u!21108!d!22420!u!23251!d!24563!u!25394!d!26706!u!27536!d!28850!u!29678!d!30991!u!31822!d!33134!u!33965!d!35277!u!36108!d!37420!u!38251!d!39563!u!40394!d!41706!u!42537!d!43849!";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.opensr5.io;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/1/2017
|
||||
*/
|
||||
public class BasicBinaryProtocol {
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Arrays;
|
|||
/**
|
||||
* Utility class to read/write {@link ConfigurationImage} into a file
|
||||
*
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/20/2015.
|
||||
*/
|
||||
public class ConfigurationImageFile {
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.opensr5.io;
|
|||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/1/2017
|
||||
*/
|
||||
public interface WriteStream {
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.awt.*;
|
|||
import java.awt.event.KeyListener;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/20/2015.
|
||||
*/
|
||||
public abstract class TableWithData extends Table {
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.io.IOException;
|
|||
*
|
||||
*
|
||||
* Date: 3/8/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class FrequencyDivider {
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.rusefi;
|
|||
import com.rusefi.io.LinkManager;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/22/2015
|
||||
*/
|
||||
public class CmdLine {
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.awt.*;
|
|||
import java.awt.event.ActionListener;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
abstract class CommandControl {
|
||||
public static final String TEST = "Test";
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.List;
|
|||
/**
|
||||
* http://rusefi.com/wiki/index.php?title=Manual:Flexible_Logic
|
||||
* <p/>
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 1/19/2017
|
||||
*/
|
||||
public class CompileTool {
|
||||
|
|
|
@ -13,7 +13,7 @@ import static com.rusefi.config.generated.Fields.CMD_ETB_DUTY;
|
|||
/**
|
||||
* Controls related to Electronic Throttle Body
|
||||
*
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class ETBPane {
|
||||
private final JPanel content = new JPanel(new BorderLayout());
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.concurrent.CountDownLatch;
|
|||
|
||||
/**
|
||||
* Date: 3/24/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see EcuStimulatorSandbox
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.Date;
|
|||
* <p/>
|
||||
* <p/>
|
||||
* 12/25/12
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see StartupFrame
|
||||
* @see EngineSnifferPanel
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.awt.*;
|
|||
import java.awt.event.ActionListener;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class PresetsPane {
|
||||
// see rusefi_enums.h
|
||||
|
|
|
@ -14,7 +14,7 @@ import java.io.File;
|
|||
import static com.romraider.editor.ecu.ECUEditorManager.getECUEditor;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class RomRaiderWrapper {
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.io.IOException;
|
|||
import java.io.Writer;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 4/15/2016.
|
||||
*/
|
||||
public class SensorLogger {
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* Date: 12/21/13
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class SensorSnifferPane {
|
||||
private static final String HELP_URL = "http://rusefi.com/wiki/index.php?title=Manual:DevConsole#Analog_Chart";
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.awt.*;
|
|||
|
||||
/**
|
||||
* 8/13/14
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class StimulationInputs {
|
||||
static final int DEFAULT_RPM_MIN = 800;
|
||||
|
|
|
@ -19,7 +19,7 @@ import java.util.List;
|
|||
* This utility produces images of trigger signals supported by rusEfi
|
||||
*
|
||||
* 06/23/15
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class TriggerImage {
|
||||
private static final String TRIGGERTYPE = "TRIGGERTYPE";
|
||||
|
|
|
@ -16,7 +16,7 @@ import java.lang.reflect.InvocationTargetException;
|
|||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/7/2015
|
||||
*/
|
||||
public class UploadChanges {
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
|||
import java.util.function.Function;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2019
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class PortDetector {
|
||||
/**
|
||||
|
|
|
@ -8,7 +8,7 @@ import javax.swing.*;
|
|||
import java.io.File;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 3/6/2015
|
||||
*/
|
||||
public class BinaryProtocolCmd {
|
||||
|
|
|
@ -10,7 +10,7 @@ import com.rusefi.config.generated.Fields;
|
|||
import com.rusefi.io.serial.SerialIoStreamJSerialComm;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 6/21/2017
|
||||
*/
|
||||
public class BinaryProtocolCmdSandbox {
|
||||
|
|
|
@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
|
|||
* https://en.wikipedia.org/wiki/Standard_deviation of error posted to specified sensor
|
||||
* <p>
|
||||
* 11/16/2017
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*
|
||||
* @see SensorStats
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.logic;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2012-2016
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 12/24/2015
|
||||
*/
|
||||
public class IgnitionMapBuilder {
|
||||
|
|
|
@ -8,7 +8,7 @@ import static com.rusefi.logic.IgnitionMapBuilder.ChamberStyle.*;
|
|||
import static junit.framework.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2012-2016
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 12/24/2015
|
||||
*/
|
||||
public class IgnitionMapBuilderTest {
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.awt.event.ActionEvent;
|
|||
import static com.rusefi.maintenance.FirmwareFlasher.TITLE;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class EraseChip {
|
||||
private static final String FLASH_SIZE = "0x0100000";
|
||||
|
|
|
@ -13,7 +13,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
|||
/**
|
||||
* @see DfuFlasher
|
||||
* <p>
|
||||
* (c) Andrey Belomutskiy 2013-2018
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 2/4/15
|
||||
*/
|
||||
public class FirmwareFlasher {
|
||||
|
|
|
@ -19,7 +19,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
|||
/**
|
||||
* This class checks the recommended versions numbers and compares them with current versions
|
||||
* <p/>
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 8/10/14
|
||||
*/
|
||||
public class VersionChecker {
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.rusefi.ui.util.FrameHelper;
|
|||
|
||||
/**
|
||||
* 8/13/14
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class EcuStimulatorSandbox extends FrameHelper {
|
||||
public static void main(String[] args) {
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.rusefi.ui.util.FrameHelper;
|
|||
|
||||
/**
|
||||
* 2/16/15
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
|
||||
public class SensorSnifferPaneSandbox {
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
* 8/29/2015.
|
||||
*/
|
||||
public class WaveState {
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.TreeMap;
|
|||
|
||||
/**
|
||||
* Date: 1/14/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class BooleanInputsModel {
|
||||
private static final Map<Integer, String> inputTitle = new HashMap<Integer, String>();
|
||||
|
|
|
@ -19,7 +19,7 @@ import static com.rusefi.models.Utils.parseIntWithReason;
|
|||
|
||||
/**
|
||||
* Date: 1/22/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class ChartHelper {
|
||||
private ChartHelper() {
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* 7/27/13
|
||||
* (c) Andrey Belomutskiy
|
||||
* Andrey Belomutskiy, (c) 2013-2020
|
||||
*/
|
||||
public class ChartRepository {
|
||||
private static final ChartRepository instance = new ChartRepository();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue