public class AutoStopConfig
extends java.lang.Object
Constructor and Description |
---|
AutoStopConfig() |
Modifier and Type | Method and Description |
---|---|
long |
getDurationInMs() |
java.lang.Boolean |
getGpiLevel() |
int |
getGpiPortNumber() |
AutoStopMode |
getMode() |
long |
getTimeout() |
void |
setDurationInMs(long durationInMs) |
void |
setGpiLevel(java.lang.Boolean gpiLevel) |
void |
setGpiPortNumber(int gpiPortNumber) |
void |
setMode(AutoStopMode mode) |
void |
setTimeout(long timeout) |
public AutoStopMode getMode()
public void setMode(AutoStopMode mode)
mode
- the desired auto stop mode for the devicepublic long getDurationInMs()
public void setDurationInMs(long durationInMs)
durationInMs
- the desired configuration for the periodic auto stop
modepublic int getGpiPortNumber()
public void setGpiPortNumber(int gpiPortNumber)
gpiPortNumber
- the desired GPI port number for the periodic auto
stop modepublic java.lang.Boolean getGpiLevel()
public void setGpiLevel(java.lang.Boolean gpiLevel)
gpiLevel
- the desired GPI level that will trigger an auto stop when
using the GPI auto stop mode.public long getTimeout()
public void setTimeout(long timeout)
timeout
- the desired timeout for the auto stop. This applies
only when the auto stop mode is GPI. A value of 0 indicates an indefinite
timeout