oaDualInt1DTblValue
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaDualInt1DTblValue 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaDualInt1DTblValue 当前在 oapy 中可用的 Python 接口。
详细说明
The oaDualInt1DTblValue class represents two 1D integer lookup table values。 See oaValue for a discussion of the usage of all of the oaValue subclasses。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getFirst(value) |
| ✅ | obj.getSecond(value) |
| ✅ | obj.setFirst(value) |
| ✅ | obj.setSecond(value) |
| ✅ | _base.oaDualInt1DTblValue.create(database, first, second) |
方法说明
obj.getFirst(value)
绑定状态: 已绑定
Python 调用: obj.getFirst(value)
This function returns the first int1DTbl for this value。
参数
value: The returned value。
Python 示例
from oapy._oa import _base
# assume obj is a oaDualInt1DTblValue
obj.getFirst(value)
obj.getSecond(value)
绑定状态: 已绑定
Python 调用: obj.getSecond(value)
This function returns the second int1DTbl for this value。
参数
value: The returned value。
Python 示例
from oapy._oa import _base
# assume obj is a oaDualInt1DTblValue
obj.getSecond(value)
obj.setFirst(value)
绑定状态: 已绑定
Python 调用: obj.setFirst(value)
This function sets the first int1DTbl for this value to the specified value。
参数
value: The first int1DTbl value to set。
Python 示例
from oapy._oa import _base
# assume obj is a oaDualInt1DTblValue
obj.setFirst(value)
obj.setSecond(value)
绑定状态: 已绑定
Python 调用: obj.setSecond(value)
This function sets the second int1DTbl for this value to the specified value。
参数
value: The second int1DTbl value to set。
Python 示例
from oapy._oa import _base
# assume obj is a oaDualInt1DTblValue
obj.setSecond(value)
_base.oaDualInt1DTblValue.create(database, first, second)
绑定状态: 已绑定
Python 调用: _base.oaDualInt1DTblValue.create(database, first, second)
This function creates a dualInt1DTbl value with the specified attributes。
参数
database: The database in which to create the value。first: The first int1DTbl value。second: The second int1DTbl value。
异常
oacInvalidDatabase。
Python 示例
from oapy._oa import _base
_base.oaDualInt1DTblValue.create(database, first, second)