fixed sensor setting
This commit is contained in:
parent
4a1af6b021
commit
a066ffbfbe
|
@ -5,10 +5,10 @@
|
|||
<mat-form-field class="example-full-width" fxLayoutAlign="center">
|
||||
<input matInput placeholder="Name" value="Sensor 000000">
|
||||
</mat-form-field>
|
||||
<div class="example-selected-value">주기 : {{favoriteSeason}} 초</div>
|
||||
<mat-radio-group class="example-radio-group" [(ngModel)]="favoriteSeason">
|
||||
<mat-radio-button class="example-radio-button" *ngFor="let season of seasons" [value]="season">
|
||||
{{season}} 초
|
||||
<div class="example-selected-value">주기 : {{selectInterval}} 초</div>
|
||||
<mat-radio-group class="example-radio-group" [(ngModel)]="selectInterval">
|
||||
<mat-radio-button class="example-radio-button" *ngFor="let interval of intervals" [value]="interval">
|
||||
{{interval}} 초
|
||||
</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
|
||||
|
|
|
@ -17,13 +17,13 @@ export class SensorItemResult {
|
|||
})
|
||||
export class SettingResultComponent implements OnInit, AfterContentInit {
|
||||
|
||||
favoriteSeason: string;
|
||||
selectInterval: string;
|
||||
sensorItemResultList: Array<SensorItemResult>;
|
||||
optionList: Array<number>;
|
||||
|
||||
constructor() { }
|
||||
|
||||
seasons = [
|
||||
intervals = [
|
||||
'600',
|
||||
'400',
|
||||
'200',
|
||||
|
|
|
@ -25,7 +25,9 @@
|
|||
<mat-form-field class="example-full-width">
|
||||
<input matInput type="password" placeholder="Password" value="">
|
||||
</mat-form-field>
|
||||
|
||||
<div fxLayout="row" fxLayoutWrap fxLayoutAlign="right">
|
||||
<button mat-button>Confirm</button>
|
||||
</div>
|
||||
</form>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
|
Loading…
Reference in New Issue
Block a user