Click or drag to resize

ZWManagerSetValue Method (ZWValueId, Int32)

Sets the value of a 32-bit signed integer.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public bool SetValue(
	ZWValueId id,
	int value
)

Parameters

id
Type: OpenZWaveZWValueId
The unique identifier of the integer value.
value
Type: SystemInt32
The new value of the integer.

Return Value

Type: Boolean
true if the value was set. Returns false if the value is not a ZWValueID::ValueType_Int. The type can be tested with a call to ZWValueID::GetType
Remarks
Due to the possibility of a device being asleep, the command is assumed to suceeed, and the value held by the node is updated directly. This will be reverted by a future status message from the device if the Z-Wave message actually failed to get through. Notification callbacks will be sent in both cases.
See Also