gov.nasa.javaGenes.EOSscheduling
Class AccessWindow
java.lang.Object
gov.nasa.javaGenes.EOSscheduling.AccessWindow
- All Implemented Interfaces:
- java.io.Serializable
- public class AccessWindow
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sensor
protected Sensor sensor
start
protected int start
end
protected int end
duration
protected int duration
pointingRequirements
protected java.util.Vector pointingRequirements
number
protected int number
AccessWindow
public AccessWindow()
AccessWindow
public AccessWindow(int inStart,
int inEnd)
AccessWindow
public AccessWindow(int inStart,
int inEnd,
Sensor inSensor)
getNumber
public int getNumber()
setNumber
public void setNumber(int inNumber)
couldBeScheduledWith
public boolean couldBeScheduledWith(AccessWindow other)
- test for sensor, slewing and time compatibility. Assumes that
the task duration is equal to the duration of the AccessWindow
overlapInTimeWith
public boolean overlapInTimeWith(AccessWindow other)
getReportHeader
public static java.lang.String getReportHeader()
reportTo
public void reportTo(int taskNumber,
java.io.PrintWriter p)
getSensor
public Sensor getSensor()
getStart
public int getStart()
getEnd
public int getEnd()
getDuration
public int getDuration()
getSatellite
public Satellite getSatellite()
setSensor
public void setSensor(Sensor inSensor)
setStart
public void setStart(int time)
setEnd
public void setEnd(int time)
getSSRtime
public int getSSRtime()
calculateDuration
protected void calculateDuration()
addPointingRequirement
public void addPointingRequirement(PointingRequirement p)
shrinkAroundMiddle
public void shrinkAroundMiddle(int windowDuration)
setSlewingToLargestPointing
public void setSlewingToLargestPointing(Sensor sensor)
getSlewRequirement
public SlewRequirement getSlewRequirement()
setSlewRequirement
public void setSlewRequirement(SlewRequirement inSlewRequirement)
getTimeAtMiddle
public int getTimeAtMiddle()
isWithin
public boolean isWithin(int time)
deletePointingData
public void deletePointingData()