Click or drag to resize

ZWManagerRemoveSwitchPoint Method

Remove a switch point from the schedule.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public bool RemoveSwitchPoint(
	ZWValueId id,
	byte hours,
	byte minutes
)

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: Boolean
true 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.
Remarks
Removes the switch point at the specified time from the schedule.
See Also