isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
27 lines (26 loc) • 955 B
TypeScript
import { TAGS } from './constants';
import { ISOXMLManager } from '../ISOXMLManager';
import { XMLElement } from '../types';
import { Entity, EntityConstructor, ISOXMLReference } from '../types';
export type DataLogValueAttributes = {
ProcessDataDDI: string;
ProcessDataValue: number;
DeviceElementIdRef: ISOXMLReference;
DataLogPGN?: number;
DataLogPGNStartBit?: number;
DataLogPGNStopBit?: number;
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class DataLogValue implements Entity {
attributes: DataLogValueAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: DataLogValueAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}