From 51fdf86a2bd3e86e10d27bf1b568ef785542fe8b Mon Sep 17 00:00:00 2001 From: Martin Long Date: Sun, 14 Dec 2014 23:23:49 +0000 Subject: [PATCH] Fix event/alarm types in UDDF export. UDDF only supports a specific set of alarms. Some events also don't map to alarms but map to other types of elements in UDDF. This patch adds a map of the accepted types. Where a map doesn't exist the type will not be mapped to an alarm, the option then remains to map it to another kind of element, in the same way that happened with headings and gas switches. This removes the need for the specific exclusion of heading and gas switch, as they are now simply not included in the map. Signed-off-by: Martin Long Signed-off-by: Dirk Hohndel --- xslt/uddf-export.xslt | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 89bf6c137..d1d46a9b9 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -18,6 +18,24 @@ + + + + ascent + deco + + rbt + + + + + error + + surface + + error + + @@ -348,9 +366,12 @@ - + + + + - + @@ -406,10 +427,15 @@ - - - - + + + + + + + + +