isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
29 lines (28 loc) • 1.11 kB
TypeScript
import { TAGS } from './constants';
import { ISOXMLManager } from '../ISOXMLManager';
import { XMLElement } from '../types';
import { Entity, EntityConstructor, ISOXMLReference } from '../types';
export type ProcessDataVariableAttributes = {
ProcessDataDDI: string;
ProcessDataValue: number;
ProductIdRef?: ISOXMLReference;
DeviceElementIdRef?: ISOXMLReference;
ValuePresentationIdRef?: ISOXMLReference;
ActualCulturalPracticeValue?: number;
ElementTypeInstanceValue?: number;
ProcessDataVariable?: ProcessDataVariable[];
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class ProcessDataVariable implements Entity {
attributes: ProcessDataVariableAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: ProcessDataVariableAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}