# ----------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you 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
#
#    https://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.
# ----------------------------------------------------------------------------

version: 0.8
#dir: "./security"
name: Plc4x.OPC.UA.Server
disableInsecureEndpoint: true
tcpPort: 12687
devices:
- name: "Simulated Device"
  connectionString: "simulated://127.0.0.1"
  tags:
  - alias: "Simulated_BOOL"
    address: "RANDOM/Simulated:BOOL"
  - alias: "Simulated_BYTE"
    address: "RANDOM/Simulated:BYTE"
  - alias: "Simulated_WORD"
    address: "RANDOM/Simulated:WORD"
  - alias: "Simulated_DWORD"
    address: "RANDOM/Simulated:DWORD"
  - alias: "Simulated_SINT"
    address: "RANDOM/Simulated:SINT"
  - alias: "Simulated_USINT"
    address: "RANDOM/Simulated:USINT"
  - alias: "Simulated_INT"
    address: "RANDOM/Simulated:INT"
  - alias: "Simulated_UINT"
    address: "RANDOM/Simulated:UINT"
  - alias: "Simulated_DINT"
    address: "RANDOM/Simulated:DINT"
  - alias: "Simulated_UDINT"
    address: "RANDOM/Simulated:UDINT"
  - alias: "Simulated_LINT"
    address: "RANDOM/Simulated:LINT"
  - alias: "Simulated_ULINT"
    address: "RANDOM/Simulated:ULINT"
  - alias: "Simulated_REAL"
    address: "RANDOM/Simulated:REAL"
  - alias: "Simulated_LREAL"
    address: "RANDOM/Simulated:LREAL"
  - alias: "Simulated_CHAR"
    address: "RANDOM/Simulated:CHAR"
  - alias: "Simulated_WCHAR"
    address: "RANDOM/Simulated:WCHAR"
  - alias: "Simulated_STRING"
    address: "RANDOM/Simulated:STRING"
  - alias: "Simulated_WSTRING"
    address: "RANDOM/Simulated:WSTRING"
- name: "OPC UA Device"
  connectionString: "opcua:tcp://127.0.0.1:12687/plc4x"
  tags:
  - alias: "Simulated_OPC_BOOL"
    address: "ns=1;s=Simulated_BOOL"
  - alias: "Simulated_OPC_BYTE"
    address: "ns=1;s=Simulated_BYTE"
  - alias: "Simulated_OPC_WORD"
    address: "ns=1;s=Simulated_WORD"
  - alias: "Simulated_OPC_DWORD"
    address: "ns=1;s=Simulated_DWORD"
  - alias: "Simulated_OPC_SINT"
    address: "ns=1;s=Simulated_SINT"
  - alias: "Simulated_OPC_USINT"
    address: "ns=1;s=Simulated_USINT"
  - alias: "Simulated_OPC_INT"
    address: "ns=1;s=Simulated_INT"
  - alias: "Simulated_OPC_UINT"
    address: "ns=1;s=Simulated_UINT"
  - alias: "Simulated_OPC_DINT"
    address: "ns=1;s=Simulated_DINT"
  - alias: "Simulated_OPC_UDINT"
    address: "ns=1;s=Simulated_UDINT"
  - alias: "Simulated_OPC_LINT"
    address: "ns=1;s=Simulated_LINT"
  - alias: "Simulated_OPC_ULINT"
    address: "ns=1;s=Simulated_ULINT"
  - alias: "Simulated_OPC_REAL"
    address: "ns=1;s=Simulated_REAL"
  - alias: "Simulated_OPC_LREAL"
    address: "ns=1;s=Simulated_LREAL"
  - alias: "Simulated_OPC_CHAR"
    address: "ns=1;s=Simulated_CHAR"
  - alias: "Simulated_OPC_WCHAR"
    address: "ns=1;s=Simulated_WCHAR"
  - alias: "Simulated_OPC_STRING"
    address: "ns=1;s=Simulated_STRING"
  - alias: "Simulated_OPC_WSTRING"
    address: "ns=1;s=Simulated_WSTRING"
