 | ZWManagerRemoveSwitchPoint Method |
Remove a switch point from the schedule.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic bool RemoveSwitchPoint(
ZWValueId id,
byte hours,
byte minutes
)
Public Function RemoveSwitchPoint (
id As ZWValueId,
hours As Byte,
minutes As Byte
) As Boolean
public:
virtual bool RemoveSwitchPoint(
[InAttribute] ZWValueId^ id,
[InAttribute] unsigned char hours,
[InAttribute] unsigned char minutes
) sealed
Parameters
- id
- Type: OpenZWaveZWValueId
The unique identifier of the schedule value. - hours
- Type: SystemByte
The hours part of the time when the switch point will trigger. The time is set using
the 24-hour clock, so this value must be between 0 and 23. - minutes
- Type: SystemByte
The minutes part of the time when the switch point will trigger. This value must be
between 0 and 59.
Return Value
Type:
Booleantrue if successful. Returns false if the value is not a ValueID::ValueType_Schedule or if there
is not switch point with the specified time values. The type can be tested with a call to ValueID::GetType.
RemarksRemoves the switch point at the specified time from the schedule.
See Also