UNPKG

isoxml-angular

Version:

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

28 lines (27 loc) 1.04 kB
import { TAGS } from './constants'; import { ISOXMLManager } from '../ISOXMLManager'; import { XMLElement } from '../types'; import { Polygon } from './Polygon'; import { ProcessDataVariable } from './ProcessDataVariable'; import { Entity, EntityConstructor } from '../types'; export type TreatmentZoneAttributes = { TreatmentZoneCode: number; TreatmentZoneDesignator?: string; TreatmentZoneColour?: number; PolygonTreatmentZoneonly?: Polygon[]; ProcessDataVariable?: ProcessDataVariable[]; ProprietaryAttributes?: { [name: string]: string; }; ProprietaryTags?: { [tag: string]: XMLElement[]; }; }; export declare class TreatmentZone implements Entity { attributes: TreatmentZoneAttributes; isoxmlManager: ISOXMLManager; tag: TAGS; constructor(attributes: TreatmentZoneAttributes, isoxmlManager: ISOXMLManager); static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>; toXML(): XMLElement; }