Removed 'OPCUA ASYNCIO' Connector Type
This commit is contained in:
parent
c4e5ab65ee
commit
c095a3728a
@ -478,9 +478,6 @@
|
||||
</button>
|
||||
</fieldset>
|
||||
</ng-template>
|
||||
<ng-template [ngSwitchCase]="ConnectorType.OPCUA_ASYNCIO">
|
||||
<ng-container *ngTemplateOutlet="OPCUAForm"></ng-container>
|
||||
</ng-template>
|
||||
<ng-template [ngSwitchCase]="ConnectorType.OPCUA" #OPCUAForm>
|
||||
<mat-form-field >
|
||||
<mat-label>{{ 'gateway.rpc.method' | translate }}</mat-label>
|
||||
|
||||
@ -269,7 +269,6 @@ export class GatewayServiceRPCConnectorComponent implements OnInit, ControlValue
|
||||
})
|
||||
break;
|
||||
case ConnectorType.OPCUA:
|
||||
case ConnectorType.OPCUA_ASYNCIO:
|
||||
formGroup = this.fb.group({
|
||||
method: [null, [Validators.required, Validators.pattern(noLeadTrailSpacesRegex)]],
|
||||
arguments: this.fb.array([]),
|
||||
@ -413,7 +412,6 @@ export class GatewayServiceRPCConnectorComponent implements OnInit, ControlValue
|
||||
delete value.httpHeaders;
|
||||
break;
|
||||
case ConnectorType.OPCUA:
|
||||
case ConnectorType.OPCUA_ASYNCIO:
|
||||
this.clearFromArrayByName("arguments");
|
||||
value.arguments.forEach(value => {
|
||||
this.addOCPUAArguments(value)
|
||||
|
||||
@ -150,7 +150,6 @@ export class GatewayServiceRPCComponent implements OnInit {
|
||||
case ConnectorType.BACNET:
|
||||
case ConnectorType.CAN:
|
||||
case ConnectorType.OPCUA:
|
||||
case ConnectorType.OPCUA_ASYNCIO:
|
||||
return params.method;
|
||||
case ConnectorType.BLE:
|
||||
case ConnectorType.OCPP:
|
||||
|
||||
@ -125,7 +125,6 @@ export enum ConnectorType {
|
||||
MODBUS = 'modbus',
|
||||
GRPC = 'grpc',
|
||||
OPCUA = 'opcua',
|
||||
OPCUA_ASYNCIO = 'opcua_asyncio',
|
||||
BLE = 'ble',
|
||||
REQUEST = 'request',
|
||||
CAN = 'can',
|
||||
@ -145,7 +144,6 @@ export const GatewayConnectorDefaultTypesTranslatesMap = new Map<ConnectorType,
|
||||
[ConnectorType.MODBUS, 'MODBUS'],
|
||||
[ConnectorType.GRPC, 'GRPC'],
|
||||
[ConnectorType.OPCUA, 'OPCUA'],
|
||||
[ConnectorType.OPCUA_ASYNCIO, 'OPCUA ASYNCIO'],
|
||||
[ConnectorType.BLE, 'BLE'],
|
||||
[ConnectorType.REQUEST, 'REQUEST'],
|
||||
[ConnectorType.CAN, 'CAN'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user