io.deepsense.neptune.clientlibrary.models.impl.channels.ImageChannelImpl 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.apiclient.model.ChannelValues;
import io.deepsense.neptune.clientlibrary.models.ChannelType;
import io.deepsense.neptune.clientlibrary.models.NeptuneImage;
import io.deepsense.neptune.clientlibrary.services.apimodelconverter.ApiModelConverter;
import io.deepsense.neptune.clientlibrary.services.channelvaluesender.ChannelValueSendingProxy;
public class ImageChannelImpl extends BaseChannelImpl {
public ImageChannelImpl(
ApiModelConverter apiModelConverter,
ChannelValueSendingProxy channelValueSendingProxy,
long maxChannelValueSize,
String name,
boolean isHistoryPersisted,
boolean isLastValueExposed) {
super(apiModelConverter,
channelValueSendingProxy,
maxChannelValueSize,
name,
isHistoryPersisted,
isLastValueExposed);
}
@Override
public ChannelType getType() {
return ChannelType.IMAGE;
}
@Override
protected ChannelValues convertValueToSwaggerModel(double x, NeptuneImage y) {
return getApiModelConverter().imageChannelValueToApiModel(getId(), x, y);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy