Lines Matching refs:selectedDevice
31 @property() selectedDevice: Device|undefined; property in DeviceInformation
228 this.selectedDevice = device;
245 console.assert(this.selectedDevice !== null); // eslint-disable-line
249 name: this.selectedDevice?.name,
266 console.assert(this.selectedDevice !== undefined); // eslint-disable-line
267 if (this.selectedDevice === undefined) return;
268 this.selectedDevice.orientation = {
275 name: this.selectedDevice.name,
276 orientation: this.selectedDevice.orientation,
282 console.assert(this.selectedDevice !== undefined); // eslint-disable-line
283 if (this.selectedDevice === undefined) return;
286 name: this.selectedDevice.name,
287 chips: this.selectedDevice.chips,
310 console.assert(this.selectedDevice !== undefined); // eslint-disable-line
311 if (this.selectedDevice === undefined) return;
314 name: this.selectedDevice.name,
315 position: this.selectedDevice.position,
316 orientation: this.selectedDevice.orientation,
336 this.selectedDevice.name = obj.name;
337 this.selectedDevice.position = obj.position;
338 this.selectedDevice.orientation = obj.orientation;
425 this.selectedDevice?.toggleChipState(radio);
480 if (!(this.selectedDevice && this.selectedDevice.chips)) {
488 if (this.selectedDevice.chips.some(chip => isBuiltin(chip))) {
490 this.selectedDevice.chips.map(
496 for (const chip of this.selectedDevice.chips) {
526 this.selectedDevice ?
531 <div class="info">${this.selectedDevice.name}</div>