dt-common-device
Version:
A secure and robust device management library for IoT applications
27 lines (26 loc) • 847 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudDevice = void 0;
class CloudDevice {
constructor(device, cloudDeviceService) {
this.deviceId = device.deviceId;
this.localDevice = device;
this.cloudDeviceService = cloudDeviceService;
}
async getDevice(connectionId, deviceId) {
throw new Error("Method not implemented in Super Class.");
}
async getBattery(deviceId) {
throw new Error("Method not implemented in Super Class.");
}
async getState(deviceId) {
throw new Error("Method not implemented in Super Class.");
}
async getStatus(connectionId, deviceId) {
throw new Error("Method not implemented in Super Class.");
}
async toLocalDevice() {
return {};
}
}
exports.CloudDevice = CloudDevice;