// Path: osgi.enroute.trains.api/src/osgi/enroute/trains/cloud/api/Color.java
// public enum Color {
// 	GREEN, YELLOW, RED
// };
// 
// Path: osgi.enroute.trains.api/src/osgi/enroute/trains/cloud/api/Segment.java
// public class Segment extends DTO {
// 
// 	public enum Type {
// 		STRAIGHT, CURVED, SWITCH, SIGNAL, LOCATOR, BLOCK;
// 	}
// 	
// 
// 	/**
// 	 * Our Identity
// 	 */
// 	public String id;
// 	
// 	/**
// 	 * Type of the segment
// 	 */
//  	public Type type;
// 
// 	/**
//  	* Name of the track.This is the name required to get permission 
//  	* from the Track Manager. If this name starts with X then no admission is required. This 
//  	* is generally for switches.
//  	*/
//  	public String track;
//  	
// 	/**
// 	 * Sequence of the segment in the track
// 	 */
// 	public int sequence;
// 
// 	/**
// 	 * Length of the segment in millimeters, can be zero. It an be zero because
// 	 * the relation between the controllers and the switches and the signals is
// 	 * not always 1:1 mappable to controllers. Therefore zero sized segments can
// 	 * be used to map correctly.
// 	 */
// 	public int length;
// 
// 	/**
// 	 * Short code for RFID tag attached to this segment, or 0 for none.
// 	 */
// 	public int tagCode;
// 
// 	/**
// 	 * The associated controller
// 	 */
// 	public int controller = -1;
// 
// 	/**
// 	 * The next segment. Only a switch can have an additional to. The second to
// 	 * is the one selected if the switch is set to its alternative.
// 	 */
// 	public String to[];
// 	
// 	/**
// 	 * The previous segment. Only a switch can have an additional from. The second from
// 	 * is the one selected if the switch is set to its alternative.
// 	 */
// 	public String from[];
// 
// }


import org.osgi.dto.DTO;
import osgi.enroute.trains.cloud.api.Color;
import osgi.enroute.trains.cloud.api.Segment;
package osgi.enroute.trains.application;



public class SegmentPosition extends DTO {
	public enum Symbol {
		SWITCH, MERGE, SIGNAL,LOCATOR, BLOCK,PLAIN;
	}
	
	public Segment segment;
	public int x=-1, y=0, width=1;
	public Symbol symbol;
	public boolean alt = false;
	public String rfid;
// Path: osgi.enroute.trains.api/src/osgi/enroute/trains/cloud/api/Color.java
// public enum Color {
// 	GREEN, YELLOW, RED
// };
// 
// Path: osgi.enroute.trains.api/src/osgi/enroute/trains/cloud/api/Segment.java
// public class Segment extends DTO {
// 
// 	public enum Type {
// 		STRAIGHT, CURVED, SWITCH, SIGNAL, LOCATOR, BLOCK;
// 	}
// 	
// 
// 	/**
// 	 * Our Identity
// 	 */
// 	public String id;
// 	
// 	/**
// 	 * Type of the segment
// 	 */
//  	public Type type;
// 
// 	/**
//  	* Name of the track.This is the name required to get permission 
//  	* from the Track Manager. If this name starts with X then no admission is required. This 
//  	* is generally for switches.
//  	*/
//  	public String track;
//  	
// 	/**
// 	 * Sequence of the segment in the track
// 	 */
// 	public int sequence;
// 
// 	/**
// 	 * Length of the segment in millimeters, can be zero. It an be zero because
// 	 * the relation between the controllers and the switches and the signals is
// 	 * not always 1:1 mappable to controllers. Therefore zero sized segments can
// 	 * be used to map correctly.
// 	 */
// 	public int length;
// 
// 	/**
// 	 * Short code for RFID tag attached to this segment, or 0 for none.
// 	 */
// 	public int tagCode;
// 
// 	/**
// 	 * The associated controller
// 	 */
// 	public int controller = -1;
// 
// 	/**
// 	 * The next segment. Only a switch can have an additional to. The second to
// 	 * is the one selected if the switch is set to its alternative.
// 	 */
// 	public String to[];
// 	
// 	/**
// 	 * The previous segment. Only a switch can have an additional from. The second from
// 	 * is the one selected if the switch is set to its alternative.
// 	 */
// 	public String from[];
// 
// }


// Path: osgi.enroute.trains.application/src/osgi/enroute/trains/application/SegmentPosition.java
import org.osgi.dto.DTO;
import osgi.enroute.trains.cloud.api.Color;
import osgi.enroute.trains.cloud.api.Segment;

package osgi.enroute.trains.application;



public class SegmentPosition extends DTO {
	public enum Symbol {
		SWITCH, MERGE, SIGNAL,LOCATOR, BLOCK,PLAIN;
	}
	
	public Segment segment;
	public int x=-1, y=0, width=1;
	public Symbol symbol;
	public boolean alt = false;
	public String rfid;
	public Color color = Color.RED;