summaryrefslogtreecommitdiff
path: root/trunk/users/adrian/host/src/org/reprap/devices/NullExtruder.java
blob: 5d17e743c4ea41ceebdb4e6168194a0323b6a9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * 
 */
package org.reprap.devices;

import java.io.IOException;
import org.reprap.Printer;

/**
 * @author Adrian
 *
 */
public class NullExtruder extends GenericExtruder
{
	/**
	 * @param extruderId
	 */
	public NullExtruder(int extruderId, Printer p)
	{
		super(extruderId, p);
	}
	
	public void setExtrusion(double speed, boolean reverse) throws IOException {}
	public void setCooler(boolean f) throws IOException {}
	public void setValve(boolean valveOpen) throws IOException {}
	public void heatOn() throws Exception {}
	public void setHeater(int heat, double maxTemp) throws IOException {}
	public void setTemperature(double temperature) throws Exception {}
	/**
	 * Purge the extruder
	 */
	public void purge() {}

	public boolean isEmpty()
	{
		return false;
	}
	
	public double getTemperature()
	{
		return getTemperatureTarget();
	}
	
}