This repository contains the sources for the OPC UA Workshop using Java based Milo.
It contains the code for machine
and device
See also the WIKI:
https://git.fortiss.org/openmos/workshop-java/wikis/home
The AMLParser class creates an OPC-UA server namespace based on AML file (current version is v13 ) this companion spec . For every skill defined in aml file we create a method node in the server to trigger the corresponding low level functions in underlying devices (see addSkill()). Currently, the mapping between opcua/aml server and corresponding low level functions are done via string metching in addSkill(), where based on the skill name the corresponding *SkillMethod is instantiated. org.fortiss.uaserver.device.lowlevel package contains classes for clients, that are created by adapter to communicate with the device's servers, subscription classes for each device and skills classes that map skill methods added to the opcua/aml server in AMLParser.addSkill(). ClientRunner should create a client for connecting to each of the underlying servers.
To start the server execute org.fortiss.uaserver.device.DeviceUaServer