new SkyCondition(name, bitNumber)
Constructor.
Extends:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the name |
bitNumber |
number | the bit offset, starting from |
Extends
Members
-
bitmaskBitNumber
-
Get the bit offset value, starting from
1
for the least significant bit.- Inherited From:
-
bitmaskBitOffset
-
Get the bit offset value, starting from
0
for the least significant bit.- Inherited From:
-
code
-
Get the state code value.
Methods
-
<static> enumValues()
-
Get the module:domain~SkyConditions values.
-
<static> forCode(code)
-
Get an enum for a code value.
Parameters:
Name Type Description code
number the code to look for
Returns:
the state, or
null
if not found- Type
- DeviceOperatingState