首页 / design / oaTermType

oaTermType

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaTermTypeoapy 中可用,可通过 _design 模块访问。

本页汇总 oaTermType 当前在 oapy 中可用的 Python 接口。

详细说明

oaTermType 类封装用于描述the different uses of an oaTerm 对象的枚举值。 enum oaTermTypeEnum Enumeration values: oacInputTermType "input" oacOutputTermType "output" oacInputOutputTermType "inputOutput" oacSwitchTermType "switch" oacJumperTermType "jumper" oacUnusedTermType "unused" oacTristateTermType "tristate"。

构造函数

_design.oaTermType(valueIn)

obj = _design.oaTermType(valueIn)

_design.oaTermType(name)

obj = _design.oaTermType(name)

方法总览

状态 Python 调用
obj.getName()
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name string associated with the encapsulated oaTermTypeEnum object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTermType
obj.getName()

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function is deprecated。 Use the const version of oaTermType:: getName instead。 This function returns the name string associated with the encapsulated oaTermTypeEnum object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTermType
obj.getName()