Class SwitchResult

All Implemented Interfaces:
Serializable

public class SwitchResult extends ResultEntity
Represents calculation results of a SwitchInput
See Also:
  • Constructor Details

    • SwitchResult

      public SwitchResult(ZonedDateTime time, UUID inputModel, boolean closed)
      Standard constructor with automatic uuid generation.
      Parameters:
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      closed - true if switch is closed, false if switch is open
    • SwitchResult

      public SwitchResult(UUID uuid, ZonedDateTime time, UUID inputModel, boolean closed)
      Standard constructor which allows uuid provision
      Parameters:
      uuid - uuid of this result entity, for automatic uuid generation use primary constructor above
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      closed - true if switch is closed, false if switch is open
  • Method Details