import { ESPCDFDeviceParam } from "../../entities/ESPCDFDeviceParam"; import { ESPCDFAttributeInterface } from "./common"; import { ESPCDFDeviceParamInterface } from "./deviceParam"; /** * Operation types for device operations */ export type ESPCDFDeviceOperationType = "getParams"; export interface ESPCDFDeviceOperation { getParams(): Promise; } export interface ESPCDFDeviceInterface extends ESPCDFAttributeInterface { name: string; params: ESPCDFDeviceParamInterface[]; attributes?: ESPCDFAttributeInterface[]; displayName?: string; type?: string; operations: ESPCDFDeviceOperation; _raw: any; }