首页 / design / oaModBitTerm

oaModBitTerm

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

概览

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

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

详细说明

The oaModBitTerm class is the base class for single-bit terminals that are part of the design's logical description。 You can create associate a connection definition, oaModTermConnectDef , with a bitTerm。

方法总览

状态 Python 调用
obj.getConnectDef()

方法说明

obj.getConnectDef()

绑定状态: 已绑定

Python 调用: obj.getConnectDef()

This function gets the connection definition that is associated with this module bitTerm。 It returns NULL if no ConnectDef has been set on the terminal。

Python 示例

from oapy._oa import _design

# assume obj is a oaModBitTerm
obj.getConnectDef()