@mx-interface/mtconnect-ts
Version:
MTConnect client library for TypeScript
63 lines (62 loc) • 1.59 kB
TypeScript
export class Device extends Component {
constructor(doc: any, parser: any);
}
declare class Component {
constructor(type: any, doc: any, parser: any, parent?: null);
link: boolean;
joint: boolean;
type: any;
parent: any;
get root(): any;
_root: any;
_entities: {} | undefined;
get entities(): any;
parse(doc: any, parser: any): void;
children: any;
geometry: Geometry | undefined;
attachParentId: any;
attachChildId: any;
motion: Motion | undefined;
coordinateSystems: any;
dataItems: any;
resolve(): void;
attachChild: any;
attachParent: any;
load(complete: any): void;
attach(): void;
rootAxis: boolean | undefined;
findCoordinateSystem(type: any): any[];
findDataItems(pred: any): any[];
findComponents(type: any, name?: undefined): Component[];
findComponent(type: any, name?: undefined): any;
findGeometries(root?: boolean): Geometry[];
findGeometry(name: any): any;
}
declare class Geometry {
constructor(doc: any, comp: any);
children: any[];
component: any;
scale: any;
load(complete: any): void;
model: any;
loadChild(): void;
transform(): void;
position(pos: any): void;
rotate(rot: any): void;
resolve(): void;
parent: any;
coordinateSystem: any;
}
declare class Motion {
constructor(doc: any, comp: any);
component: any;
axis: any;
transform(): void;
rotation: any;
translation: any;
rotatation: any;
resolve(): void;
parent: any;
coordinateSystem: any;
}
export {};