Examples of GRTSolenoid


Examples of com.grt192.actuator.GRTSolenoid

  private int activeBarrel;
  private int inactiveBarrel;

  public CBCannon(int tasolpin, int tbsolpin, int tssolpin1, int tssolpin2,
      GRTCompressor compressor) {
    this(new GRTSolenoid(tasolpin), new GRTSolenoid(tbsolpin),
        new GRTTwoWaySolenoid(tssolpin1, tssolpin2),
        compressor);

  }
View Full Code Here

Examples of com.grt192.actuator.GRTSolenoid

     */
    public HauntedHouseMechanism(int solPin) {
        //we identify mechanisms by solenoid
        solenoidID = "Solenoid" + solPin;

        solenoid = new GRTSolenoid(solPin);
        addActuator(solenoidID, solenoid);
        solenoid.start();

//        this.extended = true;
    }
View Full Code Here

Examples of com.grt192.actuator.GRTSolenoid

        this.solPin = solPin;

        switchID = "Switch" + switchPin;
        solenoidID = "Solenoid" + solPin;

        solenoid = new GRTSolenoid(solPin);
        sswitch = new GRTSwitch(switchPin, 50, switchID);

//        this.extended = true;
        init();
    }
View Full Code Here

Examples of com.grt192.actuator.GRTSolenoid

     * @param conn RPCConnection to receive commands from
     * @param rpcKey RPC key to listen on
     * @return
     */
    public static RPCSolenoidValve starteFromIDs(int slotID, int solenoidID, RPCConnection conn, int rpcKey){
        GRTSolenoid s = new GRTSolenoid(slotID, solenoidID);
        s.start();

        RPCSolenoidValve rpcsv = new RPCSolenoidValve(s, conn, rpcKey);
        rpcsv.startListening();
        return rpcsv;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.