public class

LedActionDim

extends LedAction
java.lang.Object
   ↳ com.datalogic.extension.selfshopping.led.action.LedAction
     ↳ com.datalogic.extension.selfshopping.led.action.LedActionDim

Class Overview

LED action for the dimming of a LED.

Summary

Constants
String TYPE Dimming action type.
Public Constructors
LedActionDim(int id, int numCycles, DimmingSequencePoint[] sequence)
Default constructor for the dimming action.
Public Methods
int getNumCycles()
Returns the number of dimming cycles.
DimmingSequencePoint[] getSequence()
Returns the dimming sequence array.
[Expand]
Inherited Methods
From class com.datalogic.extension.selfshopping.led.action.LedAction
From class java.lang.Object

Constants

public static final String TYPE

Added in revision 2

Dimming action type.

Constant Value: "dim"

Public Constructors

public LedActionDim (int id, int numCycles, DimmingSequencePoint[] sequence)

Added in revision 2

Default constructor for the dimming action.

Parameters
id The LED ID.
numCycles The number of dimming cycles (-1 = infinite).
sequence An array of DimmingSequencePoint objects representing the dimming sequence to execute.

Public Methods

public int getNumCycles ()

Added in revision 2

Returns the number of dimming cycles.

Returns
  • int The number of dimming cycles (-1 = infinite).

public DimmingSequencePoint[] getSequence ()

Added in revision 2

Returns the dimming sequence array.

Returns