isoxml
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
27 lines (26 loc) • 897 B
TypeScript
import { TAGS } from './constants';
import { ISOXMLManager } from '../ISOXMLManager';
import { XMLElement } from '../types';
import { Entity, EntityConstructor } from '../types';
export declare enum TimeLogTimeLogTypeEnum {
BinaryTimelogFileType1 = "1"
}
export type TimeLogAttributes = {
Filename: string;
Filelength?: number;
TimeLogType: TimeLogTimeLogTypeEnum;
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class TimeLog implements Entity {
attributes: TimeLogAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: TimeLogAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}