more doc
This commit is contained in:
@ -40,6 +40,8 @@ devsup Package
|
|||||||
|
|
||||||
.. automethod:: field
|
.. automethod:: field
|
||||||
|
|
||||||
|
.. automethod:: setTime
|
||||||
|
|
||||||
.. automethod:: scan
|
.. automethod:: scan
|
||||||
|
|
||||||
.. automethod:: asyncStart
|
.. automethod:: asyncStart
|
||||||
@ -67,6 +69,10 @@ devsup Package
|
|||||||
|
|
||||||
.. automethod:: fieldinfo
|
.. automethod:: fieldinfo
|
||||||
|
|
||||||
|
.. automethod:: getTime
|
||||||
|
|
||||||
|
.. automethod:: getAlarm
|
||||||
|
|
||||||
.. autoclass:: devsup.db.IOScanListBlock
|
.. autoclass:: devsup.db.IOScanListBlock
|
||||||
:members:
|
:members:
|
||||||
:inherited-members:
|
:inherited-members:
|
||||||
|
@ -34,8 +34,10 @@ class _Record(object):
|
|||||||
:rtype: bool
|
:rtype: bool
|
||||||
"""
|
"""
|
||||||
def info(self, key):
|
def info(self, key):
|
||||||
"""info(key)
|
"""info(key [,default])
|
||||||
info(key, default)
|
|
||||||
|
:rtype: str
|
||||||
|
:throws: KeyError
|
||||||
|
|
||||||
Lookup record info tag. If no default
|
Lookup record info tag. If no default
|
||||||
is provided then an exception is raised
|
is provided then an exception is raised
|
||||||
|
@ -241,8 +241,9 @@ class Record(_dbapi._Record):
|
|||||||
def setTime(self, ts):
|
def setTime(self, ts):
|
||||||
"""Set record timestamp.
|
"""Set record timestamp.
|
||||||
|
|
||||||
|
:param ts: timetuple, float, or (sec, nsec).
|
||||||
|
|
||||||
Has not effect if the TSE field is not set to -2.
|
Has not effect if the TSE field is not set to -2.
|
||||||
Accepts timetuple, float, or (sec, nsec).
|
|
||||||
All inputs must be referenced to the posix epoch.
|
All inputs must be referenced to the posix epoch.
|
||||||
"""
|
"""
|
||||||
if hasattr(ts, 'timetuple'):
|
if hasattr(ts, 'timetuple'):
|
||||||
|
Reference in New Issue
Block a user