CPool Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) |
||
Line 10: | Line 10: | ||
*ID (as ''integer'') {{APIComment|Gets the ID of the pool.}} | *ID (as ''integer'') {{APIComment|Gets the ID of the pool.}} | ||
*ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the pool belongs to.}} | *ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the pool belongs to.}} | ||
*DirectCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the model that represents the direct cost | *DirectCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the model that represents the pool's direct cost per dispensed item.}} | ||
*IndirectCostModelID (as ''integer'') {{APIComment|Gets the | *IndirectCostModelID (as ''integer'') {{APIComment|Gets the numerical ID of the model that represents the pool's logistic time for spare acquisition.}} | ||
*SparesLimit (as ''integer'') {{APIComment|Gets the | *SparesLimit (as ''integer'') {{APIComment|Gets the pool's initial stock level.}} | ||
*SparesLimitVariableID (as ''integer'') {{APIComment|Gets the ID of the spares limit variable | *SparesLimitVariableID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's spares limit variable.}} | ||
*DelayModelID (as ''integer'') {{APIComment|Gets the ID of the delay model | *DelayModelID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's delay model.}} | ||
*UseFixedProbability (as ''boolean'') {{APIComment|Sets or gets whether fixed probability should be used as a spare acquisition type for the resource.}} | *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|Gets a fixed probability value for the | *UseFixedProbabilityValue (as ''double'') {{APIComment|Gets a fixed probability value for the pool.}} | ||
*RestockOn (as ''integer'') {{APIComment|Gets the Restock number | *RestockOn (as ''integer'') {{APIComment|Gets the pool's Restock number.}} | ||
*RestockEvery (as ''double'') {{APIComment|Sets or gets the value for how often a pool should be restocked for the resource given RestockEveryUnit Property.}} | *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 gets | *RestockEveryUnit (as ''integer'') {{APIComment|Sets or gets the units of measurement.}} | ||
*RestockEveryVariableID (as ''integer'') {{APIComment|Gets the ID of RestockEveryVariable the resource belongs to.}} | *RestockEveryVariableID (as ''integer'') {{APIComment|Gets the numerical ID of RestockEveryVariable the resource belongs to.}} | ||
*RestockAddNumber1 (as ''integer'') {{APIComment|Gets a restock value of 1 for the resource.}} | *RestockAddNumber1 (as ''integer'') {{APIComment|Gets a restock value of 1 for the resource.}} | ||
*RestockAddNumber1VariableID (as ''integer'') {{APIComment|Gets the ID of RestockAddNumber1 the resource belongs to.}} | *RestockAddNumber1VariableID (as ''integer'') {{APIComment|Gets the numerical ID of RestockAddNumber1 the resource belongs to.}} | ||
*RestockWhen (as ''integer'') {{APIComment|Gets the value that restock is needed at when stock drops to that value within the resource belonged to.}} | *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|Gets the ID of the Restock when set variable ID the resource belongs to.}} | *RestockWhenVariableID (as ''integer'') {{APIComment|Gets the numerical ID of the Restock when set variable ID the resource belongs to.}} | ||
*RestockAddNumber2 (as ''integer'') {{APIComment|Gets the RestockAddNumber2 | *RestockAddNumber2 (as ''integer'') {{APIComment|Gets the pool's RestockAddNumber2.}} | ||
*RestockAddNumber2VariableID (as ''integer'') {{APIComment|Gets the ID of RestockAddNumber2 Variable | *RestockAddNumber2VariableID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's RestockAddNumber2 Variable.}} | ||
*RestockModelID (as ''integer'') {{APIComment|Gets the ID of the restock model | *RestockModelID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's restock model.}} | ||
*HasMaxCapacity (as ''boolean'') {{APIComment|Sets or gets whether a pool has maximum capacity | *HasMaxCapacity (as ''boolean'') {{APIComment|Sets or gets whether a pool has a maximum capacity.}} | ||
*MaxCapacity (as ''integer'') {{APIComment|Sets or gets the maximum capacity | *MaxCapacity (as ''integer'') {{APIComment|Sets or gets the pool's maximum capacity.}} | ||
*MaxCapacityVariableID (as ''integer'') {{APIComment|Gets the ID of the maximum capacity | *MaxCapacityVariableID (as ''integer'') {{APIComment|Gets the numerical ID of the variable that represents the pool's maximum capacity.}} | ||
*CanObtainEmerg (as ''boolean'') {{APIComment|Sets or gets whether emergency spares can be obtained for the | *CanObtainEmerg (as ''boolean'') {{APIComment|Sets or gets whether emergency spares can be obtained for the pool.}} | ||
*EmergAddNumber (as ''integer'') {{APIComment|Gets the number of spares added per emergency | *EmergAddNumber (as ''integer'') {{APIComment|Gets the number of spares added per emergency.}} | ||
*EmergAddNumberVariableID (as ''integer'') {{APIComment|Gets the ID of the EmergAddNumber variable | *EmergAddNumberVariableID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's EmergAddNumber variable.}} | ||
*EmergAddCostModelID (as ''integer'') {{APIComment|Gets the ID of EmergAddCostModel | *EmergAddCostModelID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's EmergAddCostModel.}} | ||
*EmergModelID (as ''integer'') {{APIComment|Gets the ID of EmergModel | *EmergModelID (as ''integer'') {{APIComment|Gets the numerical ID of pool's EmergModel.}} | ||
*OffSitePoolRegularID (as ''integer'') {{APIComment|Gets the ID of OffSitePoolRegular | *OffSitePoolRegularID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's OffSitePoolRegular.}} | ||
*OffSitePoolEmergencyID (as ''integer'') {{APIComment|Gets the ID of OffSitePoolEmergency | *OffSitePoolEmergencyID (as ''integer'') {{APIComment|Gets the numerical ID of the pool's OffSitePoolEmergency.}} |
Revision as of 23:01, 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 pool.
- ID (as integer) Gets the ID of the pool.
- ProjectID (as integer) Gets the numerical ID of the project the pool belongs to.
- DirectCostModelID (as integer) Sets or gets the numerical ID of the model that represents the pool's direct cost per dispensed item.
- IndirectCostModelID (as integer) Gets the numerical ID of the model that represents the pool's logistic time for spare acquisition.
- SparesLimit (as integer) Gets the pool's initial stock level.
- SparesLimitVariableID (as integer) Gets the numerical ID of the pool's spares limit variable.
- DelayModelID (as integer) Gets the numerical ID of the pool's delay model.
- 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 pool.
- RestockOn (as integer) Gets the pool's Restock number.
- 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 the units of measurement.
- RestockEveryVariableID (as integer) Gets the numerical ID of RestockEveryVariable the resource belongs to.
- RestockAddNumber1 (as integer) Gets a restock value of 1 for the resource.
- RestockAddNumber1VariableID (as integer) Gets the numerical 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 numerical ID of the Restock when set variable ID the resource belongs to.
- RestockAddNumber2 (as integer) Gets the pool's RestockAddNumber2.
- RestockAddNumber2VariableID (as integer) Gets the numerical ID of the pool's RestockAddNumber2 Variable.
- RestockModelID (as integer) Gets the numerical ID of the pool's restock model.
- HasMaxCapacity (as boolean) Sets or gets whether a pool has a maximum capacity.
- MaxCapacity (as integer) Sets or gets the pool's maximum capacity.
- MaxCapacityVariableID (as integer) Gets the numerical ID of the variable that represents the pool's maximum capacity.
- CanObtainEmerg (as boolean) Sets or gets whether emergency spares can be obtained for the pool.
- EmergAddNumber (as integer) Gets the number of spares added per emergency.
- EmergAddNumberVariableID (as integer) Gets the numerical ID of the pool's EmergAddNumber variable.
- EmergAddCostModelID (as integer) Gets the numerical ID of the pool's EmergAddCostModel.
- EmergModelID (as integer) Gets the numerical ID of pool's EmergModel.
- OffSitePoolRegularID (as integer) Gets the numerical ID of the pool's OffSitePoolRegular.
- OffSitePoolEmergencyID (as integer) Gets the numerical ID of the pool's OffSitePoolEmergency.