Sage Modeling and Simulation Library

ResourceEventRecord Constructor (DateTime, Guid, Double, Double, Double, Double, Guid, ResourceAction)

Constructs a record of a resource transaction.

Namespace:  Highpoint.Sage.Resources
Assembly:  Sage4 (in Sage4.dll)

Syntax


public ResourceEventRecord(
	DateTime when,
	Guid resourceGuid,
	double desired,
	double obtained,
	double capacity,
	double available,
	Guid requesterGuid,
	ResourceAction action
)

Parameters

when
Type: DateTime
The time (model time) that the transaction took place.
resourceGuid
Type: Guid
The GUID of the resource against which this transaction took place.
desired
Type: Double
The quantity that was desired of the specified resource.
obtained
Type: Double
The quantity that was obtained of the specified resource.
capacity
Type: Double
The capacity of the specified resource after this transaction took place.
available
Type: Double
The amount available of the specified resource after this transaction took place.
requesterGuid
Type: Guid
The GUID of the requester.
action
Type: Highpoint.Sage.Resources..::..ResourceAction
The type of ResourceAction that took place.