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.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.AssetSave -
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_OFFFields 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
ConstructorsModifierConstructorDescriptionprotectedFor use by hydrators (i.e.protectedArtnetLightAsset(String name) -
Method Summary
Modifier and TypeMethodDescriptionByte[]voidsetGroupId(int groupId) voidsetLEDCount(int count) voidsetLightId(int lightId) voidsetReceivedValues(Map<String, Integer> receivedValues) voidsetRequiredValues(String[] requiredValues) voidsetUniverse(int universe) Methods inherited from class org.openremote.model.asset.impl.LightAsset
getBrightness, getColourRGB, getOnOff, getTemperature, setBrightness, setColourRGB, setOnOff, setTemperatureMethods inherited from class org.openremote.model.asset.Asset
addAttributes, addOrReplaceAttributes, getAttribute, getAttribute, getAttribute, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, 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
-