|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMTripPlanSettings
Provides access to the trip planning settings.
Trip planning settings interface for controlling time intervals for driving, for rest, stop durations, and so on.
Method Summary | |
---|---|
Date |
getDayDriveEnd()
Time from midnight when driving must stop every day. |
Date |
getDayDriveStart()
Time from midnight when driving must start every day. |
short |
getDriveBetweenRest()
Driving time between rest breaks in minutes. |
short |
getDriveFlexibility()
Amount of driving time allowed after the DayDriveEnd time is reached. |
short |
getRestDuration()
The duration of rest breaks in minutes. |
Date |
getTripStart()
The start date of the trip. |
boolean |
isRestBreaksEnable()
Indicates whether periodic rest breaks are enabled. |
boolean |
isTripPlanningEnable()
Indicates whether trip planning is enabled. |
void |
setDayDriveEnd(Date pVal)
Time from midnight when driving must stop every day. |
void |
setDayDriveStart(Date pVal)
Time from midnight when driving must start every day. |
void |
setDriveBetweenRest(short pVal)
Driving time between rest breaks in minutes. |
void |
setDriveFlexibility(short pVal)
Amount of driving time allowed after the DayDriveEnd time is reached. |
void |
setRestBreaksEnable(boolean pVal)
Indicates whether periodic rest breaks are enabled. |
void |
setRestDuration(short pVal)
The duration of rest breaks in minutes. |
void |
setTripPlanningEnable(boolean pVal)
Indicates whether trip planning is enabled. |
void |
setTripStart(Date pVal)
The start date of the trip. |
Method Detail |
---|
boolean isTripPlanningEnable() throws IOException, AutomationException
Reads the value which enables trip planning during the route finding.
If TripPlanningEnable is set to True then router finds the route and generates directions using all settings made in ISMTripPlanSettings interface. Otherwise no trip planning is performed.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTripPlanningEnable(boolean pVal) throws IOException, AutomationException
Sets the enabled value of the trip planning during the route finding.
If TripPlanningEnable is set to True then router finds the route and generates directions using all settings made in ISMTripPlanSettings interface. Otherwise no trip planning is performed.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getTripStart() throws IOException, AutomationException
Returns the departure time for the first day of
travel.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTripStart(Date pVal) throws IOException, AutomationException
Sets the departure time for the first day of travel.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getDayDriveStart() throws IOException, AutomationException
Returns the departure time starting with day two.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDayDriveStart(Date pVal) throws IOException, AutomationException
Sets the departure time starting with day two.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getDayDriveEnd() throws IOException, AutomationException
Returns the time when driving must end everyday.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDayDriveEnd(Date pVal) throws IOException, AutomationException
Sets the time when driving must end everyday.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getDriveFlexibility() throws IOException, AutomationException
Returns the time (in minutes) that driving is allowed after the Drive End Time.
DriveFlexibility sets an additional time interval (in minutes) after drive day end that may be spent to reach the stop.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDriveFlexibility(short pVal) throws IOException, AutomationException
Sets the time (in minutes) that driving is allowed after the Drive End Time.
DriveFlexibility sets an additional time interval (in minutes) after drive day end that may be spent to reach the stop.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRestBreaksEnable() throws IOException, AutomationException
Returns the periodic rest breaks property that the route may require during the drive day.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRestBreaksEnable(boolean pVal) throws IOException, AutomationException
Sets the periodic rest breaks property that the route may require during the drive day.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getRestDuration() throws IOException, AutomationException
Returns the duration of the rest break in minutes.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRestDuration(short pVal) throws IOException, AutomationException
Sets the duration of the rest break in minutes.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getDriveBetweenRest() throws IOException, AutomationException
Returns the amount of time (in minutes) to drive between rest breaks.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDriveBetweenRest(short pVal) throws IOException, AutomationException
Sets the amount of time (in minutes) to drive between rest breaks.
pVal
- The pVal (in)
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 |