CPool Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== Properties == | == Properties == | ||
*Name (as ''string'') {{APIComment|Sets or | *Name (as ''string'') {{APIComment|Sets or gets the name of the model (the one used in the repository)}} | ||
*ID (as ''integer'') {{APIComment| | *ID (as ''integer'') {{APIComment|Gets the ID of the resource (the one used in the repository).}} | ||
*ProjectID (as ''integer'') {{APIComment| | *ProjectID (as ''integer'') {{APIComment|Gets the ID of the project the resource belongs to.}} | ||
*DirectCostModelID (as ''integer'') {{APIComment|Sets or | *DirectCostModelID (as ''integer'') {{APIComment|Sets or gets the direct cost model ID the resource belongs to.}} | ||
*IndirectCostModelID (as ''integer'') {{APIComment| | *IndirectCostModelID (as ''integer'') {{APIComment|Gets the indirect cost model ID the resource belongs to.}} | ||
*SparesLimit (as ''integer'') {{APIComment| | *SparesLimit (as ''integer'') {{APIComment|Gets the spares limit ID the resource belongs to.}} | ||
*SparesLimitVariableID (as ''integer'') {{APIComment| | *SparesLimitVariableID (as ''integer'') {{APIComment|Gets the ID of the spares limit variable the resource belongs to.}} | ||
*DelayModelID (as ''integer'') {{APIComment| | *DelayModelID (as ''integer'') {{APIComment|Gets the ID of the delay model the resource belongs to.}} | ||
*UseFixedProbability (as ''boolean'') {{APIComment|Sets or | *UseFixedProbability (as ''boolean'') {{APIComment|Sets or gets whether fixed probability should be used as a spare acquisition type for the resource.}} | ||
*UseFixedProbabilityValue (as ''double'') {{APIComment| | *UseFixedProbabilityValue (as ''double'') {{APIComment|Gets a fixed probability value for the resource.}} | ||
*RestockOn (as ''integer'') {{APIComment| | *RestockOn (as ''integer'') {{APIComment|Gets the Restock number the resource belongs to.}} | ||
*RestockEvery (as ''double'') {{APIComment|Sets or | *RestockEvery (as ''double'') {{APIComment|Sets or gets the value for how often a pool should be restocked for the resource given RestockEveryUnit Property.}} | ||
*RestockEveryUnit (as ''integer'') {{APIComment|Sets or | *RestockEveryUnit (as ''integer'') {{APIComment|Sets or gets temporal units for RestockEvery Property for the resource belonged to.}} | ||
*RestockEveryVariableID (as ''integer'') {{APIComment| | *RestockEveryVariableID (as ''integer'') {{APIComment|Gets the ID of RestockEveryVariable the resource belongs to.}} | ||
*RestockAddNumber1 (as ''integer'') {{APIComment| | *RestockAddNumber1 (as ''integer'') {{APIComment|Gets a restock value of 1 for the resource.}} | ||
*RestockAddNumber1VariableID (as ''integer'') {{APIComment| | *RestockAddNumber1VariableID (as ''integer'') {{APIComment|Gets the ID of RestockAddNumber1 the resource belongs to.}} | ||
*RestockWhen (as ''integer'') {{APIComment| | *RestockWhen (as ''integer'') {{APIComment|Gets the value that restock is needed at when stock drops to that value within the resource belonged to.}} | ||
*RestockWhenVariableID (as ''integer'') {{APIComment| | *RestockWhenVariableID (as ''integer'') {{APIComment|Gets the ID of the Restock when set variable ID the resource belongs to.}} | ||
*RestockAddNumber2 (as ''integer'') {{APIComment| | *RestockAddNumber2 (as ''integer'') {{APIComment|Gets the RestockAddNumber2 the resource belongs to.}} | ||
*RestockAddNumber2VariableID (as ''integer'') {{APIComment| | *RestockAddNumber2VariableID (as ''integer'') {{APIComment|Gets the ID of RestockAddNumber2 Variable the resource belongs to.}} | ||
*RestockModelID (as ''integer'') {{APIComment| | *RestockModelID (as ''integer'') {{APIComment|Gets the ID of the restock model the resource belongs to.}} | ||
*HasMaxCapacity (as ''boolean'') {{APIComment|Sets or | *HasMaxCapacity (as ''boolean'') {{APIComment|Sets or gets whether a pool has maximum capacity for the resource belonged to.}} | ||
*MaxCapacity (as ''integer'') {{APIComment|Sets or | *MaxCapacity (as ''integer'') {{APIComment|Sets or gets the maximum capacity the resource belongs to.}} | ||
*MaxCapacityVariableID (as ''integer'') {{APIComment| | *MaxCapacityVariableID (as ''integer'') {{APIComment|Gets the ID of the maximum capacity variable the resource belongs to.}} | ||
*CanObtainEmerg (as ''boolean'') {{APIComment|Sets or | *CanObtainEmerg (as ''boolean'') {{APIComment|Sets or gets whether emergency spares can be obtained for the resource belonged to.}} | ||
*EmergAddNumber (as ''integer'') {{APIComment| | *EmergAddNumber (as ''integer'') {{APIComment|Gets the number of spares added per emergency the resource belongs to.}} | ||
*EmergAddNumberVariableID (as ''integer'') {{APIComment| | *EmergAddNumberVariableID (as ''integer'') {{APIComment|Gets the ID of the EmergAddNumber variable for which the resource belongs to.}} | ||
*EmergAddCostModelID (as ''integer'') {{APIComment| | *EmergAddCostModelID (as ''integer'') {{APIComment|Gets the ID of EmergAddCostModel for which the resource belongs to.}} | ||
*EmergModelID (as ''integer'') {{APIComment| | *EmergModelID (as ''integer'') {{APIComment|Gets the ID of EmergModel for which the resource belongs to.}} | ||
*OffSitePoolRegularID (as ''integer'') {{APIComment| | *OffSitePoolRegularID (as ''integer'') {{APIComment|Gets the ID of OffSitePoolRegular for which the resource belongs to.}} | ||
*OffSitePoolEmergencyID (as ''integer'') {{APIComment| | *OffSitePoolEmergencyID (as ''integer'') {{APIComment|Gets the ID of OffSitePoolEmergency for which the resource belongs to.}} |
Revision as of 22:19, 11 March 2014
Spare part pools are assigned to tasks. They are used to describe the conditions that determine whether a spare part will be available when needed and to specify the time and costs associated with obtaining the spare part.
Constructors
- cPool Creates a new pool resource.
Properties
- Name (as string) Sets or gets the name of the model (the one used in the repository)
- ID (as integer) Gets the ID of the resource (the one used in the repository).
- ProjectID (as integer) Gets the ID of the project the resource belongs to.
- DirectCostModelID (as integer) Sets or gets the direct cost model ID the resource belongs to.
- IndirectCostModelID (as integer) Gets the indirect cost model ID the resource belongs to.
- SparesLimit (as integer) Gets the spares limit ID the resource belongs to.
- SparesLimitVariableID (as integer) Gets the ID of the spares limit variable the resource belongs to.
- DelayModelID (as integer) Gets the ID of the delay model the resource belongs to.
- UseFixedProbability (as boolean) Sets or gets whether fixed probability should be used as a spare acquisition type for the resource.
- UseFixedProbabilityValue (as double) Gets a fixed probability value for the resource.
- RestockOn (as integer) Gets the Restock number the resource belongs to.
- RestockEvery (as double) Sets or gets the value for how often a pool should be restocked for the resource given RestockEveryUnit Property.
- RestockEveryUnit (as integer) Sets or gets temporal units for RestockEvery Property for the resource belonged to.
- RestockEveryVariableID (as integer) Gets the ID of RestockEveryVariable the resource belongs to.
- RestockAddNumber1 (as integer) Gets a restock value of 1 for the resource.
- RestockAddNumber1VariableID (as integer) Gets the ID of RestockAddNumber1 the resource belongs to.
- RestockWhen (as integer) Gets the value that restock is needed at when stock drops to that value within the resource belonged to.
- RestockWhenVariableID (as integer) Gets the ID of the Restock when set variable ID the resource belongs to.
- RestockAddNumber2 (as integer) Gets the RestockAddNumber2 the resource belongs to.
- RestockAddNumber2VariableID (as integer) Gets the ID of RestockAddNumber2 Variable the resource belongs to.
- RestockModelID (as integer) Gets the ID of the restock model the resource belongs to.
- HasMaxCapacity (as boolean) Sets or gets whether a pool has maximum capacity for the resource belonged to.
- MaxCapacity (as integer) Sets or gets the maximum capacity the resource belongs to.
- MaxCapacityVariableID (as integer) Gets the ID of the maximum capacity variable the resource belongs to.
- CanObtainEmerg (as boolean) Sets or gets whether emergency spares can be obtained for the resource belonged to.
- EmergAddNumber (as integer) Gets the number of spares added per emergency the resource belongs to.
- EmergAddNumberVariableID (as integer) Gets the ID of the EmergAddNumber variable for which the resource belongs to.
- EmergAddCostModelID (as integer) Gets the ID of EmergAddCostModel for which the resource belongs to.
- EmergModelID (as integer) Gets the ID of EmergModel for which the resource belongs to.
- OffSitePoolRegularID (as integer) Gets the ID of OffSitePoolRegular for which the resource belongs to.
- OffSitePoolEmergencyID (as integer) Gets the ID of OffSitePoolEmergency for which the resource belongs to.