Class RainPointRoomDevice
- Namespace
- RainPointClient
- Assembly
- RainPointClient.dll
A room's hub, child device or individual child zone assignment.
public sealed class RainPointRoomDevice
- Inheritance
-
RainPointRoomDevice
- Inherited Members
Constructors
RainPointRoomDevice(long, long?, int?)
Creates a typed room assignment for a hub, paired child or child zone.
public RainPointRoomDevice(long hubId, long? deviceId = null, int? zone = null)
Parameters
hubIdlongThe positive cloud hub identifier, distinct from child RF addresses.
deviceIdlong?The child cloud database ID, or null for a hub assignment.
zoneint?The one-based zone number, or null for a whole-child or hub assignment.
Exceptions
- ArgumentOutOfRangeException
An argument is outside the supported range described above.
Properties
DeviceId
Gets the child cloud ID, or null for a hub-level assignment.
public long? DeviceId { get; }
Property Value
- long?
HubId
Gets the cloud hub ID associated with the room assignment.
public long HubId { get; }
Property Value
Zone
Gets the optional one-based zone number for a zone-level assignment.
public int? Zone { get; }
Property Value
- int?