org.flexiblepower.efi.buffer
public class BufferSystemDescription extends BufferUpdate
Constructor and Description |
---|
BufferSystemDescription(BufferRegistration<?> bufferRegistration,
java.util.Date timestamp,
java.util.Date validFrom,
java.util.Collection<ActuatorBehaviour> actuators,
FillLevelFunction<LeakageRate> bufferLeakage)
Constructs a new
BufferSystemDescription message with the given parameters |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Collection<ActuatorBehaviour> |
getActuators() |
FillLevelFunction<LeakageRate> |
getBufferLeakage() |
double |
getLowerBound() |
double |
getUpperBound() |
int |
hashCode() |
protected void |
toString(java.lang.StringBuilder sb) |
getValidFrom
getResourceId, getResourceMessageId, getTimestamp, toString
public BufferSystemDescription(BufferRegistration<?> bufferRegistration, java.util.Date timestamp, java.util.Date validFrom, java.util.Collection<ActuatorBehaviour> actuators, FillLevelFunction<LeakageRate> bufferLeakage)
BufferSystemDescription
message with the given parametersbufferRegistration
- The original registration on which this message will be based. This will copy the resourceId from the
BufferRegistration
and will check if the defined actuator behaviour is complete.timestamp
- The moment when this constructor is calledvalidFrom
- This timestamp indicates from which moment on this update is valid.actuators
- This is a list of zero or more actuators that affect this buffer.bufferLeakage
- This attribute contains all the information on the leakage of this buffer.public java.util.Collection<ActuatorBehaviour> getActuators()
public FillLevelFunction<LeakageRate> getBufferLeakage()
public double getLowerBound()
public double getUpperBound()
public int hashCode()
hashCode
in class ControlSpaceUpdate
public boolean equals(java.lang.Object obj)
equals
in class ControlSpaceUpdate
protected void toString(java.lang.StringBuilder sb)
toString
in class ControlSpaceUpdate