|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPlan
A numbered phase plan describing the running order of a set of phases and an offset to the first phase from some global time zero.
| Field Summary | |
|---|---|
static String |
IX_PLAN_SEPARATOR
|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
IUndoable |
addPhase(IUndoStack us,
int index,
IPhase phase)
|
IUndoable |
addPhase(IUndoStack us,
IPhase phase)
|
IController |
controller()
The signal controller to which this plan belongs |
double |
cycleTime()
The cycle time, in seconds. |
void |
cycleTime(double t)
Set the cycle time, in seconds. |
IUndoable |
delPhase(IUndoStack us,
IPhase phase)
|
Double |
greenTime(IPhase phase)
Return the green time, in seconds, for the given phase in this plan. |
void |
greenTime(IPhase phase,
double green)
Set the green time, in seconds, for the given phase in this plan |
Double[] |
greenTimes()
The green times for the phases in this plan, in the same order as the phases |
IPhase |
phaseAfter(IPhase phase)
return the phase after the given phase in the plan. |
double |
phaseOffset()
The offset time, in seconds. |
void |
phaseOffset(double offset)
Set the offset time, in seconds. |
IPhase[] |
phases()
The phases to which this plan applies, in the order in which they will be applied |
int |
planIndex()
The index number of this plan. |
ITerm |
term()
Returns the term for this plan. |
void |
term(ITerm term)
Set the term to which this plan applies. |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Methods inherited from interface com.azalient.api.ui.clipboard.IDeletable |
|---|
delete, deleted, name |
| Methods inherited from interface com.azalient.api.a.tables.IDescribed |
|---|
description |
| Field Detail |
|---|
static final String IX_PLAN_SEPARATOR
| Method Detail |
|---|
IController controller()
int planIndex()
IPhase[] phases()
Double[] greenTimes()
double cycleTime()
void cycleTime(double t)
double phaseOffset()
void phaseOffset(double offset)
IPhase phaseAfter(IPhase phase)
void term(ITerm term)
ITerm term()
void greenTime(IPhase phase,
double green)
Double greenTime(IPhase phase)
IUndoable addPhase(IUndoStack us,
IPhase phase)
IUndoable addPhase(IUndoStack us,
int index,
IPhase phase)
IUndoable delPhase(IUndoStack us,
IPhase phase)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||