Skip to content
Snippets Groups Projects

Update to DCC Schema V3.2

Merged Jan Loewe requested to merge feat-dcc-v-3-2 into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -248,11 +248,17 @@ export class ItemListType extends DCCXMLElement {
export class CalibrationLaboratoryType extends DCCXMLElement {
calibrationLaboratoryCode?: DCCXMLElement;
contact: ContactType;
cryptElectronicSeal?: DCCXMLBoolean;
cryptElectronicSignature?: DCCXMLBoolean;
cryptElectronicTimeStamp?: DCCXMLBoolean;
constructor(el: Partial<CalibrationLaboratoryType> = {}) {
super(el);
if (el.calibrationLaboratoryCode) this.calibrationLaboratoryCode = new DCCXMLElement(el.calibrationLaboratoryCode);
this.contact = new ContactType(el.contact);
if (el.cryptElectronicSeal) this.cryptElectronicSeal = new DCCXMLBoolean(el.cryptElectronicSeal);
if (el.cryptElectronicSignature) this.cryptElectronicSignature = new DCCXMLBoolean(el.cryptElectronicSignature);
if (el.cryptElectronicTimeStamp) this.cryptElectronicTimeStamp = new DCCXMLBoolean(el.cryptElectronicTimeStamp);
}
}
Loading