Class LightsService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.lights.LightsService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.LightsService112
,jpos.services.LightsService113
,jpos.services.LightsService114
,jpos.services.LightsService115
,jpos.services.LightsService116
Lights service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the LightsInterface for lights specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
int
int
void
switchOff(int lightNumber)
void
void
switchOn(int lightNumber, int blinkOnCycle, int blinkOffCycle, int color, int alarm)
void
switchOnMultiple(String lightNumbers, int blinkOnCycle, int blinkOffCycle, int color, int alarm)
void
switchOnPattern(int pattern, int alarm)
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
Methods inherited from interface jpos.services.LightsService112
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setPowerNotify, updateFirmware, updateStatistics
-
Field Details
-
LightsInterface
Instance of a class implementing the LightsInterface for lights specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
LightsService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapAlarm
public int getCapAlarm() throws jpos.JposException- Specified by:
getCapAlarm
in interfacejpos.services.LightsService112
- Throws:
jpos.JposException
-
getCapBlink
public boolean getCapBlink() throws jpos.JposException- Specified by:
getCapBlink
in interfacejpos.services.LightsService112
- Throws:
jpos.JposException
-
getCapColor
public int getCapColor() throws jpos.JposException- Specified by:
getCapColor
in interfacejpos.services.LightsService112
- Throws:
jpos.JposException
-
getMaxLights
public int getMaxLights() throws jpos.JposException- Specified by:
getMaxLights
in interfacejpos.services.LightsService112
- Throws:
jpos.JposException
-
getCapPattern
public int getCapPattern() throws jpos.JposException- Specified by:
getCapPattern
in interfacejpos.services.LightsService116
- Throws:
jpos.JposException
-
switchOff
public void switchOff(int lightNumber) throws jpos.JposException- Specified by:
switchOff
in interfacejpos.services.LightsService112
- Throws:
jpos.JposException
-
switchOn
public void switchOn(int lightNumber, int blinkOnCycle, int blinkOffCycle, int color, int alarm) throws jpos.JposException- Specified by:
switchOn
in interfacejpos.services.LightsService112
- Throws:
jpos.JposException
-
switchOnMultiple
public void switchOnMultiple(String lightNumbers, int blinkOnCycle, int blinkOffCycle, int color, int alarm) throws jpos.JposException- Specified by:
switchOnMultiple
in interfacejpos.services.LightsService116
- Throws:
jpos.JposException
-
switchOnPattern
public void switchOnPattern(int pattern, int alarm) throws jpos.JposException- Specified by:
switchOnPattern
in interfacejpos.services.LightsService116
- Throws:
jpos.JposException
-
switchOffPattern
public void switchOffPattern() throws jpos.JposException- Specified by:
switchOffPattern
in interfacejpos.services.LightsService116
- Throws:
jpos.JposException
-