Class PID.ZonedLoop

  • All Implemented Interfaces:
    Instrument, PID.Loop
    Direct Known Subclasses:
    TC.ZonedLoop
    Enclosing interface:
    PID

    public abstract static class PID.ZonedLoop
    extends java.lang.Object
    implements PID.Loop
    Partial implementation of PID.Loop with pre-defined, software-based PID zoning
    • Constructor Detail

      • ZonedLoop

        public ZonedLoop()
    • Method Detail

      • setPIDZones

        public void setPIDZones​(java.util.List<PID.Zone> zones)
                         throws java.io.IOException,
                                DeviceException
        Description copied from interface: PID.Loop
        Sets the zones to use if PID zoning were to be enabled.
        Specified by:
        setPIDZones in interface PID.Loop
        Parameters:
        zones - List of PID.Zone objects representing the PID zone table to use
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getPIDZones

        public java.util.List<PID.Zone> getPIDZones()
        Description copied from interface: PID.Loop
        Returns a list of the currently configured PID zones to use for when PID zoning is enabled.
        Specified by:
        getPIDZones in interface PID.Loop
        Returns:
        List of configured PID zones
      • setPIDZoningEnabled

        public void setPIDZoningEnabled​(boolean flag)
                                 throws DeviceException,
                                        java.io.IOException
        Description copied from interface: PID.Loop
        Sets whether PID zoning should be enabled for this loop or not.
        Specified by:
        setPIDZoningEnabled in interface PID.Loop
        Parameters:
        flag - Should it be enabled?
        Throws:
        DeviceException - Upon compatibility error
        java.io.IOException - Upon communications error
      • isPIDZoningEnabled

        public boolean isPIDZoningEnabled()
        Description copied from interface: PID.Loop
        Returns whether PID zoning is currently enabled for this loop or not.
        Specified by:
        isPIDZoningEnabled in interface PID.Loop
        Returns:
        Is it enabled?