Class VelbusDevice
java.lang.Object
org.openremote.agent.protocol.velbus.device.VelbusDevice
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected VelbusDeviceTypeprotected FeatureProcessor[]static intprotected intprotected booleanprotected Future<?>protected booleanstatic final intprotected int[]protected VelbusNetwork -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyValueConsumer(String property, Consumer<Object> propertyValueConsumer) static VelbusPacketcreateModuleTypePacket(int baseAddress) static VelbusPacket[]intgetAddress(int index) intgetAddressIndex(int address) intprotected ObjectgetPropertyValue(String propertyName) int[]protected booleanhasPropertyValue(String propertyName) voidAttempt initialisation of this devicebooleanbooleanvoidprocessReceivedPacket(VelbusPacket velbusPacket) voidvoidremovePropertyValueConsumer(String property, Consumer<Object> propertyValueConsumer) voidreset()voidwriteProperty(String property, Object value)
-
Field Details
-
MAX_INITIALISATION_ATTEMPTS
public static final int MAX_INITIALISATION_ATTEMPTS- See Also:
-
INITIALISATION_TIMEOUT_MILLISECONDS
public static int INITIALISATION_TIMEOUT_MILLISECONDS -
baseAddress
protected int baseAddress -
subAddresses
protected int[] subAddresses -
devicePropertyCache
-
propertyValueConsumers
-
velbusNetwork
-
featureProcessors
-
initialised
protected boolean initialised -
initialisationFailed
protected boolean initialisationFailed -
initialisationAttempts
protected int initialisationAttempts -
deviceType
-
initialisationTask
-
-
Constructor Details
-
VelbusDevice
-
-
Method Details
-
getBaseAddress
public int getBaseAddress() -
getSubAddresses
public int[] getSubAddresses() -
getDeviceType
-
getAddress
public int getAddress(int index) -
getAddressIndex
public int getAddressIndex(int address) -
reset
public void reset() -
initialise
public void initialise()Attempt initialisation of this device -
isInitialised
public boolean isInitialised() -
isInitialisedAndValid
public boolean isInitialisedAndValid() -
addPropertyValueConsumer
-
removePropertyValueConsumer
-
removeAllPropertyValueConsumers
public void removeAllPropertyValueConsumers() -
writeProperty
-
processReceivedPacket
-
getPropertyValue
-
hasPropertyValue
-
createTimeInjectionPackets
-
createModuleTypePacket
-