Class GPIOState
java.lang.Object
com.tccc.kos.commons.core.service.state.StateBean
com.tccc.kos.ext.freestyle.hardware.can.subnode.GPIOState
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.handle.HandleAware
,Cloneable
public class GPIOState
extends com.tccc.kos.commons.core.service.state.StateBean
State bean to hold the gpio state. Until the board is online, the state
of all the inputs will be null as the actual state is undefined. If the
board unlinks, the state will revert back to null until the state is
known again when the board comes back online.
- Version:
- Jul-1-17
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tccc.kos.commons.core.service.state.StateBean
addListener, broadcast, getHandle, getPath, getView, removeListener, setView
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName
-
Constructor Details
-
GPIOState
public GPIOState(com.tccc.kos.commons.core.service.handle.Handle handle)
-
-
Method Details
-
getInput0
-
getInput1
-
getInput2
-
getInput3
-
setInput0
-
setInput1
-
setInput2
-
setInput3
-
toString
-
equals
- Overrides:
equals
in classcom.tccc.kos.commons.core.service.state.StateBean
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.tccc.kos.commons.core.service.state.StateBean
-