Skip to content

Commit 3fb5f97

Browse files
committed
Update of save&restore service doc
1 parent c0abdb0 commit 3fb5f97

File tree

1 file changed

+28
-19
lines changed

1 file changed

+28
-19
lines changed

services/save-and-restore/doc/index.rst

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -961,54 +961,63 @@ Return value: a list of comparison results, one for each PV in the snapshot, e.g
961961

962962
.. code-block:: JSON
963963
964-
{
965-
"equal" : "false",
966-
"pvCompareMode": "RELATIVE",
967-
"tolerance" : 0,
964+
[
965+
{
966+
"pvName": "COUNTER10",
967+
"equal": false,
968+
"comparison": {
969+
"comparisonMode": "ABSOLUTE",
970+
"tolerance": 0
971+
},
968972
"storedValue": {
969973
"type": {
970-
"name": "VInt",
974+
"name": "VDouble",
971975
"version": 1
972976
},
973-
"value": 18,
977+
"value": 409553,
974978
"alarm": {
975979
"severity": "NONE",
976980
"status": "NONE",
977-
"name": "NONE"
981+
"name": "NO_ALARM"
978982
},
979983
"time": {
980-
"unixSec": 1653903750,
981-
"nanoSec": 532912758
984+
"unixSec": 1747125271,
985+
"nanoSec": 462384000,
986+
"userTag": 0
982987
},
983988
"display": {
984-
"units": ""
989+
"lowDisplay": 0,
990+
"highDisplay": 0,
991+
"units": "",
992+
"description": "This is a description"
985993
}
986994
},
987995
"liveValue": {
988996
"type": {
989-
"name": "VInt",
997+
"name": "VDouble",
990998
"version": 1
991999
},
992-
"value": 14,
1000+
"value": 409623,
9931001
"alarm": {
9941002
"severity": "NONE",
9951003
"status": "NONE",
9961004
"name": "NO_ALARM"
9971005
},
9981006
"time": {
999-
"unixSec": 1734688284,
1000-
"nanoSec": 605970324,
1007+
"unixSec": 1747125341,
1008+
"nanoSec": 460785000,
10011009
"userTag": 0
10021010
},
10031011
"display": {
1004-
"lowDisplay": 0.0,
1005-
"highDisplay": 255.0,
1012+
"lowDisplay": 0,
1013+
"highDisplay": 0,
10061014
"units": "",
1007-
"description": "Mapping for Pulser 0"
1015+
"description": "This is a description"
10081016
}
10091017
},
1010-
"delta": "+4"
1011-
}
1018+
"delta": "-70.0"
1019+
}
1020+
]
10121021
10131022
Note that if the comparison evaluates to "equal", then ``storedValue`` and ``liveValue`` are set to ``null``.
10141023
The ``delta`` field value is formatted in the same manner as the delta column in the client UI.

0 commit comments

Comments
 (0)