Class XDoubleSolenoid

java.lang.Object
xbot.common.controls.actuators.XDoubleSolenoid

public class XDoubleSolenoid extends Object
  • Field Details

    • isInverted

      protected boolean isInverted
    • forwardSolenoid

      public XSolenoid forwardSolenoid
    • reverseSolenoid

      public XSolenoid reverseSolenoid
  • Constructor Details

    • XDoubleSolenoid

      @AssistedInject public XDoubleSolenoid(@Assisted("forwardSolenoid") XSolenoid forwardSolenoid, @Assisted("reverseSolenoid") XSolenoid reverseSolenoid)
  • Method Details

    • setInverted

      public void setInverted(boolean isInverted)
    • setDoubleSolenoid

      public void setDoubleSolenoid(XDoubleSolenoid.DoubleSolenoidMode mode)
    • getDoubleSolenoidMode

      public XDoubleSolenoid.DoubleSolenoidMode getDoubleSolenoidMode()
    • getIsForward

      public boolean getIsForward()
    • getIsReverse

      public boolean getIsReverse()
    • getIsOff

      public boolean getIsOff()
    • setOff

      public void setOff()
    • setForward

      public void setForward()
    • setReverse

      public void setReverse()