Add an interface to allow export of pvc motors
[sw/motorsim] / src / com / billkuker / rocketry / motorsim / io / ENGExporter.java
index d1f4879f621f3fe9e5d88036238b4dd562ad9c2e..1a9f273c1b8daf9c4060c3571ba1ade19e38650f 100644 (file)
@@ -15,8 +15,8 @@ import javax.measure.unit.SI;
 import org.jscience.physics.amount.Amount;
 
 import com.billkuker.rocketry.motorsim.Burn;
-import com.billkuker.rocketry.motorsim.CylindricalChamber;
 import com.billkuker.rocketry.motorsim.GraphSimplifier;
+import com.billkuker.rocketry.motorsim.ICylindricalChamber;
 
 public class ENGExporter {
 
@@ -32,7 +32,7 @@ public class ENGExporter {
 
        public static void export(Burn b, OutputStream os) throws IOException {
 
-               CylindricalChamber cha = (CylindricalChamber) b.getMotor().getChamber();
+               ICylindricalChamber cha = (ICylindricalChamber) b.getMotor().getChamber();
 
                NumberFormat nf = new DecimalFormat("00.####");