isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
31 lines (30 loc) • 1.02 kB
TypeScript
import { ISOXMLManager } from "../ISOXMLManager";
import { XMLElement } from "../types";
import { TAGS } from "./constants";
import { Position } from "./Position";
import { Entity, EntityConstructor } from "../types";
export declare const enum AllocationStampTypeEnum {
Planned = "1",
EffectiveRealized = "4"
}
export type AllocationStampAttributes = {
Start: string;
Stop?: string;
Duration?: number;
Type: AllocationStampTypeEnum;
Position?: Position[];
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class AllocationStamp implements Entity {
attributes: AllocationStampAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: AllocationStampAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}