Removed 'OPCUA ASYNCIO' Connector Type

This commit is contained in:
mpetrov 2024-06-20 16:31:32 +03:00
parent c4e5ab65ee
commit c095a3728a
4 changed files with 0 additions and 8 deletions

View File

@ -478,9 +478,6 @@
</button> </button>
</fieldset> </fieldset>
</ng-template> </ng-template>
<ng-template [ngSwitchCase]="ConnectorType.OPCUA_ASYNCIO">
<ng-container *ngTemplateOutlet="OPCUAForm"></ng-container>
</ng-template>
<ng-template [ngSwitchCase]="ConnectorType.OPCUA" #OPCUAForm> <ng-template [ngSwitchCase]="ConnectorType.OPCUA" #OPCUAForm>
<mat-form-field > <mat-form-field >
<mat-label>{{ 'gateway.rpc.method' | translate }}</mat-label> <mat-label>{{ 'gateway.rpc.method' | translate }}</mat-label>

View File

@ -269,7 +269,6 @@ export class GatewayServiceRPCConnectorComponent implements OnInit, ControlValue
}) })
break; break;
case ConnectorType.OPCUA: case ConnectorType.OPCUA:
case ConnectorType.OPCUA_ASYNCIO:
formGroup = this.fb.group({ formGroup = this.fb.group({
method: [null, [Validators.required, Validators.pattern(noLeadTrailSpacesRegex)]], method: [null, [Validators.required, Validators.pattern(noLeadTrailSpacesRegex)]],
arguments: this.fb.array([]), arguments: this.fb.array([]),
@ -413,7 +412,6 @@ export class GatewayServiceRPCConnectorComponent implements OnInit, ControlValue
delete value.httpHeaders; delete value.httpHeaders;
break; break;
case ConnectorType.OPCUA: case ConnectorType.OPCUA:
case ConnectorType.OPCUA_ASYNCIO:
this.clearFromArrayByName("arguments"); this.clearFromArrayByName("arguments");
value.arguments.forEach(value => { value.arguments.forEach(value => {
this.addOCPUAArguments(value) this.addOCPUAArguments(value)

View File

@ -150,7 +150,6 @@ export class GatewayServiceRPCComponent implements OnInit {
case ConnectorType.BACNET: case ConnectorType.BACNET:
case ConnectorType.CAN: case ConnectorType.CAN:
case ConnectorType.OPCUA: case ConnectorType.OPCUA:
case ConnectorType.OPCUA_ASYNCIO:
return params.method; return params.method;
case ConnectorType.BLE: case ConnectorType.BLE:
case ConnectorType.OCPP: case ConnectorType.OCPP:

View File

@ -125,7 +125,6 @@ export enum ConnectorType {
MODBUS = 'modbus', MODBUS = 'modbus',
GRPC = 'grpc', GRPC = 'grpc',
OPCUA = 'opcua', OPCUA = 'opcua',
OPCUA_ASYNCIO = 'opcua_asyncio',
BLE = 'ble', BLE = 'ble',
REQUEST = 'request', REQUEST = 'request',
CAN = 'can', CAN = 'can',
@ -145,7 +144,6 @@ export const GatewayConnectorDefaultTypesTranslatesMap = new Map<ConnectorType,
[ConnectorType.MODBUS, 'MODBUS'], [ConnectorType.MODBUS, 'MODBUS'],
[ConnectorType.GRPC, 'GRPC'], [ConnectorType.GRPC, 'GRPC'],
[ConnectorType.OPCUA, 'OPCUA'], [ConnectorType.OPCUA, 'OPCUA'],
[ConnectorType.OPCUA_ASYNCIO, 'OPCUA ASYNCIO'],
[ConnectorType.BLE, 'BLE'], [ConnectorType.BLE, 'BLE'],
[ConnectorType.REQUEST, 'REQUEST'], [ConnectorType.REQUEST, 'REQUEST'],
[ConnectorType.CAN, 'CAN'], [ConnectorType.CAN, 'CAN'],