org.bidib.wizard.simulation.events.EmergencyStopStatusEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-simulation Show documentation
Show all versions of bidibwizard-simulation Show documentation
jBiDiB BiDiB Wizard Simulation POM
The newest version!
package org.bidib.wizard.simulation.events;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class EmergencyStopStatusEvent {
private final String nodeAddr;
private final boolean emergencyStop;
public EmergencyStopStatusEvent(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);
}
}