Class Signal

java.lang.Object
net.adambruce.dsn.now.model.state.Signal

public class Signal extends Object
DSN signal information.
  • Constructor Details

    • Signal

      public Signal()
  • Method Details

    • getActive

      public Boolean getActive()
      whether the signal is active
      Returns:
      whether the signal is active
    • getSignalType

      public String getSignalType()
      the signal type
      Returns:
      the signal type
    • getDataRate

      public Long getDataRate()
      the rate of data transmitted / received
      Returns:
      the rate of data transmitted / received
    • getFrequency

      public Long getFrequency()
      the frequency of the signal (Hz)
      Returns:
      the frequency of the signal (Hz)
    • getBand

      public String getBand()
      the band of the signal
      Returns:
      the band of the signal
    • getPower

      public Double getPower()
      the power of the signal (dBm)
      Returns:
      the power of the signal (dBm)
    • getSpacecraft

      public String getSpacecraft()
      the spacecraft this signal is communicating with
      Returns:
      the spacecraft this signal is communicating with
    • getSpacecraftId

      public Long getSpacecraftId()
      the ID of the spacecraft this signal is communicating with
      Returns:
      the ID of the spacecraft this signal is communicating with
    • setActive

      public void setActive(Boolean active)
      whether the signal is active
      Parameters:
      active - whether the signal is active
    • setSignalType

      public void setSignalType(String signalType)
      the signal type
      Parameters:
      signalType - the signal type
    • setDataRate

      public void setDataRate(Long dataRate)
      the rate of data transmitted / received
      Parameters:
      dataRate - the rate of data transmitted / received
    • setFrequency

      public void setFrequency(Long frequency)
      the frequency of the signal (Hz)
      Parameters:
      frequency - the frequency of the signal (Hz)
    • setBand

      public void setBand(String band)
      the band of the signal
      Parameters:
      band - the band of the signal
    • setPower

      public void setPower(Double power)
      the power of the signal (dBm)
      Parameters:
      power - the power of the signal (dBm)
    • setSpacecraft

      public void setSpacecraft(String spacecraft)
      the spacecraft this signal is communicating with
      Parameters:
      spacecraft - the spacecraft this signal is communicating with
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setSpacecraftId

      public void setSpacecraftId(Long spacecraftId)
      the ID of the spacecraft this signal is communicating with
      Parameters:
      spacecraftId - the ID of the spacecraft this signal is communicating with