fengxiang
2018-08-03 4c99ab95e0449348d938ec0ceb949bceafb0cfda
src/app/routes/operation/device-controller/device-controller.component.html
@@ -1,6 +1,3 @@
<!-- <ng-template [ngSwitch]="deviceControllerService.incumbent">
   <app-device-status *ngSwitchCase="status"></app-device-status>
</ng-template> -->
<ng-container [ngSwitch]="deviceControllerService.incumbent">
    <app-device-status *ngSwitchCase="'status'"></app-device-status>
    <app-device-data *ngSwitchCase="'data'"></app-device-data>