BaseClassCheckSpec Method

Checks if a value is valid.

Definition

Namespace: DWSIM.SharedClasses.UnitOperations
Assembly: DWSIM.SharedClasses (in DWSIM.SharedClasses.dll) Version: 10.0.0.0
public void CheckSpec(
	double val,
	bool onlypositive,
	string paramname
)

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