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 TypeMethodDescriptionboolean
Get common property AsyncMode, see UPOS specificationint
boolean
boolean
int
int
int
int
int
int
int
int
int
void
setAsyncMode(boolean b)
Get common property AsyncMode, see UPOS specificationvoid
setInterToneWait(int i)
void
setMelodyType(int i)
void
setMelodyVolume(int i)
void
setTone1Duration(int i)
void
setTone1Pitch(int i)
void
setTone1Volume(int i)
void
setTone2Duration(int i)
void
setTone2Pitch(int i)
void
setTone2Volume(int i)
void
sound(int numberOfCycles, int interSoundWait)
void
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, 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, 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.ToneIndicatorService12
clearOutput, getOutputID
Methods inherited from interface jpos.services.ToneIndicatorService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotify
Methods inherited from interface jpos.services.ToneIndicatorService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods 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:JposBase
Get common property AsyncMode, see UPOS specification- Specified by:
getAsyncMode
in interfacejpos.services.ToneIndicatorService12
- Overrides:
getAsyncMode
in classJposBase
- Returns:
- property value
- Throws:
jpos.JposException
- See UPOS specification, property
-
setAsyncMode
public void setAsyncMode(boolean b) throws jpos.JposExceptionDescription copied from class:JposBase
Get common property AsyncMode, see UPOS specification- Specified by:
setAsyncMode
in interfacejpos.services.ToneIndicatorService12
- Overrides:
setAsyncMode
in classJposBase
- Parameters:
b
- New property value- Throws:
jpos.JposException
- See UPOS specification, property PowerNotify
-
getCapMelody
public int getCapMelody() throws jpos.JposException- Specified by:
getCapMelody
in interfacejpos.services.ToneIndicatorService113
- Throws:
jpos.JposException
-
getMelodyType
public int getMelodyType() throws jpos.JposException- Specified by:
getMelodyType
in interfacejpos.services.ToneIndicatorService113
- Throws:
jpos.JposException
-
setMelodyType
public void setMelodyType(int i) throws jpos.JposException- Specified by:
setMelodyType
in interfacejpos.services.ToneIndicatorService113
- Throws:
jpos.JposException
-
getMelodyVolume
public int getMelodyVolume() throws jpos.JposException- Specified by:
getMelodyVolume
in interfacejpos.services.ToneIndicatorService113
- Throws:
jpos.JposException
-
setMelodyVolume
public void setMelodyVolume(int i) throws jpos.JposException- Specified by:
setMelodyVolume
in interfacejpos.services.ToneIndicatorService113
- Throws:
jpos.JposException
-
getCapPitch
public boolean getCapPitch() throws jpos.JposException- Specified by:
getCapPitch
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getCapVolume
public boolean getCapVolume() throws jpos.JposException- Specified by:
getCapVolume
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getInterToneWait
public int getInterToneWait() throws jpos.JposException- Specified by:
getInterToneWait
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setInterToneWait
public void setInterToneWait(int i) throws jpos.JposException- Specified by:
setInterToneWait
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getTone1Duration
public int getTone1Duration() throws jpos.JposException- Specified by:
getTone1Duration
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setTone1Duration
public void setTone1Duration(int i) throws jpos.JposException- Specified by:
setTone1Duration
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getTone1Pitch
public int getTone1Pitch() throws jpos.JposException- Specified by:
getTone1Pitch
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setTone1Pitch
public void setTone1Pitch(int i) throws jpos.JposException- Specified by:
setTone1Pitch
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getTone1Volume
public int getTone1Volume() throws jpos.JposException- Specified by:
getTone1Volume
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setTone1Volume
public void setTone1Volume(int i) throws jpos.JposException- Specified by:
setTone1Volume
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getTone2Duration
public int getTone2Duration() throws jpos.JposException- Specified by:
getTone2Duration
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setTone2Duration
public void setTone2Duration(int i) throws jpos.JposException- Specified by:
setTone2Duration
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getTone2Pitch
public int getTone2Pitch() throws jpos.JposException- Specified by:
getTone2Pitch
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setTone2Pitch
public void setTone2Pitch(int i) throws jpos.JposException- Specified by:
setTone2Pitch
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
getTone2Volume
public int getTone2Volume() throws jpos.JposException- Specified by:
getTone2Volume
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
setTone2Volume
public void setTone2Volume(int i) throws jpos.JposException- Specified by:
setTone2Volume
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
sound
public void sound(int numberOfCycles, int interSoundWait) throws jpos.JposException- Specified by:
sound
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-
soundImmediate
public void soundImmediate() throws jpos.JposException- Specified by:
soundImmediate
in interfacejpos.services.ToneIndicatorService12
- Throws:
jpos.JposException
-