public static NodeId getNodeId()

in plc4j/tools/opcua-server/src/main/java/org/apache/plc4x/java/opcuaserver/backend/Plc4xCommunication.java [105:141]


    public static NodeId getNodeId(PlcValueType plcValueType) {
        switch (plcValueType) {
            case BOOL:
                return Identifiers.Boolean;
            case BYTE:
            case USINT:
                return Identifiers.Byte;
            case SINT:
                return Identifiers.SByte;
            case INT:
                return Identifiers.Int16;
            case WORD:
            case UINT:
                return Identifiers.UInt16;
            case DINT:
                return Identifiers.Int32;
            case DWORD:
            case UDINT:
                return Identifiers.UInt32;
            case LINT:
                return Identifiers.Int64;
            case ULINT:
            case LWORD:
                return Identifiers.UInt64;
            case REAL:
                return Identifiers.Float;
            case LREAL:
                return Identifiers.Double;
            case CHAR:
            case WCHAR:
            case STRING:
            case WSTRING:
                return Identifiers.String;
            default:
                return Identifiers.BaseDataType;
        }
    }