淘宝官方店 推荐课程 在线工具 联系方式 关于我们 | |
微波射频仿真设计 Ansoft Designer 中文培训教程 | HFSS视频培训教程套装 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Generating Reports and Postprocessing > IProgressMonitor Abstract ClassThe object of this class is a progress monitor. It is used to display calculations progress in UI and check is the user has requested an abort of the computation. When displayed in the application, each progress message has four items: A task name A sub-task name The progress amount A button to abort the task in progress. All of this functionality and abort interaction is achieved using the following functions. SetTaskName (string taskName): SetSubTaskName (string subTaskName) BeginTask (string name) SetTaskProgressPercentage(int progressPercent) CheckForAbort(): If the quantities being generated are computationally expensive, the UDO author can periodically call this method and then call EndTask with Fail and return False. EndTask (bool passFail) Example: progMon.BeginTask("Process DQS") progMon.SetSubTaskName("Compute UI segments") progMon.SetTaskProgressPercentage(33) progMon.SetSubTaskName("Compute the rest") progMon.SetTaskProgressPercentage(100) progMon.EndTask(True)
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |