CloudDeviceController.js 597 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var CloudDeviceController = (function () {
  4. function CloudDeviceController(data) {
  5. this.type = 4;
  6. this.apikey = data.apikey;
  7. this.deviceId = data.deviceId;
  8. this.deviceName = data.deviceName;
  9. this.extra = data.extra;
  10. this.index = data.index;
  11. this.online = data.online;
  12. this.devicekey = data.devicekey;
  13. this.disabled = data.disabled || false;
  14. }
  15. return CloudDeviceController;
  16. }());
  17. exports.default = CloudDeviceController;