首页 / base / oaUInt8RangeValue

oaUInt8RangeValue

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

概览

oaUInt8RangeValueoapy 中可用,可通过 _base 模块访问。

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

详细说明

This class implements oaValue functionality for the instantiation of the oaRange template class with the oaUInt8 type。

方法总览

状态 Python 调用
obj.get(value)
obj.set(value)
_base.oaUInt8RangeValue.create(database, value)

方法说明

obj.get(value)

绑定状态: 已绑定

Python 调用: obj.get(value)

This function returns the UInt8 range value of this object。

参数

  • value: The UInt8 range of this object。

Python 示例

from oapy._oa import _base

# assume obj is a oaUInt8RangeValue
obj.get(value)

obj.set(value)

绑定状态: 已绑定

Python 调用: obj.set(value)

This function sets the value of this object to the specified UInt8 range。

参数

  • value: The UInt8 range that is set on this object。

Python 示例

from oapy._oa import _base

# assume obj is a oaUInt8RangeValue
obj.set(value)

_base.oaUInt8RangeValue.create(database, value)

绑定状态: 已绑定

Python 调用: _base.oaUInt8RangeValue.create(database, value)

This function creates an UInt8 range value in the specified database。

参数

  • database: The database in which the intValue is created。
  • value: The range to create the range value with。

Python 示例

from oapy._oa import _base

_base.oaUInt8RangeValue.create(database, value)