system.mes.batch.phase.getBuiltInPhaseLink(inheritablePhaseType)

Sepasoft MES Module Suite

system.mes.batch.phase.getBuiltInPhaseLink(inheritablePhaseType)

Returns a link for the built-in phase specified by inheritablePhaseType parameter. Use the getPhaseLink function to get user created phases.

Links are lightweight and hold the key information of an MES Object and link.getMESObject() can be used to get the actual BatchPhase object.

getBuiltInPhaseLink(inheritablePhaseType) → MESObjectLink

Syntax

getBuiltInPhaseLink(inheritablePhaseType)

  • Parameters

String inheritablePhaseType - The name of the built-in phase.

  • Returns

A MESObjectLink object that represents the built-in batch phase.

  • Scope

All

Example

Code
builtInPhaseLink = system.mes.batch.phase.getBuiltInPhaseLink("Equipment Phase")
print(builtInPhaseLink)

Sepasoft MES Module Suite