Class ImportLocations
java.lang.Object
java.lang.Thread
jmri.jmrit.operations.rollingstock.ImportCommon
jmri.jmrit.operations.locations.tools.ImportLocations
- All Implemented Interfaces:
Runnable
This routine will import Locations from a CSV file into the operations
database. The field order is: Location, Track, Type, Length, Used, Cars,
Locos, Moves, Division, Serviced by Trains Traveling, Rolling Stock, Track
Service Order, Road Option, Roads, Load Option, Loads, Ship Load Option,
Ships, Set Out Restrictions, Restrictions, Pick up Restrictions,
Restrictions, Schedule Name, Mode, Alternate Track, Pool name, Minimum, Track
Blocking Order, Planned Pick Ups, Track Destinations, Destinations, Hold
Cars, Disable Load Change, Swap default loads and empties, Empty cars with
default loads, Generate custom loads for spurs serviced by this train,
Generate custom loads for any spur (multiple trains), Generate custom loads
for any staging track, Block cars by pick up location, Comment, Comment when
there is only pick ups, Comment when there is only set outs
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescription(package private) DivisionManagerprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final int(package private) LocationManager(package private) intFields inherited from class jmri.jmrit.operations.rollingstock.ImportCommon
BREAK, fstatus, importLine, importOkay, lineNum, lineNumber, LOCATION_TRACK_SEPARATOR, NEW_LINEFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jmri.jmrit.operations.rollingstock.ImportCommon
createStatusFrame, getBufferedReader, getFile, parseCommaLine, readNextLineMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
locationManager
-
divisionManager
-
tracksAdded
int tracksAdded -
FIELD_LOCATION
- See Also:
-
FIELD_TRACK
- See Also:
-
FIELD_TYPE
- See Also:
-
FIELD_LENGTH
- See Also:
-
FIELD_USED
- See Also:
-
FIELD_CARS
- See Also:
-
FIELD_LOCOS
- See Also:
-
FIELD_MOVES
- See Also:
-
FIELD_DIVISION
- See Also:
-
FIELD_SERVICED_BY
- See Also:
-
FIELD_ROLLING_STOCK
- See Also:
-
FIELD_ORDER
- See Also:
-
FIELD_ROAD_OPTION
- See Also:
-
FIELD_ROADS
- See Also:
-
FIELD_LOAD_OPTION
- See Also:
-
FIELD_LOADS
- See Also:
-
FIELD_SHIP_LOAD_OPTION
- See Also:
-
FIELD_SHIPS
- See Also:
-
FIELD_SET_OUT_RESTRICTIONS
- See Also:
-
FIELD_RESTRICTIONS_1
- See Also:
-
FIELD_PICK_UP_RESTRICTIONS
- See Also:
-
FIELD_RESTRICTIONS_2
- See Also:
-
FIELD_SCHEDULE_NAME
- See Also:
-
FIELD_SCHEDULE_MODE
- See Also:
-
FIELD_PERCENT_STAGING
- See Also:
-
FIELD_ALTERNATE_TRACK
- See Also:
-
FIELD_POOL_NAME
- See Also:
-
FIELD_TRACK_MINIMUM_POOL
- See Also:
-
FIELD_TRACK_MAXIMUM_POOL
- See Also:
-
FIELD_TRACK_BLOCKING_ORDER
- See Also:
-
FIELD_PLANNED_PICK_UPS
- See Also:
-
FIELD_TRACK_DESTINATIONS
- See Also:
-
FIELD_DESTINATIONS
- See Also:
-
FIELD_HOLD_CARS_CUSTOM_LOADS
- See Also:
-
FIELD_DISABLE_LOAD_CHANGE
- See Also:
-
FIELD_SWAP_DEFAULT
- See Also:
-
FIELD_EMPTY_DEFAULT_LOADS
- See Also:
-
FIELD_EMPTY_CUSTOM_LOADS
- See Also:
-
FIELD_GENERATE_SPUR
- See Also:
-
FIELD_GENERATE_ANY_SPUR
- See Also:
-
FIELD_GENERATE_STAGING
- See Also:
-
FIELD_BLOCK_CARS_BY_PICKUP
- See Also:
-
FIELD_COMMENT
- See Also:
-
FIELD_COMMENT_BOTH
- See Also:
-
FIELD_COMMENT_PICKUPS
- See Also:
-
FIELD_COMMENT_SETOUTS
- See Also:
-
-
Constructor Details
-
ImportLocations
public ImportLocations()
-
-
Method Details