You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
477 B
23 lines
477 B
package de.srsoftware.web4rail.actions; |
|
|
|
import de.srsoftware.web4rail.BaseClass; |
|
|
|
public class BrakeStart extends Action { |
|
|
|
public BrakeStart(BaseClass parent) { |
|
super(parent); |
|
} |
|
|
|
@Override |
|
public boolean fire(Context context) { |
|
if (isNull(context.route())) return false; |
|
context.route().brakeStart(); |
|
LOG.debug("Started brake process..."); |
|
return true; |
|
} |
|
|
|
@Override |
|
protected void removeChild(BaseClass child) { |
|
// this class has no child elements |
|
} |
|
}
|
|
|