Sage Modeling and Simulation Library

ResourceEventRecord Members

The ResourceEventRecord type exposes the following members.

Constructors


  Name Description
Public method ResourceEventRecord(DateTime, IResource, IResourceRequest, ResourceAction)
Constructs a record of a resource transaction.
Public method ResourceEventRecord(DateTime, Guid, Double, Double, Double, Double, Guid, ResourceAction)
Constructs a record of a resource transaction.
Public method ResourceEventRecord(ResourceEventRecord, IResource)
Copy constructor

Methods


  Name Description
Public method Static member ByAction
Returns a comparer that can be used, for example, to sort ResourceEventRecords by their Action types.
Public method Static member ByResourceName
Returns a comparer that can be used, for example, to sort ResourceEventRecords by their Resource Names.
Public method Static member BySerialNumber
Returns a comparer that can be used, for example, to sort ResourceEventRecords by their serial numbers.
Public method Static member ByTime
Returns a comparer that can be used, for example, to sort ResourceEventRecords by their times of occurrence.
Public method Detail
Returns a detailed string representation of this transaction.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string representation of this transaction.
Public method Static member ToStringHeader
Returns a string representation of a header for a table of ResourceEventRecords, identifying the columns.

Properties


  Name Description
Public property Action
The type of resource action that took place (Request, Reserved, Unreserved, Acquired, Released).
Public property Available
The amount of the resource that was available AFTER the request was handled.
Public property ByWhom Obsolete.
The identity of the entity that requested the resource.
Public property Capacity
The capacity of the resource at the time of the request.
Public property Editor
Gets the object that provides editing capability into this RER.
Public property QuantityDesired
The quantity of resource that was desired by the resource request.
Public property QuantityObtained
The amount of resource granted to the requester.
Public property Requester
The identity of the entity that requested the resource.
Public property RequesterGuid
The identity of the entity that requested the resource.
Public property Resource
The resource against which this event transpired.
Public property ResourceGuid
The guid of the resource against which this event transpired.
Public property SerialNumber
The serial number of this Resource Event Record.
Public property Tag
Ancillary data for consumption by client code.
Public property TagGuid
Ancillary data for consumption by client code.
Public property When
The time that the event transpired.