Ticket #166 (new enhancement)
Opened 11 years ago
Incomplete information for CopyFromMaterial
Reported by: | michelpons | Owned by: | Michael Halloran |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | COLoggers | Version: | Development |
Keywords: | CopyFromMaterial | Cc: | michaelhalloran |
Description
I am using a ChemSep UO with a TEA PP in PRO/II 9.2.1. I noticed the following within the Calculate method of ChemSep UO.
Early on in the Calculate, ChemSep UO creates a MO and then proceeds with copying (CopyFromMaterial) contents of a MO into this new MO. It gives the following lines in the log:
MaterialObject <S2> : Call to CreateMaterial
MaterialObject <S2> : Return from CreateMaterial - Succeeded
MaterialObject Reference count for MO logger is 2
MaterialObject <Anonymous> : Call to CopyFromMaterial
MaterialObject <S2> : Call to ICapeIdentification.get_ComponentName
get_ComponentName returns:
S2
MaterialObject <S2> : Return from ICapeIdentification.get_ComponentName - Succeeded
MaterialObject <Anonymous> : Return from CopyFromMaterial - Succeeded
Here I am pretty sure that the CopYFromMaterial has been exercized using MO S2 as the source but nothing explicitely says so. For sure there is a GetComponentName call within the CopyFromMaterial so S2 must have been passed to CopyFromMaterial. Still it would be better to log the source MO.