From 2c34bde1f1a4c2b31f0886051d688fb716d1e966 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sun, 12 Dec 2021 14:04:01 -0500 Subject: [PATCH] 2021-12-12 Fred Gleason * Added a 'graceTime' field to the return XML for the 'ListLog' WebAPI call. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ lib/rdlog_line.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index d4f510f4..7028f165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22750,3 +22750,6 @@ * Added a 'LogLine' class to the 'rivwebapi' API. * Modified the 'ListLog()' method to use the 'LogLine' class in the 'rivwebapi' API. +2021-12-12 Fred Gleason + * Added a 'graceTime' field to the return XML for the 'ListLog' + WebAPI call. diff --git a/lib/rdlog_line.cpp b/lib/rdlog_line.cpp index ce3a985e..dab85bd9 100644 --- a/lib/rdlog_line.cpp +++ b/lib/rdlog_line.cpp @@ -2351,6 +2351,7 @@ QString RDLogLine::xml(int line) const ret+=" "+RDXmlField("startTime"); } } + ret+=" "+RDXmlField("graceTime",graceTime()); ret+=" "+RDXmlField("transitionType",RDLogLine::transText(transType())); ret+=" "+RDXmlField("cutQuantity",cutQuantity()); ret+=" "+RDXmlField("lastCutPlayed",lastCutPlayed());