UNPKG

isoxml-angular

Version:

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

25 lines (24 loc) 866 B
import { TAGS } from './constants'; import { ISOXMLManager } from '../ISOXMLManager'; import { XMLElement } from '../types'; import { Entity, EntityConstructor } from '../types'; export type BaseStationAttributes = { BaseStationDesignator: string; BaseStationNorth: number; BaseStationEast: number; BaseStationUp: number; ProprietaryAttributes?: { [name: string]: string; }; ProprietaryTags?: { [tag: string]: XMLElement[]; }; }; export declare class BaseStation implements Entity { attributes: BaseStationAttributes; isoxmlManager: ISOXMLManager; tag: TAGS; constructor(attributes: BaseStationAttributes, isoxmlManager: ISOXMLManager); static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>; toXML(): XMLElement; }