Class POSPowerService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.pospower.POSPowerService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.POSPowerService110
,jpos.services.POSPowerService111
,jpos.services.POSPowerService112
,jpos.services.POSPowerService113
,jpos.services.POSPowerService114
,jpos.services.POSPowerService115
,jpos.services.POSPowerService116
,jpos.services.POSPowerService15
,jpos.services.POSPowerService16
,jpos.services.POSPowerService17
,jpos.services.POSPowerService18
,jpos.services.POSPowerService19
POSPower service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the POSPowerInterface for POS power device 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
int
int
int
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
boolean
boolean
boolean
boolean
int
int
int
int
boolean
int
int
void
void
setBatteryCriticallyLowThreshold(int threshold)
void
setBatteryCriticallyLowThresholdInSeconds(int seconds)
void
setBatteryLowThreshold(int threshold)
void
setBatteryLowThresholdInSeconds(int seconds)
void
setEnforcedShutdownDelayTime(int delay)
void
void
standbyPOS(int reason)
void
suspendPOS(int reason)
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.POSPowerService15
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotify
Methods inherited from interface jpos.services.POSPowerService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods inherited from interface jpos.services.POSPowerService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
-
Field Details
-
POSPowerInterface
Instance of a class implementing the POSPowerInterface for POS power device specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
POSPowerService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapBatteryCapacityRemaining
public boolean getCapBatteryCapacityRemaining() throws jpos.JposException- Specified by:
getCapBatteryCapacityRemaining
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getCapFanAlarm
public boolean getCapFanAlarm() throws jpos.JposException- Specified by:
getCapFanAlarm
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getCapHeatAlarm
public boolean getCapHeatAlarm() throws jpos.JposException- Specified by:
getCapHeatAlarm
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getCapQuickCharge
public boolean getCapQuickCharge() throws jpos.JposException- Specified by:
getCapQuickCharge
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getCapRestartPOS
public boolean getCapRestartPOS() throws jpos.JposException- Specified by:
getCapRestartPOS
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getCapShutdownPOS
public boolean getCapShutdownPOS() throws jpos.JposException- Specified by:
getCapShutdownPOS
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getCapStandbyPOS
public boolean getCapStandbyPOS() throws jpos.JposException- Specified by:
getCapStandbyPOS
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getCapSuspendPOS
public boolean getCapSuspendPOS() throws jpos.JposException- Specified by:
getCapSuspendPOS
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getCapUPSChargeState
public int getCapUPSChargeState() throws jpos.JposException- Specified by:
getCapUPSChargeState
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getCapVariableBatteryCriticallyLowThreshold
public boolean getCapVariableBatteryCriticallyLowThreshold() throws jpos.JposException- Specified by:
getCapVariableBatteryCriticallyLowThreshold
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getCapVariableBatteryLowThreshold
public boolean getCapVariableBatteryLowThreshold() throws jpos.JposException- Specified by:
getCapVariableBatteryLowThreshold
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getBatteryCapacityRemaining
public int getBatteryCapacityRemaining() throws jpos.JposException- Specified by:
getBatteryCapacityRemaining
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getBatteryCriticallyLowThreshold
public int getBatteryCriticallyLowThreshold() throws jpos.JposException- Specified by:
getBatteryCriticallyLowThreshold
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
setBatteryCriticallyLowThreshold
public void setBatteryCriticallyLowThreshold(int threshold) throws jpos.JposException- Specified by:
setBatteryCriticallyLowThreshold
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getBatteryLowThreshold
public int getBatteryLowThreshold() throws jpos.JposException- Specified by:
getBatteryLowThreshold
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
setBatteryLowThreshold
public void setBatteryLowThreshold(int threshold) throws jpos.JposException- Specified by:
setBatteryLowThreshold
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getEnforcedShutdownDelayTime
public int getEnforcedShutdownDelayTime() throws jpos.JposException- Specified by:
getEnforcedShutdownDelayTime
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
setEnforcedShutdownDelayTime
public void setEnforcedShutdownDelayTime(int delay) throws jpos.JposException- Specified by:
setEnforcedShutdownDelayTime
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getPowerFailDelayTime
public int getPowerFailDelayTime() throws jpos.JposException- Specified by:
getPowerFailDelayTime
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getPowerSource
public int getPowerSource() throws jpos.JposException- Specified by:
getPowerSource
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getQuickChargeMode
public boolean getQuickChargeMode() throws jpos.JposException- Specified by:
getQuickChargeMode
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getQuickChargeTime
public int getQuickChargeTime() throws jpos.JposException- Specified by:
getQuickChargeTime
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
getUPSChargeState
public int getUPSChargeState() throws jpos.JposException- Specified by:
getUPSChargeState
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
restartPOS
public void restartPOS() throws jpos.JposException- Specified by:
restartPOS
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
shutdownPOS
public void shutdownPOS() throws jpos.JposException- Specified by:
shutdownPOS
in interfacejpos.services.POSPowerService15
- Throws:
jpos.JposException
-
standbyPOS
public void standbyPOS(int reason) throws jpos.JposException- Specified by:
standbyPOS
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
suspendPOS
public void suspendPOS(int reason) throws jpos.JposException- Specified by:
suspendPOS
in interfacejpos.services.POSPowerService19
- Throws:
jpos.JposException
-
getBatteryCapacityRemainingInSeconds
public int getBatteryCapacityRemainingInSeconds() throws jpos.JposException- Specified by:
getBatteryCapacityRemainingInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getBatteryCriticallyLowThresholdInSeconds
public int getBatteryCriticallyLowThresholdInSeconds() throws jpos.JposException- Specified by:
getBatteryCriticallyLowThresholdInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getBatteryLowThresholdInSeconds
public int getBatteryLowThresholdInSeconds() throws jpos.JposException- Specified by:
getBatteryLowThresholdInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getCapBatteryCapacityRemainingInSeconds
public boolean getCapBatteryCapacityRemainingInSeconds() throws jpos.JposException- Specified by:
getCapBatteryCapacityRemainingInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getCapChargeTime
public boolean getCapChargeTime() throws jpos.JposException- Specified by:
getCapChargeTime
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getCapVariableBatteryCriticallyLowThresholdInSeconds
public boolean getCapVariableBatteryCriticallyLowThresholdInSeconds() throws jpos.JposException- Specified by:
getCapVariableBatteryCriticallyLowThresholdInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getCapVariableBatteryLowThresholdInSeconds
public boolean getCapVariableBatteryLowThresholdInSeconds() throws jpos.JposException- Specified by:
getCapVariableBatteryLowThresholdInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
getChargeTime
public int getChargeTime() throws jpos.JposException- Specified by:
getChargeTime
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
setBatteryCriticallyLowThresholdInSeconds
public void setBatteryCriticallyLowThresholdInSeconds(int seconds) throws jpos.JposException- Specified by:
setBatteryCriticallyLowThresholdInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-
setBatteryLowThresholdInSeconds
public void setBatteryLowThresholdInSeconds(int seconds) throws jpos.JposException- Specified by:
setBatteryLowThresholdInSeconds
in interfacejpos.services.POSPowerService116
- Throws:
jpos.JposException
-