0
在我分配的項目中,它涉及使用Java界面從Info Engine中讀取產品的詳細信息。怎麼做?給我建議教程或書籍或任何可以幫助我開始的東西。如何使用Java從PTC Windchill Info Engine讀取數據?
在我分配的項目中,它涉及使用Java界面從Info Engine中讀取產品的詳細信息。怎麼做?給我建議教程或書籍或任何可以幫助我開始的東西。如何使用Java從PTC Windchill Info Engine讀取數據?
你可以做,通過實施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;
}
}
欲瞭解更多信息,請參閱