add g to default COB as well

This commit is contained in:
AdrianLxM 2018-05-02 07:57:29 +02:00
parent 915dac8ef3
commit c445c078e1

View file

@ -19,7 +19,7 @@ public class CobInfo {
@NonNull @NonNull
public static String generateCOBString() { public static String generateCOBString() {
String cobStringResult = "--"; String cobStringResult = "--g";
CobInfo cobInfo = IobCobCalculatorPlugin.getPlugin().getCobInfo(false, "WatcherUpdaterService"); CobInfo cobInfo = IobCobCalculatorPlugin.getPlugin().getCobInfo(false, "WatcherUpdaterService");
if (cobInfo.displayCob != null) { if (cobInfo.displayCob != null) {
cobStringResult = DecimalFormatter.to0Decimal(cobInfo.displayCob); cobStringResult = DecimalFormatter.to0Decimal(cobInfo.displayCob);