isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
30 lines (29 loc) • 1.05 kB
TypeScript
import { ISOXMLManager } from "../ISOXMLManager";
import { XMLElement } from "../types";
import { TAGS } from "./constants";
import { TimelogDataLogValue } from "./TimelogDataLogValue";
import { TimelogPosition } from "./TimelogPosition";
import { Entity, EntityConstructor } from "../types";
export declare const enum TimelogTimeTypeEnum {
Effective = "4"
}
export type TimelogTimeAttributes = {
Start: string;
Type: TimelogTimeTypeEnum;
Position?: TimelogPosition[];
DataLogValue?: TimelogDataLogValue[];
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class TimelogTime implements Entity {
attributes: TimelogTimeAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: TimelogTimeAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}