2016-08-12 31 views

回答

0

你可以做,通過實施ComponentDataBuilder,這將返回 一個人口稠密IeTaskInfo對象。它將操作名稱作爲構造函數,它提供需要執行以獲取數據的 任務的信息。例如,以下代碼 代碼段演示了使用「jca-Search」任務。

public class MyDataBuilderWithIETask implements ComponentDataBuilder { 
@Override 
public Object buildComponentData(ComponentConfig config, 
ComponentParams params) throws WTException { 
//pass the task name as constructor 
IeTaskInfo taskInfo = new IeTaskInfo("jca-Search"); 
…….. 
return taskInfo; 
} 
} 

欲瞭解更多信息,請參閱

  • 信息*引擎用戶指南
  • 的Windchill適配器指南(信息*發動機)
相關問題