Package jisa.devices.temperature
Class FakeTC
- java.lang.Object
-
- jisa.devices.temperature.FakeTC
-
- All Implemented Interfaces:
Instrument
,MultiInstrument
,PID
,TC
public class FakeTC extends java.lang.Object implements TC
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.Instrument
Instrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.PID
PID.Input, PID.Output, PID.Zone
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.TC
TC.Heater, TC.Loop, TC.TMeter, TC.ZonedLoop
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the connection to the instrument.Address
getAddress()
Returns any Address object used to connect to this instrument.static java.lang.String
getDescription()
java.lang.String
getIDN()
Returns an identifying String of the instrument.java.util.List<TC.TMeter>
getInputs()
Returns a list of all input channels connected to this PID controller.java.util.List<TC.Loop>
getLoops()
Returns a list of all control loops provided by this PID controller.java.lang.String
getName()
Returns the name of the instrument or channel.java.util.List<TC.Heater>
getOutputs()
Returns a list of all output channels connected to this PID controller.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.devices.interfaces.Instrument
getConfigurationParameters, getConfigurationParameters, getLockObject, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.MultiInstrument
contains, contains, get, getSubInstruments, getSubInstruments
-
Methods inherited from interface jisa.devices.interfaces.TC
get, getHeaters, getLoop, getSubInstrument, getSubInstrumentTypes, getThermometers
-
-
-
-
Constructor Detail
-
FakeTC
public FakeTC(Address address)
-
-
Method Detail
-
getDescription
public static java.lang.String getDescription()
-
getIDN
public java.lang.String getIDN() throws java.io.IOException, DeviceException
Description copied from interface:Instrument
Returns an identifying String of the instrument.- Specified by:
getIDN
in interfaceInstrument
- Returns:
- Identifying String
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- Upon incompatibility with device
-
getName
public java.lang.String getName()
Description copied from interface:Instrument
Returns the name of the instrument or channel.- Specified by:
getName
in interfaceInstrument
- Returns:
- Name
-
close
public void close() throws java.io.IOException, DeviceException
Description copied from interface:Instrument
Closes the connection to the instrument.- Specified by:
close
in interfaceInstrument
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- Upon incompatibility with device
-
getAddress
public Address getAddress()
Description copied from interface:Instrument
Returns any Address object used to connect to this instrument.- Specified by:
getAddress
in interfaceInstrument
- Returns:
- Address object, null if none
-
getInputs
public java.util.List<TC.TMeter> getInputs()
Description copied from interface:PID
Returns a list of all input channels connected to this PID controller.
-
getOutputs
public java.util.List<TC.Heater> getOutputs()
Description copied from interface:PID
Returns a list of all output channels connected to this PID controller.- Specified by:
getOutputs
in interfacePID
- Returns:
- List of output channels
-
-