|
|
@ -76,7 +76,12 @@ |
|
|
<div class="tb-flex no-gap"> |
|
|
<div class="tb-flex no-gap"> |
|
|
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic"> |
|
|
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic"> |
|
|
<mat-select formControlName="functionCode"> |
|
|
<mat-select formControlName="functionCode"> |
|
|
<mat-option *ngFor="let code of functionCodesMap.get(keyControl.get('id').value) || defaultFunctionCodes" [value]="code">{{ ModbusFunctionCodeTranslationsMap.get(code) | translate }}</mat-option> |
|
|
<mat-option |
|
|
|
|
|
*ngFor="let code of functionCodesMap.get(keyControl.get('id').value) || defaultFunctionCodes" |
|
|
|
|
|
[value]="code" |
|
|
|
|
|
> |
|
|
|
|
|
{{ ModbusFunctionCodeTranslationsMap.get(code) | translate }} |
|
|
|
|
|
</mat-option> |
|
|
</mat-select> |
|
|
</mat-select> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
</div> |
|
|
</div> |
|
|
|