Work Instruction Customizations
Work instructions can be customized for a number of reasons, including to replace the header and logo with our own information, or to provide simpler work instructions.
The following table lists some common work instruction customizations.
Customizations
Description
To change the time units of an operation:
Modify the following JSP:
timeUnit in coreWorkInstruction.jsp
For example, to change from seconds to minutes, change to m.
To change the time units for the steps in an operation:
Modify the following JSPs, as required:
setupTimeUnit

processingTimeUnit

LaborTimeUnit

queueTimeUnit,

teardownTimeUnit,

waitTimeUnit,

moveTimeUnit
For example, to change from seconds to minutes, change to m.
To relocate a table in the work instruction:
Navigate to the end of the following JSP:
coreWorkInstruction.jsp
Then re-design the HTML display.
To display the processing cost of an operation in a work instruction:
Navigate to that the following tasks:
getOperationsAndStProceduresUnderAnOperation.xml
sortingOperations.xml
Add the following attribute to the above tasks:
MPM_Attr_MPMOperationProcessingCost
Then create the column and display data in the following JSP:
operationDetailHeaderWorkInstruction
.jsp
To change the font, size, or color of the titles in a work instruction:
Modify the following CSS file and the JSPs that use the definition in the CSS file:
workInstructionStyles.css
To change the logo at the top of the work instruction, or in the operation table:
Use the following procedure:
xconfmanager -d
com.ptc.windchill.mpml.WorkInstructionLogo=<logo> -t
codebase/wt.properties
where <logo> is the full path to the logo.gif file found in the following folder:
codebase\netmarkets\jsp\mpml
The default value is: ../../images/ptcLogo_workInstructions.gif corresponding to folder codebase\netmarkets\images.
To add an image extension type:
Add the extension type to the following property:
com.ptc.windchill.mpml.WorkInstructi
onIllustrationFileExtensionAllowed
To rearrange, remove, or add new tables:
Modify the following JSP:
coreWorkInstructions.jsp
這是否有幫助?