2025-01-07 19:07:33 +02:00
|
|
|
<!--
|
|
|
|
|
|
2025-02-25 09:39:16 +02:00
|
|
|
Copyright © 2016-2025 The Thingsboard Authors
|
2025-01-07 19:07:33 +02:00
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<section [formGroup]="msgCountConfigForm" class="flex flex-col">
|
|
|
|
|
<mat-form-field class="mat-block">
|
2025-01-14 10:48:07 +02:00
|
|
|
<mat-label translate>rule-node-config.interval-seconds</mat-label>
|
2025-01-07 19:07:33 +02:00
|
|
|
<input required type="number" min="1" step="1" matInput formControlName="interval">
|
|
|
|
|
<mat-error *ngIf="msgCountConfigForm.get('interval').hasError('required')">
|
2025-01-14 10:48:07 +02:00
|
|
|
{{ 'rule-node-config.interval-seconds-required' | translate }}
|
2025-01-07 19:07:33 +02:00
|
|
|
</mat-error>
|
|
|
|
|
<mat-error *ngIf="msgCountConfigForm.get('interval').hasError('min')">
|
2025-01-14 10:48:07 +02:00
|
|
|
{{ 'rule-node-config.min-interval-seconds-message' | translate }}
|
2025-01-07 19:07:33 +02:00
|
|
|
</mat-error>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
<mat-form-field class="mat-block">
|
2025-01-14 10:48:07 +02:00
|
|
|
<mat-label translate>rule-node-config.output-timeseries-key-prefix</mat-label>
|
2025-01-07 19:07:33 +02:00
|
|
|
<input required matInput formControlName="telemetryPrefix">
|
|
|
|
|
<mat-error *ngIf="msgCountConfigForm.get('telemetryPrefix').hasError('required')">
|
2025-01-14 10:48:07 +02:00
|
|
|
{{ 'rule-node-config.output-timeseries-key-prefix-required' | translate }}
|
2025-01-07 19:07:33 +02:00
|
|
|
</mat-error>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</section>
|