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 TypeMethodDescriptionintintintintintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintbooleanbooleanbooleanbooleanintintintintbooleanintintvoidvoidsetBatteryCriticallyLowThreshold(int threshold)voidsetBatteryCriticallyLowThresholdInSeconds(int seconds)voidsetBatteryLowThreshold(int threshold)voidsetBatteryLowThresholdInSeconds(int seconds)voidsetEnforcedShutdownDelayTime(int delay)voidvoidstandbyPOS(int reason)voidsuspendPOS(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, 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.POSPowerService15
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotifyMethods inherited from interface jpos.services.POSPowerService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods 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:
getCapBatteryCapacityRemainingin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getCapFanAlarm
public boolean getCapFanAlarm() throws jpos.JposException- Specified by:
getCapFanAlarmin interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getCapHeatAlarm
public boolean getCapHeatAlarm() throws jpos.JposException- Specified by:
getCapHeatAlarmin interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getCapQuickCharge
public boolean getCapQuickCharge() throws jpos.JposException- Specified by:
getCapQuickChargein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getCapRestartPOS
public boolean getCapRestartPOS() throws jpos.JposException- Specified by:
getCapRestartPOSin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getCapShutdownPOS
public boolean getCapShutdownPOS() throws jpos.JposException- Specified by:
getCapShutdownPOSin interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getCapStandbyPOS
public boolean getCapStandbyPOS() throws jpos.JposException- Specified by:
getCapStandbyPOSin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getCapSuspendPOS
public boolean getCapSuspendPOS() throws jpos.JposException- Specified by:
getCapSuspendPOSin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getCapUPSChargeState
public int getCapUPSChargeState() throws jpos.JposException- Specified by:
getCapUPSChargeStatein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getCapVariableBatteryCriticallyLowThreshold
public boolean getCapVariableBatteryCriticallyLowThreshold() throws jpos.JposException- Specified by:
getCapVariableBatteryCriticallyLowThresholdin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getCapVariableBatteryLowThreshold
public boolean getCapVariableBatteryLowThreshold() throws jpos.JposException- Specified by:
getCapVariableBatteryLowThresholdin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getBatteryCapacityRemaining
public int getBatteryCapacityRemaining() throws jpos.JposException- Specified by:
getBatteryCapacityRemainingin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getBatteryCriticallyLowThreshold
public int getBatteryCriticallyLowThreshold() throws jpos.JposException- Specified by:
getBatteryCriticallyLowThresholdin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
setBatteryCriticallyLowThreshold
public void setBatteryCriticallyLowThreshold(int threshold) throws jpos.JposException- Specified by:
setBatteryCriticallyLowThresholdin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getBatteryLowThreshold
public int getBatteryLowThreshold() throws jpos.JposException- Specified by:
getBatteryLowThresholdin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
setBatteryLowThreshold
public void setBatteryLowThreshold(int threshold) throws jpos.JposException- Specified by:
setBatteryLowThresholdin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getEnforcedShutdownDelayTime
public int getEnforcedShutdownDelayTime() throws jpos.JposException- Specified by:
getEnforcedShutdownDelayTimein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
setEnforcedShutdownDelayTime
public void setEnforcedShutdownDelayTime(int delay) throws jpos.JposException- Specified by:
setEnforcedShutdownDelayTimein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getPowerFailDelayTime
public int getPowerFailDelayTime() throws jpos.JposException- Specified by:
getPowerFailDelayTimein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getPowerSource
public int getPowerSource() throws jpos.JposException- Specified by:
getPowerSourcein interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getQuickChargeMode
public boolean getQuickChargeMode() throws jpos.JposException- Specified by:
getQuickChargeModein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getQuickChargeTime
public int getQuickChargeTime() throws jpos.JposException- Specified by:
getQuickChargeTimein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
getUPSChargeState
public int getUPSChargeState() throws jpos.JposException- Specified by:
getUPSChargeStatein interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
restartPOS
public void restartPOS() throws jpos.JposException- Specified by:
restartPOSin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
shutdownPOS
public void shutdownPOS() throws jpos.JposException- Specified by:
shutdownPOSin interfacejpos.services.POSPowerService15- Throws:
jpos.JposException
-
standbyPOS
public void standbyPOS(int reason) throws jpos.JposException- Specified by:
standbyPOSin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
suspendPOS
public void suspendPOS(int reason) throws jpos.JposException- Specified by:
suspendPOSin interfacejpos.services.POSPowerService19- Throws:
jpos.JposException
-
getBatteryCapacityRemainingInSeconds
public int getBatteryCapacityRemainingInSeconds() throws jpos.JposException- Specified by:
getBatteryCapacityRemainingInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getBatteryCriticallyLowThresholdInSeconds
public int getBatteryCriticallyLowThresholdInSeconds() throws jpos.JposException- Specified by:
getBatteryCriticallyLowThresholdInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getBatteryLowThresholdInSeconds
public int getBatteryLowThresholdInSeconds() throws jpos.JposException- Specified by:
getBatteryLowThresholdInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getCapBatteryCapacityRemainingInSeconds
public boolean getCapBatteryCapacityRemainingInSeconds() throws jpos.JposException- Specified by:
getCapBatteryCapacityRemainingInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getCapChargeTime
public boolean getCapChargeTime() throws jpos.JposException- Specified by:
getCapChargeTimein interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getCapVariableBatteryCriticallyLowThresholdInSeconds
public boolean getCapVariableBatteryCriticallyLowThresholdInSeconds() throws jpos.JposException- Specified by:
getCapVariableBatteryCriticallyLowThresholdInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getCapVariableBatteryLowThresholdInSeconds
public boolean getCapVariableBatteryLowThresholdInSeconds() throws jpos.JposException- Specified by:
getCapVariableBatteryLowThresholdInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
getChargeTime
public int getChargeTime() throws jpos.JposException- Specified by:
getChargeTimein interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
setBatteryCriticallyLowThresholdInSeconds
public void setBatteryCriticallyLowThresholdInSeconds(int seconds) throws jpos.JposException- Specified by:
setBatteryCriticallyLowThresholdInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-
setBatteryLowThresholdInSeconds
public void setBatteryLowThresholdInSeconds(int seconds) throws jpos.JposException- Specified by:
setBatteryLowThresholdInSecondsin interfacejpos.services.POSPowerService116- Throws:
jpos.JposException
-