Added in revision 2
public interface

Led

com.datalogic.extension.selfshopping.led.Led
Known Indirect Subclasses

Class Overview

Interface exposing the API of a generic LED.

Summary

Public Methods
abstract void blink(int numCycles, int delayOn, int delayOff)
Blink the LED.
abstract int getId()
Gets the ID of this LED.
abstract void turnOff()
Turn the LED off.
abstract void turnOn()
Turn the LED on.

Public Methods

public abstract void blink (int numCycles, int delayOn, int delayOff)

Added in revision 2

Blink the LED.

Parameters
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 abstract int getId ()

Added in revision 2

Gets the ID of this LED.

Returns
  • int The LED ID.

public abstract void turnOff ()

Added in revision 2

Turn the LED off.

public abstract void turnOn ()

Added in revision 2

Turn the LED on.