Class SingleLedAdaptionHint
Represents a hint that adapts layers to a single LED of one or more devices
public class SingleLedAdaptionHint : CorePropertyChanged, IAdaptionHint
- Inheritance
-
objectCorePropertyChangedSingleLedAdaptionHint
- Implements
Constructors
SingleLedAdaptionHint()
Creates a new instance of the SingleLedAdaptionHint class
public SingleLedAdaptionHint()
Properties
Amount
Gets or sets the amount of devices to limit to if LimitAmount is true
public int Amount { get; set; }
Property Value
LedId
Gets or sets the LED ID to apply to.
public LedId LedId { get; set; }
Property Value
- LedId
LimitAmount
Gets or sets a boolean indicating whether a limited amount of devices should be used
public bool LimitAmount { get; set; }
Property Value
Skip
Gets or sets the amount of devices to skip
public int Skip { get; set; }
Property Value
Methods
Apply(Layer, List<ArtemisDevice>)
Applies the adaptive action to the provided layer
public void Apply(Layer layer, List<ArtemisDevice> devices)
Parameters
layerLayerThe layer to adapt
devicesList<ArtemisDevice>The devices to adapt the layer for
GetEntry()
Returns an adaption hint entry for this adaption hint used for persistent storage
public IAdaptionHintEntity GetEntry()
Returns
- IAdaptionHintEntity
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.