UNPKG

@robotical/roboticaljs

Version:

Javascript/TS library for Robotical products

47 lines (46 loc) 1.19 kB
import { RICHWElem } from "./RICHWElem"; /** * RICAddOn * * @description * Information about an add-on * * @field name: string - Name of add-on * @field SN: string - Serial number * @field poll: string - polling type ("status") * @field pollRd: string - hex data most recently read * @field pollHz: number - rate of polling */ export type RICAddOn = { name: string; SN: string; poll: string; pollRd: number; pollHz: number; }; export declare class RICConfiguredAddOns { req: string; rslt: string; addons: Array<RICAddOn>; } /** * AddOnElemAndConfig * * @description * Carrier of information about an add-on combining * the add-on element and the add-on configuration * * @field addOnConfig: RICAddOn - Add-on configuration * @field hwElemRec: RICHWElem - Add-on element * @field elemIdx: number - Index of the add-on element */ export declare class AddOnElemAndConfig { constructor(addOnConfig: RICAddOn | null, hwElemRec: RICHWElem | null, elemIdx: number); addOnConfig: RICAddOn | null; hwElemRec: RICHWElem | null; name: string; SN: string; id: string; isConnected: boolean; isConfigured: boolean; }