oaUInt8Value
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaUInt8Value 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaUInt8Value 当前在 oapy 中可用的 Python 接口。
详细说明
This class implements oaValue functionality for oaUInt8 integers。 It is declared in the oaBase module。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.get() |
| ✅ | obj.set(value) |
| ✅ | _base.oaUInt8Value.create(database, value) |
方法说明
obj.get()
绑定状态: 已绑定
Python 调用: obj.get()
This function returns the value of this class。
Python 示例
from oapy._oa import _base
# assume obj is a oaUInt8Value
obj.get()
obj.set(value)
绑定状态: 已绑定
Python 调用: obj.set(value)
This function sets this value to the specified UInt8 value。
参数
value: The UInt8 value。
Python 示例
from oapy._oa import _base
# assume obj is a oaUInt8Value
obj.set(value)
_base.oaUInt8Value.create(database, value)
绑定状态: 已绑定
Python 调用: _base.oaUInt8Value.create(database, value)
This function creates an UInt8 value in the specified database。
参数
database: The database in which the intValue is created。value: The UInt8 value。
Python 示例
from oapy._oa import _base
_base.oaUInt8Value.create(database, value)