public boolean measurementStop() {
    boolean res = false;

    if (connection.isConnected()) {
      res = setMode(Mode.TRACK_EMPTYING.getValue());
    }

    return res;
  }
  public boolean cleaningStop() {
    boolean res = false;

    if (connection.isConnected()) {
      boolean r1 =
          setDelay(
              Register.SINGLE_LENGTH_TURN_TIME,
              Utility.calcTime(PlcConstants.TRACK_LENGTH / 2, PlcConstants.SLOW_TRACK_SPEED));
      boolean r2 = setMode(Mode.TRACK_EMPTYING.getValue());

      res = r1 && r2;
    }

    return res;
  }