UNPKG

isoxml-angular

Version:

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

27 lines (26 loc) 1.01 kB
import { TAGS } from './constants'; import { ISOXMLManager } from '../ISOXMLManager'; import { XMLElement } from '../types'; import { Entity, EntityConstructor } from '../types'; export type DeviceProcessDataAttributes = { DeviceProcessDataObjectId: number; DeviceProcessDataDDI: string; DeviceProcessDataProperty: number; DeviceProcessDataTriggerMethods: number; DeviceProcessDataDesignator?: string; DeviceValuePresentationObjectId?: number; ProprietaryAttributes?: { [name: string]: string; }; ProprietaryTags?: { [tag: string]: XMLElement[]; }; }; export declare class DeviceProcessData implements Entity { attributes: DeviceProcessDataAttributes; isoxmlManager: ISOXMLManager; tag: TAGS; constructor(attributes: DeviceProcessDataAttributes, isoxmlManager: ISOXMLManager); static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>; toXML(): XMLElement; }