 | ZWManagerSetValue Method (ZWValueId, String) |
Sets the value from a string, regardless of type.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic bool SetValue(
ZWValueId id,
string value
)
Public Function SetValue (
id As ZWValueId,
value As String
) As Boolean
public:
virtual bool SetValue(
[InAttribute] ZWValueId^ id,
[InAttribute] String^ value
) sealed
Parameters
- id
- Type: OpenZWaveZWValueId
The unique identifier of the integer value. - value
- Type: SystemString
The new value of the string.
Return Value
Type:
Booleantrue if the value was set. Returns false if the value could not be parsed into the correct type for the value.
RemarksDue 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