BaseClassCheckSpec Method |
Checks if a value is valid.
Namespace: DWSIM.SharedClasses.UnitOperationsAssembly: DWSIM.SharedClasses (in DWSIM.SharedClasses.dll) Version: 8.8.1.0
Syntax public void CheckSpec(
double val,
bool onlypositive,
string paramname
)
Public Sub CheckSpec (
val As Double,
onlypositive As Boolean,
paramname As String
)
Request Example
View SourceParameters
- val Double
- Value to be checked.
- onlypositive Boolean
- Value should be a positive double or not.
- paramname String
- Name of the parameter (ex. P, T, W, H etc.)
Implements
ISimulationObjectCheckSpec(Double, Boolean, String)See Also