more doc
This commit is contained in:
@ -40,17 +40,17 @@ source_suffix = '.rst'
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'devsup'
|
||||
copyright = u'2013, Author'
|
||||
project = u'pyDevSup'
|
||||
copyright = u'2013, Michael Davidsaver'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = ''
|
||||
version = '0.1'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = ''
|
||||
release = '0.1-dev'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@ -183,8 +183,8 @@ latex_elements = {
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', 'devsup.tex', u'devsup Documentation',
|
||||
u'Author', 'manual'),
|
||||
('index', 'devsup.tex', u'pyDevSup Documentation',
|
||||
u'Michael Davidsaver', 'manual'),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
@ -213,8 +213,8 @@ latex_documents = [
|
||||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
('index', 'devsup', u'devsup Documentation',
|
||||
[u'Author'], 1)
|
||||
('index', 'devsup', u'pyDevSup Documentation',
|
||||
[u'Michael Davidsaver'], 1)
|
||||
]
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
@ -227,8 +227,8 @@ man_pages = [
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
('index', 'devsup', u'devsup Documentation',
|
||||
u'Author', 'devsup', 'One line description of project.',
|
||||
('index', 'devsup', u'pyDevSup Documentation',
|
||||
u'Michael Davidsaver', 'devsup', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
@ -245,10 +245,10 @@ texinfo_documents = [
|
||||
# -- Options for Epub output ---------------------------------------------------
|
||||
|
||||
# Bibliographic Dublin Core info.
|
||||
epub_title = u'devsup'
|
||||
epub_author = u'Author'
|
||||
epub_publisher = u'Author'
|
||||
epub_copyright = u'2013, Author'
|
||||
epub_title = u'pyDevSup'
|
||||
epub_author = u'Michael Davidsaver'
|
||||
epub_publisher = u'Michael Davidsaver'
|
||||
epub_copyright = u'2013, Michael Davidsaver'
|
||||
|
||||
# The language of the text. It defaults to the language option
|
||||
# or en if the language is not set.
|
||||
|
@ -1,8 +1,18 @@
|
||||
devsup Package
|
||||
==============
|
||||
|
||||
.. module:: devsup
|
||||
|
||||
.. autofunction:: devsup.verinfo
|
||||
|
||||
.. data:: NO_ALARM, MINOR_ALARM, MAJOR_ALARM, INVALID_ALARM
|
||||
|
||||
Constants for alarm severity. Use with :meth:`Record.setSevr <.db.Record.setSevr>`
|
||||
|
||||
.. data:: NO_ALARM, READ_ALARM, WRITE_ALARM, ...
|
||||
|
||||
Constants for alarm status. Use with :meth:`Record.setSevr <.db.Record.setSevr>`
|
||||
|
||||
:mod:`db` Module
|
||||
----------------
|
||||
|
||||
@ -40,6 +50,8 @@ devsup Package
|
||||
|
||||
.. automethod:: field
|
||||
|
||||
.. automethod:: setSevr
|
||||
|
||||
.. automethod:: setTime
|
||||
|
||||
.. automethod:: scan
|
||||
|
@ -3,8 +3,8 @@
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
|
||||
Welcome to devsup's documentation!
|
||||
==================================
|
||||
pydevsup documentation
|
||||
======================
|
||||
|
||||
Contents:
|
||||
|
||||
|
@ -49,9 +49,12 @@ class _Record(object):
|
||||
"""
|
||||
|
||||
def setSevr(self, sevr=3, stat=15):
|
||||
"""setSevr(sevr=INVALID, stat=COMM)
|
||||
"""setSevr(sevr=INVALID_ALARM, stat=COMM_ALARM)
|
||||
|
||||
Set new alarm condition.
|
||||
Signal a new alarm condition. The effect of this
|
||||
call depends on the current alarm condition.
|
||||
|
||||
See :c:func:`recGblSetSevr` in EPICS Base.
|
||||
"""
|
||||
|
||||
def scan(self, sync=False, reason=None, force=0):
|
||||
|
@ -241,7 +241,7 @@ class Record(_dbapi._Record):
|
||||
def setTime(self, ts):
|
||||
"""Set record timestamp.
|
||||
|
||||
:param ts: timetuple, float, or (sec, nsec).
|
||||
:param ts: datetime, float, or (sec, nsec).
|
||||
|
||||
Has not effect if the TSE field is not set to -2.
|
||||
All inputs must be referenced to the posix epoch.
|
||||
|
Reference in New Issue
Block a user