Class SunSpecCodeGenerator

java.lang.Object
io.openems.edge.bridge.modbus.sunspec.SunSpecCodeGenerator

public class SunSpecCodeGenerator extends Object
This tool converts SunSpec Json definitions to Java code suitable for the OpenEMS SunSpec implementation.

Download Json files from https://github.com/sunspec/models.

  • Constructor Details

    • SunSpecCodeGenerator

      public SunSpecCodeGenerator()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Run this method to start the code generator.
      Parameters:
      args - not supported
      Throws:
      Exception - on error
    • toUpperUnderscore

      protected static String toUpperUnderscore(String string)