Class ItemHistoryDTO

  • public class ItemHistoryDTO
    extends Object
    This is a java bean that is used to serialize items to JSON.
    Chris Jackson - Initial contribution
    • Constructor Detail

      • ItemHistoryDTO

        public ItemHistoryDTO()
    • Method Detail

      • addData

        public void addData​(Long time,
                            State state)
        Add a new record to the data history. This method returns a double value equal to the state. This may be used for comparison by the caller.
        time - the time of the record
        state - the state at this time