This project can iterate JSON-Models generated from SOIL-Interfaces and convert them into an OPC UA Server.At the moment everything except enums can be generated. Our code generates the functions as empty bodies, but you get a descripton and a guide on how to integrate your algorithm.
This project can iterate **JSON-Models** generated from SOIL-Interfaces and convert them into an **OPC UA Server**. At the moment everything except enums can be generated. Our code generates the functions as empty bodies, but you get a **descripton** and a **small guide** on how to integrate your algorithm.
## Installation
## Installation
1. Clone Project in a Directory of your choice
1. Clone Project in a Directory of your choice
2. Copy the jsonfile you want to generate in that folder
2. Copy the jsonfile you want to generate in that folder
3. If you want to run the code manually run:
3. If you want to run the code **manually** run:
```$pip install -r requirements.txt```
```$ pip install -r requirements.txt```
## Usage:
## Usage with Dockerfile
## Usage with Dockerfile
3. Change file name of the json file in line 16 to the name of the file which you wish to generate
3. Change file name of the json file in line 16 to the name of the file which you wish to generate
...
@@ -18,17 +21,20 @@ This project can iterate JSON-Models generated from SOIL-Interfaces and convert
...
@@ -18,17 +21,20 @@ This project can iterate JSON-Models generated from SOIL-Interfaces and convert
## Usage manually
## Usage manually
1. run:
1. run:
```$python newmodeljsonparse.py "name of your file"```