Class SunSpecCodeGenerator
java.lang.Object
io.openems.edge.bridge.modbus.sunspec.SunSpecCodeGenerator
This tool converts SunSpec Json definitions to Java code suitable for the
OpenEMS SunSpec implementation.
Download Json files from https://github.com/sunspec/models.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
POJO container for a SunSpec Model.static class
POJO container for a SunSpec Point. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Run this method to start the code generator.protected static String
toUpperUnderscore
(String string)
-
Constructor Details
-
SunSpecCodeGenerator
public SunSpecCodeGenerator()
-
-
Method Details
-
main
Run this method to start the code generator.- Parameters:
args
- not supported- Throws:
Exception
- on error
-
toUpperUnderscore
-