CPool Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




<onlyinclude>Represents a spare part pool resource. (VB.NET only)</onlyinclude>
<onlyinclude>Represents a spare part pool resource.</onlyinclude>


==Constructors==
==Constructors==

Revision as of 17:05, 18 August 2015

Template:InProgress

APIWiki.png


Member of: SynthesisAPI


Represents a spare part pool resource.

Constructors

Name Description
cPool Creates an instance of the cPool class.
cPool() A parameterized constructor for the cPool class. (.NET only)


Properties

Name Description
Name Gets or sets the name of the spare part pool. String.
ID Gets the numeric ID of the spare part pool. Integer.
ProjectID Gets the numeric ID of the project the pool belongs to. Integer.


Spares

Name Description
DirectCostModelID Gets or sets the numeric ID of the model that represents the pool's direct cost per dispensed item. Integer.
IndirectCostModelID Gets the numeric ID of the model that represents the pool's logistic time for spare acquisition. Integer.
SparesLimit Gets the pool's initial stock level. Integer.
SparesLimitVariableID Gets the numeric ID of the pool's spares limit variable. Integer.
DelayModelID Gets the numeric ID of the pool's delay model. Integer.
UseFixedProbability Indicates whether a fixed probability should be used as a spare acquisition type. Boolean.
FixedProbabilityValue Gets a fixed probability value for the pool. Double.


Pool Restock Properties

Name Description
RestockOn Gets the pool's RestockOn number (0 = no restock, 1 = scheduled restock, 2 = restock as needed, 3 = both 1 and 2). Integer.
RestockEvery Gets or sets the value for how often the pool should be restocked. Double.
RestockEveryUnit Gets or sets the units of measurement for the RestockEvery property (1 = the first unit of measurement defined in the repository). Integer.
RestockEveryVariableID Gets the numerical ID of the pool's "Restock every" variable. Integer.
RestockAddNumber1 Gets the number added per restock for scheduled restocking. Integer.
RestockAddNumber1VariableID Gets the numeric ID of the variable that represents the number added per restock for scheduled restocking. Integer.
RestockWhen Gets the pool's "Restock when stock drops to" value. Integer.
RestockWhenVariableID Gets the numeric ID of the variable that represents the pool's "Restock when stock drops to" value. Integer.
RestockAddNumber2 Gets the number added per restock for as-needed restocking. Integer.
RestockAddNumber2VariableID Gets the numeric ID of the variable that represents the number added per restock for as-needed restocking. Integer.
RestockModelID Gets the numeric ID of the pool's restock model. Integer.
HasMaxCapacity Indicates whether the pool has a maximum capacity. Boolean.
MaxCapacity Gets or sets the pool's maximum capacity. Integer.
MaxCapacityVariableID Gets the numeric ID of the variable that represents the pool's maximum capacity. Integer.


Emergency Spare Provisions

Name Description
CanObtainEmerg Indicates whether emergency spares can be obtained if needed. Boolean.
EmergAddNumber Gets the number of spares added per emergency. Integer.
EmergAddNumberVariableID Gets the numeric ID of the variable that represents the number of spares added per emergency. Integer.
EmergAddCostModelID Gets the numeric ID of the model that represents the additional costs for emergency spares. Integer.
EmergModelID Gets the numeric ID of the model that represents the required time for emergency spares. Integer.
OffSitePoolRegularID Gets the numeric ID of the model that represents the off-site spare part pool under the emergency spare provisions. Integer.
OffSitePoolEmergencyID Gets the numeric ID of the model that represents the logistic time for spare acquisition under the emergency spare provisions. Integer.


Synthesis Identifiers

Name Description
ItemApplication Gets or sets the item's application. (Synthesis identifier) String
ItemCategoryID Gets or sets the category ID. (Synthesis identifier) Integer
ItemComments Gets or sets the comments. (Synthesis identifier) String
ItemDescription Gets or sets the description. (Synthesis identifier) String
ItemKeywords Gets or sets the keywords. (Synthesis identifier) String
ItemPartNumber Gets or sets the part number. (Synthesis identifier) String
ItemSupplier Gets or sets the supplier name. (Synthesis identifier) String
ItemVersion Gets or sets the version number. (Synthesis identifier) String