UNPKG

isoxml-angular

Version:

JavaScript library to parse and generate ISOXML (ISO11783-10) files

14 lines (13 loc) 1.21 kB
import { DeviceProcessData, DeviceValuePresentation, ValuePresentation } from "./baseEntities"; import { ISOXMLManager } from "./ISOXMLManager"; import { AttributesDescription, Entity, EntityConstructor, ReferencesDescription, ValueInformation, XMLElement } from "./types"; export declare function xml2ChildTags(xml: XMLElement, referencesDescription: ReferencesDescription, isoxmlManager: ISOXMLManager, internalId: string): Promise<{ [tag: string]: Entity[]; }>; export declare function childTags2Xml(entity: Entity, referencesDescription: ReferencesDescription): { [tag: string]: any; }; export declare function fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, entityClass: EntityConstructor, attributesDescription: AttributesDescription, referencesDescription: ReferencesDescription, internalId?: string): Promise<Entity>; export declare function toXML(entity: Entity, attributesDescription: AttributesDescription, referencesDescription: ReferencesDescription): XMLElement; export declare function DDIToString(DDI: number): string; export declare function constructValueInformation(ddiString: string, vpn?: ValuePresentation | DeviceValuePresentation, dpd?: DeviceProcessData): ValueInformation;