public class RxSignalTuning extends Object
Element of RxMode
Example:
<RxSignalTuning> <FreqMax cls="U">3107.56</FreqMax > <FreqMin cls="U">2999.753</FreqMin > <NumPresetChannels cls="U">45</NumPresetChannels > <TuningStep cls="U">0.025</TuningStep > </RxSignalTuning>
Constructor and Description |
---|
RxSignalTuning() |
Modifier and Type | Method and Description |
---|---|
FreqM |
getFreqMax()
Get the maximum value of the frequencies in the range.
|
FreqM |
getFreqMin()
Get the nominal frequency or minimum value of the frequency range..
|
UN8 |
getNumPresetChannels()
Get the number of preset channels available..
|
FreqM |
getTuningStep()
Get the tuning increment..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetFreqMax()
Determine if the FreqMax is configured.
|
boolean |
isSetFreqMin()
Determine if the FreqMin is configured.
|
boolean |
isSetNumPresetChannels()
Determine if the NumPresetChannels is configured.
|
boolean |
isSetTuningStep()
Determine if the TuningStep is configured.
|
void |
setFreqMax(FreqM value)
Set the maximum value of the frequencies in the range.
|
void |
setFreqMin(FreqM value)
Set the nominal frequency or minimum value of the frequency range..
|
void |
setNumPresetChannels(UN8 value)
Set the number of preset channels available..
|
void |
setTuningStep(FreqM value)
Set the tuning increment..
|
String |
toString()
Get a string representation of this RxSignalTuning instance configuration.
|
RxSignalTuning |
withFreqMax(Double value)
Set the maximum value of the frequencies in the range.
|
RxSignalTuning |
withFreqMin(Double value)
Set the nominal frequency or minimum value of the frequency range.
|
RxSignalTuning |
withNumPresetChannels(Integer value)
Set the number of preset channels available.
|
RxSignalTuning |
withTuningStep(Double value)
Set the tuning increment.
|
public FreqM getFreqMin()
FreqM
instancepublic void setFreqMin(FreqM value)
value
- a FreqM
instancepublic boolean isSetFreqMin()
public FreqM getFreqMax()
[XSL ERR MINMAX] If FreqMax is used, it MUST be greater than FreqMin..
FreqM
instancepublic void setFreqMax(FreqM value)
[XSL ERR MINMAX] If FreqMax is used, it MUST be greater than FreqMin..
value
- a FreqM
instancepublic boolean isSetFreqMax()
public FreqM getTuningStep()
FreqM
instancepublic void setTuningStep(FreqM value)
value
- a FreqM
instancepublic boolean isSetTuningStep()
public UN8 getNumPresetChannels()
UN8
instancepublic void setNumPresetChannels(UN8 value)
value
- a UN8
instancepublic boolean isSetNumPresetChannels()
public RxSignalTuning withFreqMin(Double value)
value
- An instances of type Double
.public RxSignalTuning withFreqMax(Double value)
[XSL ERR MINMAX] If FreqMax is used, it MUST be greater than FreqMin.
value
- An instances of type Double
.public RxSignalTuning withTuningStep(Double value)
value
- An instances of type Double
.public RxSignalTuning withNumPresetChannels(Integer value)
value
- An instances of type Integer
.public String toString()
public boolean isSet()
RxSignalTuning
requires FreqMin
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.