UNPKG

isoxml-angular

Version:

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

27 lines (26 loc) 903 B
import { ISOXMLManager } from "../ISOXMLManager"; import { XMLElement } from "../types"; import { TAGS } from "./constants"; import { Entity, EntityConstructor } from "../types"; export declare const 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; }