add meta-data mappings

map:
* display.description to DESC
* display.format based on PREC
* valueAlarm.*Limit based on alarm limits

format is always empty if qsrvDisableFormat=1
which is the default as I worry that
clients will this printf() spec is unfortunate ways.
This commit is contained in:
Michael Davidsaver
2017-11-02 14:43:15 -05:00
parent f71d0a8d3c
commit c79f3624bd
3 changed files with 95 additions and 9 deletions

View File

@ -16,6 +16,16 @@ record(calc, "circle:angle") {
field(INPA, "circle:angle NPP")
field(INPB, "circle:step NPP")
field(INPD, "360")
field(DESC, "Angle")
field(EGU , "deg")
field(LOLO, "45")
field(LOW , "135")
field(HIGH, "225")
field(HIHI, "315")
field(LLSV, "MAJOR")
field(LSV , "MINOR")
field(HSV , "MINOR")
field(HHSV, "MAJOR")
field(CALC, "C:=A+B;(C>=D)?C-D:C")
field(FLNK, "circle:x")
field(PREC, "3")