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