oaMarkerSeverity
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaMarkerSeverity 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaMarkerSeverity 当前在 oapy 中可用的 Python 接口。
详细说明
The oaMarkerSeverity class is an enum wrapper class that defines the severity type on oaMarker objects。 Applications choose one of the values below for each marker they create。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaMarkerSeverityEnum Enumeration values: oacAnnotationMarkerSeverity "annotation" A marker with this attribute indicates user generated information that is placed on the design。 oacInfoMarkerSeverity "info" A marker with this attribute indicates tool generated information。 oacAcknowledgedWarningMarkerSeverity "acknowledgedWarning" A marker with this attribute indicates a tool generated warning that has been acknowledged by the designer。 oacWarningMarkerSeverity "warning" A marker with this attribute indicates a tool generated warning。 oacSignedOffErrorMarkerSeverity "signedOffError" A marker with this attribute indicates a tool generated error that has been signed-off by the designer。 oacErrorMarkerSeverity "error" A marker with this attribute indicates a tool generated error。 oacSignedOffCriticalErrorMarkerSeverity "signedOffCriticalError" A marker with this attribute indicates a tool generated critical error that has been signed-off by the designer。 A critical error usually requires a design review to sign-off, and should not be signed off by a single designer。 oacCriticalErrorMarkerSeverity "criticalError" A marker with this attribute indicates a tool generated critical error。 oacFatalErrorMarkerSeverity "fatalError" A marker with this attribute indicates a tool generated fatal error。 Such an error can not be signed off as it will always result in a non- functional/non-manufacturable design。
构造函数
_design.oaMarkerSeverity(valueIn)
obj = _design.oaMarkerSeverity(valueIn)
_design.oaMarkerSeverity(name)
obj = _design.oaMarkerSeverity(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name string associated with the encapsulated oaMarkerSeverityEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaMarkerSeverity
obj.getName()