Sage Modeling and Simulation Library

ResourceEventRecord Constructor (DateTime, IResource, IResourceRequest, ResourceAction)

Constructs a record of a resource transaction.

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

Syntax


public ResourceEventRecord(
	DateTime when,
	IResource resource,
	IResourceRequest irr,
	ResourceAction action
)

Parameters

when
Type: DateTime
The time (model time) that the transaction took place.
resource
Type: Highpoint.Sage.Resources..::..IResource
The resource against which this transaction took place.
irr
Type: Highpoint.Sage.Resources..::..IResourceRequest
The resource request that initiated this transaction.
action
Type: Highpoint.Sage.Resources..::..ResourceAction
The type of ResourceAction that took place.