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
1for the least significant bit.- Inherited From:
-
bitmaskBitOffset
-
Get the bit offset value, starting from
0for 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 codenumber the code to look for
Returns:
the state, or
nullif not found- Type
- DeviceOperatingState