Class ArtnetLightAsset
java.lang.Object
org.openremote.model.asset.Asset<org.openremote.model.asset.impl.LightAsset>
org.openremote.model.asset.impl.LightAsset
org.openremote.agent.protocol.artnet.ArtnetLightAsset
- All Implemented Interfaces:
org.openremote.model.asset.AssetInfo
,org.openremote.model.IdentifiableEntity<org.openremote.model.asset.impl.LightAsset>
@Entity
public class ArtnetLightAsset
extends org.openremote.model.asset.impl.LightAsset
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.model.asset.Asset
org.openremote.model.asset.Asset.AssetDeserializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.openremote.model.asset.AssetDescriptor
<ArtnetLightAsset> static final org.openremote.model.value.AttributeDescriptor
<Integer> static final org.openremote.model.value.AttributeDescriptor
<Integer> static final org.openremote.model.value.AttributeDescriptor
<Integer> static final org.openremote.model.value.AttributeDescriptor
<String[]> static final org.openremote.model.value.AttributeDescriptor
<Integer> Fields inherited from class org.openremote.model.asset.impl.LightAsset
BRIGHTNESS, COLOUR_RGB, COLOUR_TEMPERATURE, ON_OFF
Fields inherited from class org.openremote.model.asset.Asset
accessPublicRead, attributes, createdOn, EMAIL, id, LOCATION, MANUFACTURER, MODEL, name, NOTES, parentId, path, realm, TAGS, type, version
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
For use by hydrators (i.e.protected
ArtnetLightAsset
(String name) -
Method Summary
Modifier and TypeMethodDescriptionByte[]
void
setGroupId
(int groupId) void
setLEDCount
(int count) void
setLightId
(int lightId) void
setReceivedValues
(Map<String, Integer> receivedValues) void
setRequiredValues
(String[] requiredValues) void
setUniverse
(int universe) Methods inherited from class org.openremote.model.asset.impl.LightAsset
getBrightness, getColourRGB, getOnOff, getTemperature, setBrightness, setColourRGB, setOnOff, setTemperature
Methods inherited from class org.openremote.model.asset.Asset
addAttributes, addOrReplaceAttributes, getAssetClass, getAssetName, getAssetType, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, postLoadCallback, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAll
-
Field Details
-
LED_COUNT
-
LIGHT_ID
-
GROUP_ID
-
UNIVERSE
-
REQUIRED_VALUES
-
DESCRIPTOR
-
-
Constructor Details
-
ArtnetLightAsset
protected ArtnetLightAsset()For use by hydrators (i.e. JPA/Jackson) -
ArtnetLightAsset
-
-
Method Details
-
getLightId
-
setLightId
public void setLightId(int lightId) -
getGroupId
-
setGroupId
public void setGroupId(int groupId) -
getLEDCount
-
setLEDCount
public void setLEDCount(int count) -
getUniverse
-
setUniverse
public void setUniverse(int universe) -
getRequiredValues
-
setRequiredValues
-
setReceivedValues
-
getValues
-