<< 点击显示目录 >> 主页 exOS使用助手 > exOS Automation Help > Getting started > Checking the deployment status |
为了诊断目标上组件的部署和执行状态,exOS 提供了 ExComponentInfo 和 ExTargetInfo 功能块。WaterTank 示例 中的ExComponentInfo 用于检查 gWaterTank_0 组件的 状态 。
如果一切运行正常, gWaterTank_0组件 将从 "部署中" 状态 转为 "运行中 " 状态 ,这意味着水箱的 Linux 文件已经部署完毕,启动服务已经完成,水箱运行服务处于激活状态。
如果组件由于任何原因处于 中止状态 ,请参考 ExDeploy 日志 进一步分析问题的根源。
In order to diagnose the deployment and execution status of components on the target, exOS offers the ExComponentInfo and ExTargetInfo function blocks. The WaterTank sample comes with the ExComponentInfo to check the status of the gWaterTank_0 component.
If eveything has worked correctly, the gWaterTank_0 component will go from state Deploying to state Operational, meaning that the Linux file(s) for the WaterTank have been deployed, the startup services have finished, and the watertank runtime service is active.
Should the component out of any reason be in state Aborted, please refer to the ExDeploy logger to further analyse the source of the problem.