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 voidclose()Closes the connection to the instrument.AddressgetAddress()Returns any Address object used to connect to this instrument.static java.lang.StringgetDescription()java.lang.StringgetIDN()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.StringgetName()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, DeviceExceptionDescription copied from interface:InstrumentReturns an identifying String of the instrument.- Specified by:
getIDNin 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:InstrumentReturns the name of the instrument or channel.- Specified by:
getNamein interfaceInstrument- Returns:
- Name
-
close
public void close() throws java.io.IOException, DeviceExceptionDescription copied from interface:InstrumentCloses the connection to the instrument.- Specified by:
closein interfaceInstrument- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon incompatibility with device
-
getAddress
public Address getAddress()
Description copied from interface:InstrumentReturns any Address object used to connect to this instrument.- Specified by:
getAddressin interfaceInstrument- Returns:
- Address object, null if none
-
getInputs
public java.util.List<TC.TMeter> getInputs()
Description copied from interface:PIDReturns a list of all input channels connected to this PID controller.
-
getOutputs
public java.util.List<TC.Heater> getOutputs()
Description copied from interface:PIDReturns a list of all output channels connected to this PID controller.- Specified by:
getOutputsin interfacePID- Returns:
- List of output channels
-
-