Class AnalogOutputProcessor
java.lang.Object
org.openremote.agent.protocol.velbus.device.FeatureProcessor
org.openremote.agent.protocol.velbus.device.ChannelProcessor
org.openremote.agent.protocol.velbus.device.OutputChannelProcessor
org.openremote.agent.protocol.velbus.device.AnalogOutputProcessor
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.openremote.agent.protocol.velbus.device.OutputChannelProcessor
OutputChannelProcessor.ChannelSettingNested classes/interfaces inherited from class org.openremote.agent.protocol.velbus.device.FeatureProcessor
FeatureProcessor.LedState, FeatureProcessor.PropertyDescriptor -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final List<org.openremote.model.util.Pair<String,org.openremote.model.value.ValueDescriptor<?>>> protected static final Stringprotected static final Patternprotected static final StringFields inherited from class org.openremote.agent.protocol.velbus.device.ChannelProcessor
CHANNEL_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetChannelPrefix(VelbusDeviceType deviceType) getLevelAndSpeedFromValue(Object value) protected List<VelbusPacket>getPackets(VelbusDevice velbusDevice, int channelNumber, VelbusPacket.OutboundCommand command, int level, int speedSeconds, int durationSeconds) getPropertyDescriptors(VelbusDeviceType deviceType) getPropertyWritePackets(VelbusDevice device, String property, Object value) Asks the processor to generate the packets required to write the requested value to this property.getStatusRequestPackets(VelbusDevice device) Get the packets that need to be sent to the device to get the state data of this feature's propertiesbooleanprocessReceivedPacket(VelbusDevice device, VelbusPacket packet) Allows this feature processor to handle the inbound packet.Methods inherited from class org.openremote.agent.protocol.velbus.device.ChannelProcessor
getAddressForChannel, getChannelNumberAndPropertySuffix, getMaxChannelNumber, getStartChannelNumber, isChannelEnabled
-
Field Details
-
DIMMER_PREFIX
- See Also:
-
IO_PREFIX
- See Also:
-
IO_CHANNEL_REGEX
-
CHANNEL_PROPERTIES
-
-
Constructor Details
-
AnalogOutputProcessor
public AnalogOutputProcessor()
-
-
Method Details
-
getStatusRequestPackets
Description copied from class:FeatureProcessorGet the packets that need to be sent to the device to get the state data of this feature's properties- Overrides:
getStatusRequestPacketsin classFeatureProcessor
-
getPropertyDescriptors
public List<FeatureProcessor.PropertyDescriptor> getPropertyDescriptors(VelbusDeviceType deviceType) - Specified by:
getPropertyDescriptorsin classFeatureProcessor
-
getChannelPrefix
-
getPropertyWritePackets
public List<VelbusPacket> getPropertyWritePackets(VelbusDevice device, String property, Object value) Description copied from class:FeatureProcessorAsks the processor to generate the packets required to write the requested value to this property.Once a processor returns a non null value then no other processors will be asked to handle the write
- Specified by:
getPropertyWritePacketsin classFeatureProcessor
-
processReceivedPacket
Description copied from class:FeatureProcessorAllows this feature processor to handle the inbound packet. If a processor handles a packet then it should set the packetsVelbusPacket.isHandled()flag.The processor can prevent other processors from processing the packet by returning true (processors should only do this if they are certain no other processor is interested in the packet).
- Specified by:
processReceivedPacketin classFeatureProcessor- Returns:
- whether or not to allow other processors to process the packet.
-
getPackets
protected List<VelbusPacket> getPackets(VelbusDevice velbusDevice, int channelNumber, VelbusPacket.OutboundCommand command, int level, int speedSeconds, int durationSeconds) -
getLevelAndSpeedFromValue
-