Sage Modeling and Simulation Library

MaterialResourceRequest Constructor (IHasIdentity, MaterialType, Double, Direction)

Initializes a new instance of the MaterialResourceRequest class.

Namespace:  Highpoint.Sage.Materials.Chemistry
Assembly:  Sage4 (in Sage4.dll)

Syntax


public MaterialResourceRequest(
	IHasIdentity byWhom,
	MaterialType mt,
	double quantity,
	MaterialResourceRequest..::..Direction direction
)

Parameters

byWhom
Type: Highpoint.Sage.SimCore..::..IHasIdentity
The identity of the entity making the reqest.
mt
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialType
The Material Type being requested.
quantity
Type: Double
The quantity of Material being requested.
direction
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialResourceRequest..::..Direction
The MaterialResourceRequest..::..Direction of the request - Augment or Deplete.