Curve Class

Represents a single performance curve defined by paired X/Y data points, a curve type, display name, and units for each axis.

Definition

Namespace: DWSIM.UnitOperations.UnitOperations.Auxiliary.PumpOps
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
[SerializableAttribute]
public class Curve : ICustomXMLSerialization
Inheritance
Object    Curve
Implements
ICustomXMLSerialization

Constructors

CurveInitializes a new empty Curve instance.
Curve(String, String, CurveType)Initializes a new Curve with an identifier, name, and type but no data points.
Curve(String, String, ListDouble, String, ListDouble, String, CurveType)Initializes a new Curve with full data and unit information.

Properties

CvTypeGets or sets the CurveType classification of this curve.
EnabledGets or sets a value indicating whether this curve is active and used in calculations.
IDGets or sets the unique identifier of this curve.
NameGets or sets the display name of this curve.
XGets or sets the X-axis (independent variable) data points of the curve.
xunitGets or sets the unit string for the X-axis values of this curve.
YGets or sets the Y-axis (dependent variable) data points of the curve.
yunitGets or sets the unit string for the Y-axis values of this curve.

Methods

LoadDataDeserializes the curve data from a list of XML elements.
SaveDataSerializes the curve data to a list of XML elements.

Fields

Extension Methods

GetEnumNames
(Defined by General)
IsValidDouble
(Defined by General)

See Also