*/
public SignalFrequencyWs generateRemoteSignalFrequency(SignalFrequency frequency) {
if (frequency == null) {
return null;
}
SignalFrequencyWs frequencyWs = new SignalFrequencyWs();
frequencyWs.setFrequency(frequency.getFrequency() != null ? frequency.getFrequency().floatValue() : 1f);
frequencyWs.setName(frequency.getDescription());
return frequencyWs;
}