strolch-plc/plc-model/src/main/java/li/strolch/plc/model/PlcResponseState.java

25 lines
320 B
Java

package li.strolch.plc.model;
public enum PlcResponseState {
Pending,
Sent,
Done,
Failed;
public boolean isPending() {
return this == Sent;
}
public boolean isSent() {
return this == Sent;
}
public boolean isDone() {
return this == Done;
}
public boolean isFailed() {
return this == Failed;
}
}