Package com.ed.data

Class ErrorLog

java.lang.Object
com.ed.data.ErrorLog
All Implemented Interfaces:
DataSet

public final class ErrorLog extends Object implements DataSet
Errors and Warnings log
  • Constructor Details

    • ErrorLog

      public ErrorLog() throws Exception
      Creates a object representing errors log
      Throws:
      Exception - wrong parameters
  • Method Details

    • getErrorsList

      public List<ErrorRecord> getErrorsList()
      Get error records from inverter storage
      Returns:
      list of records
    • getErrorLog

      public SortedMap<Date,List<String>> getErrorLog()
      Get error log
      Returns:
      Error codes that appeared on corresponding dates in ascending order.
    • registerData

      public void registerData(Client cl)
      Description copied from interface: DataSet
      Register all internal data
      Specified by:
      registerData in interface DataSet
      Parameters:
      cl - client connected to inverter
    • refresh

      public void refresh()
      Description copied from interface: DataSet
      Put refresh request
      Specified by:
      refresh in interface DataSet
    • dataReady

      public boolean dataReady()
      Description copied from interface: DataSet
      Get data status
      Specified by:
      dataReady in interface DataSet
      Returns:
      true if internal data was read after last refresh request
    • toString

      public String toString()
      Overrides:
      toString in class Object