/*
 * 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 float brakePressure;
    private float batteryVoltage;

    public Winch() {
        //drum = null;
        //parachute = null;
        brakePressure = 0;
        batteryVoltage = 0;
    }
    
    public Winch(float brakePressure, float batteryVoltage) {

        this.brakePressure = brakePressure;
        this.batteryVoltage = batteryVoltage;
    }

    
    public void setParachute(float newBrakePressure) {
        brakePressure = newBrakePressure;
    }
    
    public float getBrakePressure() {
        return brakePressure;
    }
    public void setBatteryVoltage(float newBatteryVoltage) {
        batteryVoltage = newBatteryVoltage;
    }
    
    public float getBatteryVoltage() {
        return batteryVoltage;
    }    
}

@@ -396,42 +396,8 @@
 ure;
-%0A    private float batteryVoltage;
 %0A%0A  
@@ -497,36 +497,8 @@
  0;%0A
-        batteryVoltage = 0;%0A
     
@@ -544,30 +544,8 @@
 sure
-, float batteryVoltage
 ) %7B%0A
@@ -593,54 +593,8 @@
 re;%0A
-        this.batteryVoltage = batteryVoltage;%0A
     
@@ -624,16 +624,20 @@
  set
-Parachut
+BrakePressur
 e(fl
@@ -791,202 +791,6 @@
   %7D%0A
-    public void setBatteryVoltage(float newBatteryVoltage) %7B%0A        batteryVoltage = newBatteryVoltage;%0A    %7D%0A    %0A    public float getBatteryVoltage() %7B%0A        return batteryVoltage;%0A    %7D    %0A
 %7D%0A

Update Winch.java