1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Compare commits

..

No commits in common. "master" and "v2.4.0" have entirely different histories.

24 changed files with 36 additions and 293 deletions

View File

@ -547,7 +547,3 @@ VDR Plugin 'femon' Revision History
2018-04-15: Version 2.4.0
- Updated for vdr-2.4.0.
2019-xx-xx: Version 2.4.1
- Added signal level units (Thanks to Winfried).

2
README
View File

@ -38,7 +38,7 @@ Terminology:
| [LOCK] [SIGNAL] [CARRIER] [VITERBI] [SYNC] |
--------------------------------------------------------------
STR - Signal strength in dBm/dBuV/dbV
STR - Signal strength in dBm
CNR - Signal-to-noise ratio of the main carrier in dB
BER - Bit error rate after the forward error correction (FEC) done by inner code block
PER - Block error rate after the outer forward error correction coding

View File

@ -20,7 +20,6 @@ cFemonConfig::cFemonConfig()
themeM(0),
positionM(1),
downscaleM(0),
signalUnitM(0),
redLimitM(33),
greenLimitM(66),
updateIntervalM(5),

View File

@ -19,14 +19,6 @@ enum eFemonModes
eFemonModeMaxNumber
};
enum eFemonSignalUnit
{
eFemonSignalUnitdBm,
eFemonSignalUnitdBuV,
eFemonSignalUnitdBV,
eFemonSignalUnitMaxNumber
};
class cFemonConfig
{
private:
@ -37,7 +29,6 @@ private:
int themeM;
int positionM;
int downscaleM;
int signalUnitM;
int redLimitM;
int greenLimitM;
int updateIntervalM;
@ -77,7 +68,6 @@ public:
int GetTheme(void) const { return themeM; }
int GetPosition(void) const { return positionM; }
int GetDownscale(void) const { return downscaleM; }
int GetSignalUnit(void) const { return signalUnitM; }
int GetRedLimit(void) const { return redLimitM; }
int GetGreenLimit(void) const { return greenLimitM; }
int GetUpdateInterval(void) const { return updateIntervalM; }
@ -94,7 +84,6 @@ public:
void SetTheme(int themeP) { themeM = themeP; }
void SetPosition(int positionP) { positionM = positionP; }
void SetDownscale(int downscaleP) { downscaleM = downscaleP; }
void SetSignalUnit(int signalUnitP) { signalUnitM = signalUnitP; }
void SetRedLimit(int redLimitP) { redLimitM = redLimitP; }
void SetGreenLimit(int greenLimitP) { greenLimitM = greenLimitP; }
void SetUpdateInterval(int updateIntervalP) { updateIntervalM = updateIntervalP; }

View File

@ -25,7 +25,7 @@
#define GITVERSION ""
#endif
static const char VERSION[] = "2.4.1" GITVERSION;
static const char VERSION[] = "2.4.0" GITVERSION;
static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)");
static const char MAINMENUENTRY[] = trNOOP("Signal Information");
@ -165,8 +165,6 @@ bool cPluginFemon::SetupParse(const char *nameP, const char *valueP)
FemonConfig.SetSvdrpPort(atoi(valueP));
else if (!strcasecmp(nameP, "ServerIp"))
FemonConfig.SetSvdrpIp(valueP);
else if (!strcasecmp(nameP, "SignalUnit"))
FemonConfig.SetSignalUnit(atoi(valueP));
else
return false;
@ -294,7 +292,7 @@ cString cPluginFemon::SVDRPCommand(const char *commandP, const char *optionP, in
return cString::sprintf("%d on device #%d", dev->SignalQuality(), dev->CardIndex());
}
else if (strcasecmp(commandP, "SGNL") == 0) {
return cString::sprintf("%s on device #%d", *getSignalStrength(getSignal(dev)), dev->CardIndex());
return cString::sprintf("%.2f dBm on device #%d", getSignal(dev), dev->CardIndex());
}
else if (strcasecmp(commandP, "CNRA") == 0) {
return cString::sprintf("%.2f dB on device #%d", getCNR(dev), dev->CardIndex());

2
osd.c
View File

@ -371,7 +371,7 @@ void cFemonOsd::DrawStatusWindow(void)
if (qualityValidM)
OSDDRAWSTATUSBAR(qualityM);
offset += OSDROWHEIGHT;
OSDDRAWSTATUSVALUES(signalValidM ? *cString::sprintf("STR: %s", *getSignalStrength(signalM)) : "STR: ---",
OSDDRAWSTATUSVALUES(signalValidM ? *cString::sprintf("STR: %.2f dBm", signalM) : "STR: ---",
cnrValidM ? *cString::sprintf("CNR: %.2f dB", cnrM) : "CNR: ---",
berValidM ? *cString::sprintf("BER: %.0f", berM) : "BER: ---",
perValidM ? *cString::sprintf("PER: %.0f", perM) : "PER: ---",

View File

@ -1,10 +1,9 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Peter Marquardt
# Andreas Brachold
# Christian Wieninger
# Winfried
# Christian Wieninger
#
msgid ""
msgstr ""
@ -130,15 +129,6 @@ msgstr "Transponder"
msgid "stream"
msgstr "Stream"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Klassischer"
@ -199,12 +189,6 @@ msgstr "OSD Größe verkleinern [%]"
msgid "Define the downscale ratio for OSD size."
msgstr "Definiert den Verkleinerungsfaktor der OSD-Größe."
msgid "Signal level unit"
msgstr "Signalpegel Einheiten"
msgid "Define the used signal level unit."
msgstr "Definiert der Einheit für Signalpegel."
msgid "Red limit [%]"
msgstr "Grenze Rot [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Luis Palacios
#
@ -127,15 +127,6 @@ msgstr "Transpondedor"
msgid "stream"
msgstr "Flujo"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Clásico"
@ -196,12 +187,6 @@ msgstr ""
msgid "Define the downscale ratio for OSD size."
msgstr ""
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Límite de rojo [%s]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Arthur Konovalov
#
@ -127,15 +127,6 @@ msgstr "transponder"
msgid "stream"
msgstr "voog"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Classic"
@ -196,12 +187,6 @@ msgstr "Ekraanimen
msgid "Define the downscale ratio for OSD size."
msgstr "Ekraanimenüü suuruse vähendamise määritlemine"
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Punase limiit [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Rolf Ahrenberg
#
@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: vdr-femon 2.4.0\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2019-10-27 16:29+0200\n"
"POT-Creation-Date: 2018-04-15 04:15+0300\n"
"PO-Revision-Date: 2018-04-15 04:15+0300\n"
"Last-Translator: Rolf Ahrenberg\n"
"Language-Team: Finnish <vdr@linuxtv.org>\n"
@ -127,17 +127,8 @@ msgstr "transponderi"
msgid "stream"
msgstr "lähete"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr ""
msgstr "Klassinen"
msgid "Elchi"
msgstr "Elchi"
@ -196,12 +187,6 @@ msgstr "Pienennä näytön kokoa [%]"
msgid "Define the downscale ratio for OSD size."
msgstr "Määrittele näytön pienennyssuhde."
msgid "Signal level unit"
msgstr "Signaalitason yksikkö"
msgid "Define the used signal level unit."
msgstr "Määrittele yksikkö signaalin tasolle."
msgid "Red limit [%]"
msgstr "Punaisen taso [%]"
@ -405,6 +390,3 @@ msgstr "Mbit/s"
msgid "kbit/s"
msgstr "kbit/s"
#~ msgid "Clasxsic"
#~ msgstr "Klassinen"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Nicolas Huillard
# Michaël Nival <mnival@club-internet.fr>, 2010
@ -129,15 +129,6 @@ msgstr "transpondeur"
msgid "stream"
msgstr "flux"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Classique"
@ -198,12 +189,6 @@ msgstr "Réduit la taille de l'OSD (%)"
msgid "Define the downscale ratio for OSD size."
msgstr "Définit le ration de réduction de l'OSD."
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Limite du rouge (%)"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Füley István <ifuley at tigercomp dot ro>, 2011
#
@ -130,15 +130,6 @@ msgstr "transponder"
msgid "stream"
msgstr "adatfolyam (stream)"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Klasszikus"
@ -199,12 +190,6 @@ msgstr "Az OSD lem
msgid "Define the downscale ratio for OSD size."
msgstr "Az OSD méretének leméretezése százalékban."
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Piros színt határa [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Sean Carlos
# Diego Pierotto <vdr-italian@tiscali.it>
@ -131,15 +131,6 @@ msgstr "transponder"
msgid "stream"
msgstr "flusso"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Classico"
@ -200,12 +191,6 @@ msgstr "Riduci dimensione OSD [%]"
msgid "Define the downscale ratio for OSD size."
msgstr "Definisci il rapporto di riduzione della dimensione OSD."
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Limite rosso [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Valdemaras Pipiras
#
@ -127,15 +127,6 @@ msgstr "Siųstuvas"
msgid "stream"
msgstr "Srautas"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Klasikinis"
@ -196,12 +187,6 @@ msgstr "Sumažinti ekrano užsklandos (OSD) dydį [%]"
msgid "Define the downscale ratio for OSD size."
msgstr "Nustatyti ekrano užsklandos (OSD) mažinimo santykį."
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Raudonoji ribą [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the vdr-femon package.
# Tomasz Maciej Nowak, 2017.
#
@ -128,15 +128,6 @@ msgstr "transponder"
msgid "stream"
msgstr "strumień"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Klasyczna"
@ -197,12 +188,6 @@ msgstr "Zmniejsz rozmiar OSD [%]"
msgid "Define the downscale ratio for OSD size."
msgstr "Określa procent zmniejszenia OSD."
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Czerwony - zakres [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Vyacheslav Dikonov
#
@ -127,15 +127,6 @@ msgstr ""
msgid "stream"
msgstr ""
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr ""
@ -196,12 +187,6 @@ msgstr ""
msgid "Define the downscale ratio for OSD size."
msgstr ""
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "ºàÐáÝÐï ×ÞÝÐ áÛÐÑÞÓÞ áØÓÝÐÛÐ ÔÞ (%)"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Milan Hrala
#
@ -127,15 +127,6 @@ msgstr "Transpond
msgid "stream"
msgstr "dátový tok"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Klasický"
@ -196,12 +187,6 @@ msgstr "Zmen
msgid "Define the downscale ratio for OSD size."
msgstr "Zadajte zmen¹enie pomeru pre OSD veµkosti."
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Èervený limit [%]"

View File

@ -127,15 +127,6 @@ msgstr "транспондер"
msgid "stream"
msgstr "потік"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "Класичний"
@ -196,12 +187,6 @@ msgstr "Масштаб розміру повідомлень [%]"
msgid "Define the downscale ratio for OSD size."
msgstr "Визначити коефіцієнт масштабування розміру повідомлень"
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "Червона границя [%]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Nan Feng VDR <nfgx@21cn.com>, 2009.2
#
@ -127,15 +127,6 @@ msgstr "转发器"
msgid "stream"
msgstr "数据流"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "经典"
@ -196,12 +187,6 @@ msgstr ""
msgid "Define the downscale ratio for OSD size."
msgstr ""
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "红限制[ ]"

View File

@ -1,5 +1,5 @@
# VDR plugin language source file.
# Copyright (C) 2007-2019 Rolf Ahrenberg
# Copyright (C) 2007-2018 Rolf Ahrenberg
# This file is distributed under the same license as the femon package.
# Nan Feng VDR <nfgx@21cn.com>, 2009.2
#
@ -127,15 +127,6 @@ msgstr "轉發器"
msgid "stream"
msgstr "數據流"
msgid "dBm"
msgstr "dBm"
msgid "dBuV"
msgstr "dBuV"
msgid "dBV"
msgstr "dBV"
msgid "Classic"
msgstr "經典"
@ -196,12 +187,6 @@ msgstr ""
msgid "Define the downscale ratio for OSD size."
msgstr ""
msgid "Signal level unit"
msgstr ""
msgid "Define the used signal level unit."
msgstr ""
msgid "Red limit [%]"
msgstr "紅限制[ ]"

42
setup.c
View File

@ -19,7 +19,6 @@ cMenuFemonSetup::cMenuFemonSetup()
themeM(FemonConfig.GetTheme()),
positionM(FemonConfig.GetPosition()),
downscaleM(FemonConfig.GetDownscale()),
signalUnitM(FemonConfig.GetSignalUnit()),
redLimitM(FemonConfig.GetRedLimit()),
greenLimitM(FemonConfig.GetGreenLimit()),
updateIntervalM(FemonConfig.GetUpdateInterval()),
@ -31,28 +30,24 @@ cMenuFemonSetup::cMenuFemonSetup()
debug1("%s", __PRETTY_FUNCTION__);
strn0cpy(svdrpIpM, FemonConfig.GetSvdrpIp(), sizeof(svdrpIpM));
dispModesM[eFemonModeBasic] = tr("basic");
dispModesM[eFemonModeTransponder] = tr("transponder");
dispModesM[eFemonModeStream] = tr("stream");
dispModesM[eFemonModeAC3] = tr("AC-3");
dispModesM[eFemonModeBasic] = tr("basic");
dispModesM[eFemonModeTransponder] = tr("transponder");
dispModesM[eFemonModeStream] = tr("stream");
dispModesM[eFemonModeAC3] = tr("AC-3");
signalUnitsM[eFemonSignalUnitdBm] = tr("dBm");
signalUnitsM[eFemonSignalUnitdBuV] = tr("dBuV");
signalUnitsM[eFemonSignalUnitdBV] = tr("dBV");
skinsM[eFemonSkinClassic] = tr("Classic");
skinsM[eFemonSkinElchi] = tr("Elchi");
skinsM[eFemonSkinClassic] = tr("Classic");
skinsM[eFemonSkinElchi] = tr("Elchi");
themesM[eFemonThemeClassic] = tr("Classic");
themesM[eFemonThemeElchi] = tr("Elchi");
themesM[eFemonThemeSTTNG] = tr("ST:TNG");
themesM[eFemonThemeDeepBlue] = tr("DeepBlue");
themesM[eFemonThemeMoronimo] = tr("Moronimo");
themesM[eFemonThemeEnigma] = tr("Enigma");
themesM[eFemonThemeEgalsTry] = tr("EgalsTry");
themesM[eFemonThemeDuotone] = tr("Duotone");
themesM[eFemonThemeSilverGreen] = tr("SilverGreen");
themesM[eFemonThemePearlHD] = tr("PearlHD");
themesM[eFemonThemeClassic] = tr("Classic");
themesM[eFemonThemeElchi] = tr("Elchi");
themesM[eFemonThemeSTTNG] = tr("ST:TNG");
themesM[eFemonThemeDeepBlue] = tr("DeepBlue");
themesM[eFemonThemeMoronimo] = tr("Moronimo");
themesM[eFemonThemeEnigma] = tr("Enigma");
themesM[eFemonThemeEgalsTry] = tr("EgalsTry");
themesM[eFemonThemeDuotone] = tr("Duotone");
themesM[eFemonThemeSilverGreen] = tr("SilverGreen");
themesM[eFemonThemePearlHD] = tr("PearlHD");
SetMenuCategory(mcSetupPlugins);
Setup();
@ -83,9 +78,6 @@ void cMenuFemonSetup::Setup(void)
Add(new cMenuEditIntItem(tr("Downscale OSD size [%]"), &downscaleM, 0, 20));
helpM.Append(tr("Define the downscale ratio for OSD size."));
Add(new cMenuEditStraItem(tr("Signal level unit"), &signalUnitM, eFemonSignalUnitMaxNumber, signalUnitsM));
helpM.Append(tr("Define the used signal level unit."));
Add(new cMenuEditIntItem(tr("Red limit [%]"), &redLimitM, 1, 50));
helpM.Append(tr("Define a limit for red bar, which is used to indicate a bad signal."));
@ -128,7 +120,6 @@ void cMenuFemonSetup::Store(void)
SetupStore("Theme", themeM);
SetupStore("Position", positionM);
SetupStore("Downscale", downscaleM);
SetupStore("SignalUnit", signalUnitM);
SetupStore("RedLimit", redLimitM);
SetupStore("GreenLimit", greenLimitM);
SetupStore("UpdateInterval", updateIntervalM);
@ -144,7 +135,6 @@ void cMenuFemonSetup::Store(void)
FemonConfig.SetTheme(themeM);
FemonConfig.SetPosition(positionM);
FemonConfig.SetDownscale(downscaleM);
FemonConfig.SetSignalUnit(signalUnitM);
FemonConfig.SetRedLimit(redLimitM);
FemonConfig.SetGreenLimit(greenLimitM);
FemonConfig.SetUpdateInterval(updateIntervalM);

View File

@ -11,7 +11,6 @@
class cMenuFemonSetup : public cMenuSetupPage {
private:
const char *dispModesM[eFemonModeMaxNumber];
const char *signalUnitsM[eFemonSignalUnitMaxNumber];
const char *skinsM[eFemonSkinMaxNumber];
const char *themesM[eFemonThemeMaxNumber];
cVector<const char*> helpM;
@ -21,7 +20,6 @@ private:
int themeM;
int positionM;
int downscaleM;
int signalUnitM;
int redLimitM;
int greenLimitM;
int updateIntervalM;

12
tools.c
View File

@ -14,7 +14,6 @@
#include <stdlib.h>
#include <unistd.h>
#include "config.h"
#include "osd.h"
#include "receiver.h"
#include "tools.h"
@ -198,17 +197,6 @@ double getPER(cDevice *deviceP)
return 0;
}
cString getSignalStrength(double strengthP)
{
switch (FemonConfig.GetSignalUnit()) {
case eFemonSignalUnitdBm: return cString::sprintf("%.2f %s", strengthP, tr("dBm"));
case eFemonSignalUnitdBuV: return cString::sprintf("%.2f %s", strengthP + (120 - 11.25), tr("dBuV"));
case eFemonSignalUnitdBV: return cString::sprintf("%.2f %s", strengthP - 11.25, tr("dBV"));
default: break;
}
return cString::sprintf("---");
}
cString getApids(const cChannel *channelP)
{
int value = 0;

View File

@ -29,7 +29,6 @@ double getSignal(cDevice *deviceP);
double getBER(cDevice *deviceP);
double getPER(cDevice *deviceP);
cString getSignalStrength(double strengthP);
cString getApids(const cChannel *channelP);
cString getDpids(const cChannel *channelP);
cString getSpids(const cChannel *channelP);