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 Details

    • GPIOState

      public GPIOState(com.tccc.kos.commons.core.service.handle.Handle handle)
  • Method Details

    • getInput0

      public Boolean getInput0()
    • getInput1

      public Boolean getInput1()
    • getInput2

      public Boolean getInput2()
    • getInput3

      public Boolean getInput3()
    • setInput0

      public void setInput0(Boolean input0)
    • setInput1

      public void setInput1(Boolean input1)
    • setInput2

      public void setInput2(Boolean input2)
    • setInput3

      public void setInput3(Boolean input3)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.tccc.kos.commons.core.service.state.StateBean
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.tccc.kos.commons.core.service.state.StateBean