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 TypeMethodDescriptionintbooleanintintintvoidswitchOff(int lightNumber)voidvoidswitchOn(int lightNumber, int blinkOnCycle, int blinkOffCycle, int color, int alarm)voidswitchOnMultiple(String lightNumbers, int blinkOnCycle, int blinkOffCycle, int color, int alarm)voidswitchOnPattern(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, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods inherited from interface jpos.loader.JposServiceInstance
deleteInstanceMethods 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:
getCapAlarmin interfacejpos.services.LightsService112- Throws:
jpos.JposException
-
getCapBlink
public boolean getCapBlink() throws jpos.JposException- Specified by:
getCapBlinkin interfacejpos.services.LightsService112- Throws:
jpos.JposException
-
getCapColor
public int getCapColor() throws jpos.JposException- Specified by:
getCapColorin interfacejpos.services.LightsService112- Throws:
jpos.JposException
-
getMaxLights
public int getMaxLights() throws jpos.JposException- Specified by:
getMaxLightsin interfacejpos.services.LightsService112- Throws:
jpos.JposException
-
getCapPattern
public int getCapPattern() throws jpos.JposException- Specified by:
getCapPatternin interfacejpos.services.LightsService116- Throws:
jpos.JposException
-
switchOff
public void switchOff(int lightNumber) throws jpos.JposException- Specified by:
switchOffin 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:
switchOnin 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:
switchOnMultiplein interfacejpos.services.LightsService116- Throws:
jpos.JposException
-
switchOnPattern
public void switchOnPattern(int pattern, int alarm) throws jpos.JposException- Specified by:
switchOnPatternin interfacejpos.services.LightsService116- Throws:
jpos.JposException
-
switchOffPattern
public void switchOffPattern() throws jpos.JposException- Specified by:
switchOffPatternin interfacejpos.services.LightsService116- Throws:
jpos.JposException
-