parent
45b626d9cb
commit
95faf59fd1
|
@ -48,7 +48,7 @@ public class GaugeConsumer implements ConfigurationConsumer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String handle(ConfigField configField, String prefix, String variableNameSuffix) {
|
private String handle(ConfigField configField, String prefix, String variableNameSuffix) {
|
||||||
String comment = getHumanGaugeName("", configField, "");
|
String comment = getHumanGaugeName("", configField, variableNameSuffix);
|
||||||
comment = ConfigFieldImpl.unquote(comment);
|
comment = ConfigFieldImpl.unquote(comment);
|
||||||
if (!prefix.isEmpty()) {
|
if (!prefix.isEmpty()) {
|
||||||
comment = prefix + " " + comment;
|
comment = prefix + " " + comment;
|
||||||
|
|
|
@ -95,6 +95,6 @@ public class LiveDataProcessorTest {
|
||||||
"\t\t\tsubMenu = output_channelsDialog, \"output_channels\"\n", LiveDataProcessor.FANCY_MENU_INI);
|
"\t\t\tsubMenu = output_channelsDialog, \"output_channels\"\n", LiveDataProcessor.FANCY_MENU_INI);
|
||||||
|
|
||||||
captor.assertOutput("\tgaugeCategory = \"cate\"\n" +
|
captor.assertOutput("\tgaugeCategory = \"cate\"\n" +
|
||||||
"tempC0Gauge = tempC0,\"WBO: Temperature\", \"C\", 500.0,1000.0, 500.0,1000.0, 500.0,1000.0, 0,0\n", LiveDataProcessor.GAUGES);
|
"tempC0Gauge = tempC0,\"WBO: Temperature0\", \"C\", 500.0,1000.0, 500.0,1000.0, 500.0,1000.0, 0,0\n", LiveDataProcessor.GAUGES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue