org.bidib.wizard.simulation.events.EmergencyStopSetEvent Maven / Gradle / Ivy
package org.bidib.wizard.simulation.events;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class EmergencyStopSetEvent {
private final String nodeAddr;
private final boolean emergencyStop;
public EmergencyStopSetEvent(String nodeAddr, boolean emergencyStop) {
this.nodeAddr = nodeAddr;
this.emergencyStop = emergencyStop;
}
public String getNodeAddr() {
return nodeAddr;
}
public boolean getEmergencyStop() {
return emergencyStop;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}