Package hec.rss.model
Interface ElementOp
- All Known Implementing Classes:
DiversionOp,ReservoirOp
public interface ElementOp
interface for ReservoirOp and DiversionOp so they can be accessed through and interface instead of class type
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteControllerReferences(int index) voiddeleteOpRule(OpRule rule) voiddeterminePhysicalLimits(OpController opController, RunTimeStep rts) getConditionalBlock(int m_conditionalBlockId) getController(int controllerIndex) getController(Element re) getControllerConstraintNameByID(int constraintid) getControllerRuleNameByID(int ruleid) intgetOperationSet(int opsetId) getOperationSet(String string) getRules()intbooleanisRuleActive(OpRule opRule, RunTimeStep rts) voidprintErrorMessage(String message) voidprintMessage(String msg)
-
Method Details
-
getController
OpController getController()- Returns:
-
getOperationsElement
OperationsElement getOperationsElement()- Returns:
-
getUnitSystem
int getUnitSystem()- Returns:
-
getControllers
Vector<OpController> getControllers() -
getGmtOffset
int getGmtOffset() -
getOperationSets
- Returns:
-
getOperationSet
- Parameters:
opsetId-- Returns:
-
getOperationSet
- Parameters:
string-- Returns:
-
getController
- Parameters:
controllerIndex-- Returns:
-
newController
OpController newController()- Returns:
-
getControllerRuleNameByID
- Parameters:
ruleid-- Returns:
-
getControllerConstraintNameByID
- Parameters:
constraintid-- Returns:
-
getController
- Parameters:
re-- Returns:
-
deleteControllerReferences
void deleteControllerReferences(int index) - Parameters:
index-
-
printErrorMessage
- Parameters:
string-
-
printMessage
- Parameters:
string-
-
determinePhysicalLimits
- Parameters:
opController-rts-
-
getOpSetTable
Hashtable<intContainer,OpSet> getOpSetTable()- Returns:
-
isRuleActive
- Parameters:
opRule-rts-- Returns:
-
getRules
- Returns:
-
getActiveOpSet
OpSet getActiveOpSet()- Returns:
-
deleteOpRule
- Parameters:
rule-
-
getConditionalBlock
- Parameters:
m_conditionalBlockId-- Returns:
-