''' 索 引:INDEX_S${sindex}_N${nindex} 功 能:${desc} 节 点:步骤${sindex}节点${nindex} 交 易:${trade} ''' def __BAP_${trade}_S${sid}_N${nid}(__REQ__,__RSP__,__SND__,__RCV__): CGC_Debug("调用节点 STEP[${sindex}]-NODE[${nindex}]:${desc}") try: ${SetDefaultExceptNode}<#rt/> ${inArgText}<#rt/> ${functionBody}<#rt/> if( not (type(listResult) is list)): CGC_SET_GLB_ERROR("E","BT910001","组件状态返回值必须是list类型") return CGC_GET_DEF_EXCP_NODE(${errFunc}) elif(len(listResult) < 3): CGC_SET_GLB_ERROR("E","BT910002","组件状态返回值(list)的个数必须有3个以上") return CGC_GET_DEF_EXCP_NODE(${errFunc}) ${outArgText}<#rt/> CGC_Trace("出口分支="+str(listResult[0])) ${logicText}<#rt/> except Exception,PyExcp: CGC_SET_GLB_ERROR("E","BT910006",str(PyExcp)) CGC_Debug(str(PyExcp)) return CGC_GET_DEF_EXCP_NODE(${errFunc})