public class PumpingHourRangeModel extends java.lang.Object implements AsciiSerializable, hec.rss.model.reports.AltInputReportInfc
Title: HecJava Development
Description:
Copyright: Copyright (c) 2003
Company:
| Constructor and Description |
|---|
PumpingHourRangeModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeHoursLeftInPumpingTime(RunTimeStep rts) |
int |
computeIndex(RunTimeStep rts) |
int |
computePumpingWindow(RunTimeStep rts) |
int |
getBeginDateAt(int pos) |
int |
getEndDateAt(int pos) |
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
int |
getNumberValues() |
int |
getNumOfUnitsAt(int pos) |
int |
getNumUnitsAtTime(RunTimeStep rts)
Returns the number of pumping units on at a given time.
|
boolean |
getPumpInterval(RunTimeStep rts,
int[] startTime,
int[] endTime)
determines pumping interval for the given time step, return minutes from midnight
for start and end times in argument arrays
|
boolean |
isInPumpingPeriod(RunTimeStep rts) |
static void |
main(java.lang.String[] args) |
void |
outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
Alternative Input Report Interface for data.
|
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setNumberValues(int size) |
void |
setValueAt(int row,
int beginDate,
int endDate,
int noUnits) |
public int getNumberValues()
public void setNumberValues(int size)
public void setValueAt(int row,
int beginDate,
int endDate,
int noUnits)
public int getBeginDateAt(int pos)
pos - public int getEndDateAt(int pos)
pos - public int getNumOfUnitsAt(int pos)
public boolean getPumpInterval(RunTimeStep rts, int[] startTime, int[] endTime)
rts - tz - public boolean isInPumpingPeriod(RunTimeStep rts)
public int computePumpingWindow(RunTimeStep rts)
public int computeHoursLeftInPumpingTime(RunTimeStep rts)
public int computeIndex(RunTimeStep rts)
public int getNumUnitsAtTime(RunTimeStep rts)
rts - public static void main(java.lang.String[] args)
public java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorfld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorfld - The java field object representing the member field to be setfobj - The data to set in that fieldpublic void outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
hec.rss.model.reports.AltInputReportInfcoutputReport in interface hec.rss.model.reports.AltInputReportInfc