加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

ABB800XA学习笔记140:ststemtools-一致性检查工具

(2023-11-12 11:11:46)
标签:

abb

800xa

系统工具

一致性检查工具

分类: ABBDCS
继续学习。
Select aspect checking (including entity checking) and reference checking individually. Checking references between aspects consume more time. Hence this reference check can be skipped if the user feels that all references are perfect.
分别选择方面检查(包含实例检查)和引用检查。检查方面之间的引用会消耗更多时间。因此,如果用户认为所有引用都是完美的,则可以跳过此引用检查。
Reference consistency, by default, checks only for target existence and not for the valid target location scope. Select Scope consistency to check for the target objects residing in a valid scope. For example, a valid reference scope may be within a composite object type. When the Scope consistency feature is enabled, the consistency checker tool detects any reference defined from one object type to another object type and reports the scope inconsistency error.
默认情况下,引用一致性仅检查目标是否存在,而不检查有效的目标位置范围。选择“作用域一致性”以检查驻留在有效作用域中的目标对象。选择“作用域一致性”以检查驻留在有效作用域中的目标对象。例如,有效的引用范围可能位于复合对象类型中。启用“范围一致性”功能后,一致性检查器工具会检测从一种对象类型到另一种对象类型定义的任何引用,并报告范围不一致错误。

Additional check of rescue information for references can be requested in the Options dialog. The rescue data is an information (for example, the name of the target object), and is used to repair the reference if broken. The existing rescue information (if any) is checked for correctness and errors by enabling the Rescue consistency check box in the Options Dialog.
在选项对话框中对 救援信息进行额外的检查(这里字面上是救援信息,总觉得别扭,应该是其他词汇)。救援数据是一种信息(例如,目标对象的名称),用于在损坏时修复引用。通过启用“选项”对话框中的“救援一致性”复选框,检查现有救援信息(如果有)的正确性和错误性。

By default, the consistency checker skips aspects in released libraries (they cannot be repaired). The user can check released libraries by enabling Skip released libraries check box in the Options dialog.
默认情况下,一致性检查器会跳过已发布库中的各个方面(无法修复)。用户可以通过启用“选项”对话框中的“跳过已发布的库”复选框来检查已发布的库。

In the example (Figure 49) below, a Control Project has been checked and two errors detected. The two first inconsistencies comes from the same aspect; PX:Bookmark. The warning was generated by the aspects custom consistency check and tells the user that a file viewer aspect that was used no longer exists. The second inconsistency was calculated by the Consistency Check Tool by validating the references of the bookmark. It also detected that the referenced aspect no longer exists and reports this as an error. In this case, the same aspect yielded two inconsistencies for the same problem; that the configured file viewer no longer exists. In some scenarios, it would make sense for the aspect to try to report a more detailed description of the problem than the general type errors that the consistency checker can produce.
在下面的示例(图 49)中,检查了一个控制项目,并检测到两个错误。前两个不一致来自同一方面;PX:书签。警告由方面自定义一致性检查生成,并告知用户已使用的文件查看器方面不再存在。第二个不一致是由一致性检查工具通过验证书签的引用来计算的。它还检测到引用的方面不再存在,并将其报告为错误。在这种情况下,同一方面对同一问题产生了两个不一致之处;配置文件查看器不再存在。在某些情况下,与一致性检查器可能产生的常规类型错误相比,方面尝试报告更详细的问题描述是有意义的。
ABB800XA学习笔记140:ststemtools-一致性检查工具
图 49

The consistency report contains a lot of columns and the report can be sorted on each column by clicking the column header. This can help to locate similar types of problems by e.g. sorting the reported inconsistencies by aspect category by clicking the Category column. It is also possible to see what system extension the specific aspect comes from if you need help to resolve or fix the conflict.
一致性报告包含大量列,可以通过单击列标题对报告进行每列排序。这有助于找到类似类型的问题,例如,通过单击“类别”列,按方面类别对报告的不一致进行排序。如果您需要帮助来解决或修复冲突,也可以查看特定方面的系统扩展。
ABB800XA学习笔记140:ststemtools-一致性检查工具
图 50

By right-clicking an inconsistency in the report, you either repair the aspect or look at the details for that specific inconsistency. The details will contain a lot of information and some of it may only make sense to a skilled engineer.
通过右键单击报表中的不一致,可以修复方面或查看该特定不一致的详细信息。细节将包含大量信息,其中一些可能只对熟练的工程师有意义。

Resolving and Repairing Errors
解决和修复错误
In most of the scenarios, the consistency problems reported by the Consistency Check Tool will require that you locate the aspect that reported the problem, the source, and use the configuration view or similar for that aspect to resolve the problem.
在大多数情况下,一致性检查工具报告的一致性问题将要求您找到报告问题的方面、源,并使用该方面的配置视图或类似视图来解决问题。
For example, if a graphic display has an ex*pression that refers to a property that no longer exists, open the Graphics Builder for that graphic display and correct the ex*pression.
例如,如果图形显示的表达式引用不再存在的属性,请打开该图形显示的图形生成器并更正该表达式。(上面句子中ex*pression居然是非法字符)
In some scenarios, an aspect can be automatically repaired by the Consistency Check Tool and this can be seen in the Repairable column. A repairable problem can be repaired by right-clicking the row or rows that you intend to repair and select Repair from the context menu. The consistency check will then repair the problem and update the consistency report. In some scenarios, you may have to perform a new consistency check again by clicking the Check button.
在某些情况下,一致性检查工具可以自动修复某个方面,这可以在“可修复”列中看到。通过右键单击要修复的行,然后从上下文菜单中选择“修复”,可以修复可修复的问题。然后,一致性检查将修复问题并更新一致性报告。在某些情况下,您可能需要通过单击“检查”按钮再次执行新的一致性检查。
In the example below, the “SimpleModule” is a inconsistent entity that can be automatically repaired.
在下面的示例中,“SimpleModule”是一个不一致的实体,可以自动修复。
ABB800XA学习笔记140:ststemtools-一致性检查工具
图 51
Right-click the repairable aspect and select Repair Aspect.
右键单击可修复方面,然后选择“修复方面”。
ABB800XA学习笔记140:ststemtools-一致性检查工具
图 52

Before the reparation of the aspect is started a dialog appears that tells you to make a backup before repairing the aspect. It is recommended to do that.
在开始修复方面之前,会出现一个对话框,告诉您在修复方面之前进行备份。建议这样做。
ABB800XA学习笔记140:ststemtools-一致性检查工具
图 53
The Consistency Check Tool will then repair the aspect if possible and update the consistency report. There may be scenarios when the repairable aspect still cannot be automatically repaired because of some other problem. In these scenarios, you must manually reconfigure that aspect to resolve the problem.
然后,一致性检查工具将修复该方面(如果可能)并更新一致性报告。在某些情况下,由于其他一些问题,可修复方面仍然无法自动修复。在这些情况下,您必须手动重新配置该方面才能解决问题。








0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有