Examples of Rail


Examples of at.dotti.railway.manager.rails.Rail

    Platform p2 = new SimplePlatform();
    Platform p3 = new SimplePlatform();
    klbgWdlg.addPlatform(p1);
    klbgWdlg.addPlatform(p2);
    klbgWdlg.addPlatform(p3);
    Rail p1r1 = new SimpleRail();
    p1.addRail(p1r1);
    Rail p2r1 = new SimpleRail();
    p2.addRail(p2r1);
    Rail p3r1 = new SimpleRail();
    p3.addRail(p3r1);

    System.out.println(klbgWdlg);
  }
View Full Code Here

Examples of uk.org.naptan.StopClassificationStructure.OffStreet.Rail

    StopClassificationStructure classification = stopPoint.getStopClassification();
    OffStreet offstreet = classification.getOffStreet();
    if (offstreet == null) {
      return null;
    }
    Rail rail = offstreet.getRail();
    if (rail == null) {
      return null;
    }
    for (AnnotatedRailRefStructure ref : rail.getAnnotatedRailRef()) {
      if (ref.getTiplocRef() != null) {
        return ref.getTiplocRef();
      }
    }
    return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.