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