Class ToneIndicatorService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.toneindicator.ToneIndicatorService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance,jpos.services.BaseService,jpos.services.ToneIndicatorService110,jpos.services.ToneIndicatorService111,jpos.services.ToneIndicatorService112,jpos.services.ToneIndicatorService113,jpos.services.ToneIndicatorService114,jpos.services.ToneIndicatorService115,jpos.services.ToneIndicatorService116,jpos.services.ToneIndicatorService12,jpos.services.ToneIndicatorService13,jpos.services.ToneIndicatorService14,jpos.services.ToneIndicatorService15,jpos.services.ToneIndicatorService16,jpos.services.ToneIndicatorService17,jpos.services.ToneIndicatorService18,jpos.services.ToneIndicatorService19
ToneIndicator service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the ToneIndicatorInterface for tone indicator 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
ConstructorsConstructorDescriptionToneIndicatorService(ToneIndicatorProperties props, JposDevice device)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet common property AsyncMode, see UPOS specificationintbooleanbooleanintintintintintintintintintvoidsetAsyncMode(boolean b)Get common property AsyncMode, see UPOS specificationvoidsetInterToneWait(int i)voidsetMelodyType(int i)voidsetMelodyVolume(int i)voidsetTone1Duration(int i)voidsetTone1Pitch(int i)voidsetTone1Volume(int i)voidsetTone2Duration(int i)voidsetTone2Pitch(int i)voidsetTone2Volume(int i)voidsound(int numberOfCycles, int interSoundWait)voidMethods 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, 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, 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.ToneIndicatorService12
clearOutput, getOutputIDMethods inherited from interface jpos.services.ToneIndicatorService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotifyMethods inherited from interface jpos.services.ToneIndicatorService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods inherited from interface jpos.services.ToneIndicatorService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
-
Field Details
-
ToneIndicatorInterface
Instance of a class implementing the ToneIndicatorInterface for tone indicator specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
ToneIndicatorService
Constructor. Stores property set and device driver implementation- Parameters:
props- Device service property set-device- Device driver implementation.
-
-
Method Details
-
getAsyncMode
public boolean getAsyncMode() throws jpos.JposExceptionDescription copied from class:JposBaseGet common property AsyncMode, see UPOS specification- Specified by:
getAsyncModein interfacejpos.services.ToneIndicatorService12- Overrides:
getAsyncModein classJposBase- Returns:
- property value
- Throws:
jpos.JposException- See UPOS specification, property
-
setAsyncMode
public void setAsyncMode(boolean b) throws jpos.JposExceptionDescription copied from class:JposBaseGet common property AsyncMode, see UPOS specification- Specified by:
setAsyncModein interfacejpos.services.ToneIndicatorService12- Overrides:
setAsyncModein classJposBase- Parameters:
b- New property value- Throws:
jpos.JposException- See UPOS specification, property PowerNotify
-
getCapMelody
public int getCapMelody() throws jpos.JposException- Specified by:
getCapMelodyin interfacejpos.services.ToneIndicatorService113- Throws:
jpos.JposException
-
getMelodyType
public int getMelodyType() throws jpos.JposException- Specified by:
getMelodyTypein interfacejpos.services.ToneIndicatorService113- Throws:
jpos.JposException
-
setMelodyType
public void setMelodyType(int i) throws jpos.JposException- Specified by:
setMelodyTypein interfacejpos.services.ToneIndicatorService113- Throws:
jpos.JposException
-
getMelodyVolume
public int getMelodyVolume() throws jpos.JposException- Specified by:
getMelodyVolumein interfacejpos.services.ToneIndicatorService113- Throws:
jpos.JposException
-
setMelodyVolume
public void setMelodyVolume(int i) throws jpos.JposException- Specified by:
setMelodyVolumein interfacejpos.services.ToneIndicatorService113- Throws:
jpos.JposException
-
getCapPitch
public boolean getCapPitch() throws jpos.JposException- Specified by:
getCapPitchin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getCapVolume
public boolean getCapVolume() throws jpos.JposException- Specified by:
getCapVolumein interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getInterToneWait
public int getInterToneWait() throws jpos.JposException- Specified by:
getInterToneWaitin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setInterToneWait
public void setInterToneWait(int i) throws jpos.JposException- Specified by:
setInterToneWaitin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getTone1Duration
public int getTone1Duration() throws jpos.JposException- Specified by:
getTone1Durationin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setTone1Duration
public void setTone1Duration(int i) throws jpos.JposException- Specified by:
setTone1Durationin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getTone1Pitch
public int getTone1Pitch() throws jpos.JposException- Specified by:
getTone1Pitchin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setTone1Pitch
public void setTone1Pitch(int i) throws jpos.JposException- Specified by:
setTone1Pitchin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getTone1Volume
public int getTone1Volume() throws jpos.JposException- Specified by:
getTone1Volumein interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setTone1Volume
public void setTone1Volume(int i) throws jpos.JposException- Specified by:
setTone1Volumein interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getTone2Duration
public int getTone2Duration() throws jpos.JposException- Specified by:
getTone2Durationin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setTone2Duration
public void setTone2Duration(int i) throws jpos.JposException- Specified by:
setTone2Durationin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getTone2Pitch
public int getTone2Pitch() throws jpos.JposException- Specified by:
getTone2Pitchin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setTone2Pitch
public void setTone2Pitch(int i) throws jpos.JposException- Specified by:
setTone2Pitchin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
getTone2Volume
public int getTone2Volume() throws jpos.JposException- Specified by:
getTone2Volumein interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
setTone2Volume
public void setTone2Volume(int i) throws jpos.JposException- Specified by:
setTone2Volumein interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
sound
public void sound(int numberOfCycles, int interSoundWait) throws jpos.JposException- Specified by:
soundin interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-
soundImmediate
public void soundImmediate() throws jpos.JposException- Specified by:
soundImmediatein interfacejpos.services.ToneIndicatorService12- Throws:
jpos.JposException
-