isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
26 lines (25 loc) • 942 B
TypeScript
import { TAGS } from './constants';
import { ISOXMLManager } from '../ISOXMLManager';
import { XMLElement } from '../types';
import { Entity, EntityConstructor } from '../types';
export type DevicePropertyAttributes = {
DevicePropertyObjectId: number;
DevicePropertyDDI: string;
DevicePropertyValue: number;
DevicePropertyDesignator?: string;
DeviceValuePresentationObjectId?: number;
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class DeviceProperty implements Entity {
attributes: DevicePropertyAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: DevicePropertyAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}