public void setPort(SerialPort port) {
this.siPort = port;
}
private void configure() {
portHandler = new SIPortHandler(new ResultData());
portHandler.addListener(this);
portHandler.setPortName(getPort().name());
portHandler.setDebugDir(stage().getBaseDir());
changeZeroTime();
}