resolved conflicts
This commit is contained in:
commit
f542cac443
@ -34,12 +34,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
<div class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
||||||
<div class="fixed-title-width" tb-hint-tooltip-icon="{{ 'gateway.hints.opcua-timeout' | translate }}">
|
<div class="fixed-title-width" tb-hint-tooltip-icon="{{ 'gateway.hints.opc-timeout' | translate }}">
|
||||||
<div tbTruncateWithTooltip>{{ 'gateway.timeout' | translate }}</div>
|
<div tbTruncateWithTooltip>{{ 'gateway.timeout' | translate }}</div>
|
||||||
</div>
|
</div>
|
||||||
<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">
|
||||||
<input matInput type="number" min="0" name="value" formControlName="timeoutInMillis" placeholder="{{ 'gateway.set' | translate }}"/>
|
<input matInput type="number" min="1000" name="value" formControlName="timeoutInMillis" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
<mat-icon matSuffix
|
<mat-icon matSuffix
|
||||||
matTooltipPosition="above"
|
matTooltipPosition="above"
|
||||||
matTooltipClass="tb-error-tooltip"
|
matTooltipClass="tb-error-tooltip"
|
||||||
@ -69,7 +69,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<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">
|
||||||
<input matInput type="number" min="0" name="value"
|
<input matInput type="number" min="1000" name="value"
|
||||||
formControlName="scanPeriodInMillis" placeholder="{{ 'gateway.set' | translate }}"/>
|
formControlName="scanPeriodInMillis" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
<mat-icon matSuffix
|
<mat-icon matSuffix
|
||||||
matTooltipPosition="above"
|
matTooltipPosition="above"
|
||||||
@ -90,12 +90,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<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">
|
||||||
<input matInput type="number" min="0" name="value"
|
<input matInput type="number" min="100" name="value"
|
||||||
formControlName="subCheckPeriodInMillis" placeholder="{{ 'gateway.set' | translate }}"/>
|
formControlName="subCheckPeriodInMillis" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
<mat-icon matSuffix
|
<mat-icon matSuffix
|
||||||
matTooltipPosition="above"
|
matTooltipPosition="above"
|
||||||
matTooltipClass="tb-error-tooltip"
|
matTooltipClass="tb-error-tooltip"
|
||||||
[matTooltip]="'gateway.sub-check-period-error' | translate: {min: 10}"
|
[matTooltip]="'gateway.sub-check-period-error' | translate: {min: 100}"
|
||||||
*ngIf="(serverConfigFormGroup.get('subCheckPeriodInMillis').hasError('required') ||
|
*ngIf="(serverConfigFormGroup.get('subCheckPeriodInMillis').hasError('required') ||
|
||||||
serverConfigFormGroup.get('subCheckPeriodInMillis').hasError('min')) &&
|
serverConfigFormGroup.get('subCheckPeriodInMillis').hasError('min')) &&
|
||||||
serverConfigFormGroup.get('subCheckPeriodInMillis').touched"
|
serverConfigFormGroup.get('subCheckPeriodInMillis').touched"
|
||||||
|
|||||||
@ -82,7 +82,7 @@ export class OpcServerConfigComponent implements ControlValueAccessor, Validator
|
|||||||
timeoutInMillis: [1000, [Validators.required, Validators.min(1000)]],
|
timeoutInMillis: [1000, [Validators.required, Validators.min(1000)]],
|
||||||
scanPeriodInMillis: [1000, [Validators.required, Validators.min(1000)]],
|
scanPeriodInMillis: [1000, [Validators.required, Validators.min(1000)]],
|
||||||
enableSubscriptions: [true, []],
|
enableSubscriptions: [true, []],
|
||||||
subCheckPeriodInMillis: [10, [Validators.required, Validators.min(10)]],
|
subCheckPeriodInMillis: [100, [Validators.required, Validators.min(100)]],
|
||||||
showMap: [false, []],
|
showMap: [false, []],
|
||||||
security: [SecurityPolicy.BASIC128, []],
|
security: [SecurityPolicy.BASIC128, []],
|
||||||
identity: []
|
identity: []
|
||||||
@ -120,7 +120,7 @@ export class OpcServerConfigComponent implements ControlValueAccessor, Validator
|
|||||||
timeoutInMillis = 1000,
|
timeoutInMillis = 1000,
|
||||||
scanPeriodInMillis = 1000,
|
scanPeriodInMillis = 1000,
|
||||||
enableSubscriptions = true,
|
enableSubscriptions = true,
|
||||||
subCheckPeriodInMillis = 10,
|
subCheckPeriodInMillis = 100,
|
||||||
showMap = false,
|
showMap = false,
|
||||||
security = SecurityPolicy.BASIC128,
|
security = SecurityPolicy.BASIC128,
|
||||||
identity = {},
|
identity = {},
|
||||||
|
|||||||
@ -3370,7 +3370,7 @@
|
|||||||
"framer-type": "Type of framer.",
|
"framer-type": "Type of framer.",
|
||||||
"file": "Your data will be stored in separated files and will be saved even after the gateway restart.",
|
"file": "Your data will be stored in separated files and will be saved even after the gateway restart.",
|
||||||
"sqlite": "Your data will be stored in file based database. And will be saved even after the gateway restart.",
|
"sqlite": "Your data will be stored in file based database. And will be saved even after the gateway restart.",
|
||||||
"opcua-timeout": "Timeout in seconds for connecting to OPC-UA server.",
|
"opc-timeout": "Timeout in milliseconds for connecting to OPC-UA server.",
|
||||||
"scan-period": "Period in milliseconds to rescan the server.",
|
"scan-period": "Period in milliseconds to rescan the server.",
|
||||||
"sub-check-period": "Period to check the subscriptions in the OPC-UA server.",
|
"sub-check-period": "Period to check the subscriptions in the OPC-UA server.",
|
||||||
"enable-subscription": "If true - the gateway will subscribe to interesting nodes and wait for data update and if false - the gateway will rescan OPC-UA server every scanPeriodInMillis.",
|
"enable-subscription": "If true - the gateway will subscribe to interesting nodes and wait for data update and if false - the gateway will rescan OPC-UA server every scanPeriodInMillis.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user