/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DataObjects;

/**
 * This class stores the relevant data about a drum on the winch
 * 
 * @author  Johnny White, Noah Fujioka
 * @date    11/19/2014
 */
public class Winch{
    private DrumParameters drum;
    private Parachute parachute;
    private float brakePressure;
    private float batteryVoltage;

    public Winch() {
        drum = null;
        parachute = null;
        brakePressure = 0;
        batteryVoltage = 0;
    }
    
    public Winch(DrumParameters drum, Parachute parachute, float brakePressure, float batteryVoltage) {
        this.drum = drum;
        this.parachute = parachute;
        this.brakePressure = brakePressure;
        this.batteryVoltage = batteryVoltage;
    }
    
    public void setDrum(DrumParameters newDrum) {
        drum = newDrum;
    }
    
    public DrumParameters getDrum() {
        return drum;
    }
    
    public void setParachute(Parachute newParachute) {
        parachute = newParachute;
    }
    
    public Parachute getParachute() {
        return parachute;
    }
    
    public void setParachute(float newBrakePressure) {
        brakePressure = newBrakePressure;
    }
    
    public float getBrakePressure() {
        return brakePressure;
    }
    public void setBatteryVoltage(float newBatteryVoltage) {
        batteryVoltage = newBatteryVoltage;
    }
    
    public float getBatteryVoltage() {
        return batteryVoltage;
    }    
}

@@ -364,74 +364,8 @@
 ch%7B%0A
-    private DrumParameters drum;%0A    private Parachute parachute;%0A
     
@@ -583,50 +583,8 @@
 nch(
-DrumParameters drum, Parachute parachute, 
 floa
@@ -628,69 +628,8 @@
 ) %7B%0A
-        this.drum = drum;%0A        this.parachute = parachute;
 %0A   
@@ -725,337 +725,8 @@
   %7D%0A
-    %0A    public void setDrum(DrumParameters newDrum) %7B%0A        drum = newDrum;%0A    %7D%0A    %0A    public DrumParameters getDrum() %7B%0A        return drum;%0A    %7D%0A    %0A    public void setParachute(Parachute newParachute) %7B%0A        parachute = newParachute;%0A    %7D%0A    %0A    public Parachute getParachute() %7B%0A        return parachute;%0A    %7D
 %0A   

Update Winch.java