use of org.openremote.model.flow.Slot in project openremote by openremote.
the class TextLabelNodeDescriptor method addSlots.
@Override
public void addSlots(List<Slot> slots, Supplier<String> idGenerator) {
slots.add(new Slot("Text", idGenerator.get(), Slot.TYPE_SINK, "text"));
slots.add(new Slot("Text", idGenerator.get(), Slot.TYPE_SOURCE, "text"));
slots.add(new Slot("Color", idGenerator.get(), Slot.TYPE_SINK, "textColor"));
slots.add(new Slot("Font Size", idGenerator.get(), Slot.TYPE_SINK, "fontSizePixels"));
super.addSlots(slots, idGenerator);
}
use of org.openremote.model.flow.Slot in project openremote by openremote.
the class VirtualProducerNodeDescriptor method addSlots.
@Override
public void addSlots(List<Slot> slots, Supplier<String> idGenerator) {
super.addSlots(slots, idGenerator);
slots.add(new Slot(idGenerator.get(), Slot.TYPE_SINK));
slots.add(new Slot(idGenerator.get(), Slot.TYPE_SOURCE, false));
}
Aggregations