Click or drag to resize

BaseClassCheckSpec Method

Checks if a value is valid.

Namespace: DWSIM.SharedClasses.UnitOperations
Assembly: DWSIM.SharedClasses (in DWSIM.SharedClasses.dll) Version: 8.8.1.0
Syntax
public void CheckSpec(
	double val,
	bool onlypositive,
	string paramname
)
Request Example View Source

Parameters

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