Klasse PeripheralProcessModelEvent

java.lang.Object
org.opentcs.drivers.peripherals.management.PeripheralCommAdapterEvent
org.opentcs.drivers.peripherals.management.PeripheralProcessModelEvent
Alle implementierten Schnittstellen:
Serializable, LowLevelCommunicationEvent

public class PeripheralProcessModelEvent extends PeripheralCommAdapterEvent implements Serializable
Instances of this class represent events emitted by/for changes on PeripheralProcessModels.
Siehe auch:
  • Konstruktordetails

    • PeripheralProcessModelEvent

      public PeripheralProcessModelEvent(@Nonnull TCSResourceReference<Location> location, @Nonnull String attributeChanged, @Nonnull PeripheralProcessModel processModel)
      Creates a new instance.
      Parameter:
      location - The location assiciated with the peripheral device.
      attributeChanged - The name of the attribute that has changed in the process model.
      processModel - The process model with its current/changed state.
  • Methodendetails

    • getLocation

      public TCSResourceReference<Location> getLocation()
      Returns the location assiciated with the peripheral device.
      Gibt zurück:
      The location.
    • getAttributeChanged

      public String getAttributeChanged()
      Returns the name of the attribute that has changed in the process model.
      Gibt zurück:
      The name of the attribute that has changed in the process model.
    • getProcessModel

      public PeripheralProcessModel getProcessModel()
      Returns the process model with its current/changed state.
      Gibt zurück:
      The process model with its current/changed state.