Updates the vendored ads.dbd to the ads-ioc R0.5.0 database definition file (this makes the diff line count look massive...)
This is used in the test suite to verify the fields that we have set
Adds description field to autosave for all records, input and output
Adds alarm severity and limit fields to autosave for all relevant input and output records
Adds control limit (drive low/high) fields to autosave for relevant output records
Helpful whatrecord blurb
import whatrecord
dbd = whatrecord.parse("pytmc/tests/ads.dbd")
for rtyp in ("ai", "ao", "bi", "bo", "mbbi", "mbbo", "longin", "longout", "waveform"):
print(f"\n\n{rtyp}\n{'-' * len(rtyp)}")
for name, fld in dbd.record_types[rtyp].fields.items():
if fld.prompt and "sev" in fld.prompt.lower():
print(f'"{name}", # {fld.prompt}')
Context
Closes #286
Changes
ads.dbd
to the ads-ioc R0.5.0 database definition file (this makes the diff line count look massive...)Helpful whatrecord blurb