From 1059b66c4a0f5a77ecb1ddad764d22994ea557ba Mon Sep 17 00:00:00 2001
From: Moritz Jordan <moritz.jordan@ptb.de>
Date: Tue, 14 Feb 2023 17:22:38 +0100
Subject: [PATCH] feat(primitiveQuantityType): add charsXMLList

---
 src/DCC.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/DCC.ts b/src/DCC.ts
index e9c77a6..e944d0a 100644
--- a/src/DCC.ts
+++ b/src/DCC.ts
@@ -548,6 +548,7 @@ export class PrimitiveQuantityType extends DCCXMLElement {
 
   // region choice
   noQuantity?: RichContentType;
+  charsXMLList?: DCCXMLList;
   /** Metadata element definition for a real measurement quantity.
    *
    * The following statements of a real quantity are possible.
@@ -690,6 +691,7 @@ export class PrimitiveQuantityType extends DCCXMLElement {
 
     // choice
     if (el.noQuantity) this.noQuantity = new RichContentType(el.noQuantity);
+    else if (el.charsXMLList) this.charsXMLList = new DCCXMLList(el.charsXMLList);
     else if (el.real) this.real = new si.RealQuantityType(el.real);
     else if (el.hybrid) this.hybrid = new si.HybridType(el.hybrid);
     else if (el.complex) this.complex = new si.ComplexQuantityType(el.complex);
-- 
GitLab