|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INARouteSolver2
Provides access to the route solver.
The INARouteSolver2 interface is used by the NARouteSolver and NAServerRouteParams objects to access the properties of the route solver.
Method Summary | |
---|---|
Date |
getStartTime()
Specifies the time the route begins. |
boolean |
isUseStartTime()
Indicates if the solver should start the route at a particular time. |
void |
setStartTime(Date value)
Specifies the time the route begins. |
void |
setUseStartTime(boolean value)
Indicates if the solver should start the route at a particular time. |
Methods inherited from interface com.esri.arcgis.networkanalyst.INARouteSolver |
---|
getOutputLines, isCreateTraversalResult, isFindBestSequence, isPreserveFirstStop, isPreserveLastStop, isUseTimeWindows, setCreateTraversalResult, setFindBestSequence, setOutputLines, setPreserveFirstStop, setPreserveLastStop, setUseTimeWindows |
Method Detail |
---|
void setUseStartTime(boolean value) throws IOException, AutomationException
UseStartTime specifies whether or not you want the solver to track the start time of the route. This property is used in conjunction with StartTime which specifies the actual start time.
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseStartTime() throws IOException, AutomationException
UseStartTime specifies whether or not you want the solver to track the start time of the route. This property is used in conjunction with StartTime, which specifies the actual start time.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStartTime(Date value) throws IOException, AutomationException
StartTime specifies the route's start time. This property is used in conjunction with the UseStartTime property which specifies if the start time is used or not. The allowable date range (for explicit dates) is 1/1/1901 through 12/31/9999.
To specify days of the week, use the following chart:
Interpreted Day | Specific Date to Pass to the Solver |
---|---|
Today | 12/30/1899 |
Sunday | 12/31/1899 |
Monday | 1/1/1900 |
Tuesday | 1/2/1900 |
Wednesday | 1/3/1900 |
Thursday | 1/4/1900 |
Friday | 1/5/1900 |
Saturday | 1/6/1900 |
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getStartTime() throws IOException, AutomationException
StartTime specifies the route's start time. This property is used in conjunction with the UseStartTime property which specifies if the start time is used or not. The allowable date range (for explicit dates) is 1/1/1901 through 12/31/9999.
To specify days of the week, use the following chart:
Interpreted Day | Specific Date to Pass to the Solver |
---|---|
Today | 12/30/1899 |
Sunday | 12/31/1899 |
Monday | 1/1/1900 |
Tuesday | 1/2/1900 |
Wednesday | 1/3/1900 |
Thursday | 1/4/1900 |
Friday | 1/5/1900 |
Saturday | 1/6/1900 |
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |