io.deepsense.neptune.clientlibrary.models.impl.channels.OfflineNumericChannel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neptune-client-library Show documentation
Show all versions of neptune-client-library Show documentation
Enables integration with Neptune in your Java code
/**
* Copyright (c) 2016, CodiLime Inc.
*/
package io.deepsense.neptune.clientlibrary.models.impl.channels;
import io.deepsense.neptune.clientlibrary.models.ChannelType;
import java.util.UUID;
public class OfflineNumericChannel extends OfflineChannel {
public OfflineNumericChannel(UUID id, String name) {
super(id, name);
}
public OfflineNumericChannel(UUID id, String name, boolean isHistoryPersisted) {
super(id, name, isHistoryPersisted);
}
@Override
public ChannelType getType() {
return ChannelType.NUMERIC;
}
@Override
public void send(double x, Double y) {
logValue(x, formatDoubleValue(y));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy