6#ifndef __ASSETMGRMODEL_ASSETSTRIP_CONFIG_IDL__
7#define __ASSETMGRMODEL_ASSETSTRIP_CONFIG_IDL__
10#include <UserEvent.idl>
Asset Strip Config interface.
int setMultipleRackUnitSettings(in map< int, RackUnitSettings > settings)
Set all settings of multiple rack units at once.
int setStripSettings(in StripSettings settings)
Set the asset strip settings which are not rack unit specific.
int setRackUnitSettings(in int rackUnitNumber, in RackUnitSettings settings)
Set all settings of the specified rack unit at once.
int getRackUnitSettings(in int rackUnitNumber, out RackUnitSettings settings)
Get settings of a rack unit at once.
LEDMode
Mode for the LED of a single rack unit.
@ LED_MODE_BLINK_FAST
LED is blinking (fast)
LEDOperationMode
Operation mode for the LED of a single rack unit.
@ LED_OPERATION_MANUAL
LED color and mode is manually controlled.
StripSettings getStripSettings()
Get the asset strip settings which are not rack unit specific.
vector< RackUnitSettings > getAllRackUnitSettings()
Get settings for all rack units.
Orientation
AssetStripConfig orientation
@ TOP_CONNECTOR
cable connector on top, strip growing top->bottom
NumberingMode
AssetStripConfig rack unit numbering mode
@ TOP_DOWN
numbering goes from top to bottom, top is the smallest number
ScanMode
AssetStripConfig scan mode is active
@ SCANMODE_DISABLED
LED scanmode is disabled, all LEDs are lit up statically.
The LED color in RGB format, 8 bit per channel.
int g
green channel of the LED
int b
blue channel of the LED
int r
red channel of the LED
Event: A rack unit's settings were changed.
RackUnitSettings oldSettings
Settings before change.
int rackUnitNumber
Affected rack unit position.
RackUnitSettings newSettings
Settings after change.
Settings for a single rack unit (LED state)
LEDMode mode
LED mode (on,off,blinking)
string name
user defined name (up to 64 alphanumeric characters)
LEDColor color
Color of the LED at this rack unit.
LEDOperationMode opmode
Operation mode for this rack unit.
Event: Asset strip settings were changed.
StripSettings newSettings
Settings after change.
StripSettings oldSettings
Settings before change.
Settings for this Asset Strip.
int rackUnitCount
rack unit count, number of rack units (range: 8..64), will be ignored on strips that auto-detect thei...
ScanMode scanMode
LED scan (demo) mode.
Orientation orientation
orientation. If orientationSensAvailable, writes are ignored
LEDColor defaultColorDisconnected
auto color for rack units without an asset tag connected
NumberingMode numberingMode
rack unit numbering mode (top down, bottom up)
string name
user defined name (up to 64 alphanumeric characters)
LEDColor defaultColorConnected
auto color for rack units with an asset tag connected
int numberingOffset
rack unit numbering starting offset (default is 1)