public class

LedActionBlink

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

Class Overview

LED action for the blinking of a LED.

Summary

Constants
String TYPE Blinking action type.
Public Constructors
LedActionBlink(int id, int numCycles, int delayOn, int delayOff)
Default constructor for the blinking action.
Public Methods
int getDelayOff()
Returns the number of milliseconds the LED is turned OFF during a blinking cycle.
int getDelayOn()
Returns the number of milliseconds the LED is turned ON during a blinking cycle.
int getNumCycles()
Returns the number of blinking cycles.
[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

Blinking action type.

Constant Value: "blink"

Public Constructors

public LedActionBlink (int id, int numCycles, int delayOn, int delayOff)

Added in revision 2

Default constructor for the blinking action.

Parameters
id The LED ID.
numCycles The number of blinking cycles (-1 = infinite).
delayOn The number of milliseconds the LED is turned ON during a blinking cycle.
delayOff The number of milliseconds the LED is turned OFF during a blinking cycle.

Public Methods

public int getDelayOff ()

Added in revision 2

Returns the number of milliseconds the LED is turned OFF during a blinking cycle.

Returns
  • int The number of milliseconds the LED is turned OFF.

public int getDelayOn ()

Added in revision 2

Returns the number of milliseconds the LED is turned ON during a blinking cycle.

Returns
  • int The number of milliseconds the LED is turned ON.

public int getNumCycles ()

Added in revision 2

Returns the number of blinking cycles.

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