public String toString() { String result = ""; result += "<feature name=\"phasesSystem\" value=\"" + phasesSystem.toString() + "\"/>\n"; result += "<feature name=\"voltageLevel\" value=\"" + voltageLevel.toString() + "\"/>\n"; result += "<feature name=\"mode\" value=\"" + mode.toString() + "\"/>\n"; result += "<feature name=\"powerFactor\" value=\"" + powerFactor + "\"/>\n"; return result; }
private void updateDescription() { CODEC_DESCRIPTION = CODEC_SAMPLE_RATE / 1000 + " kHz | " + getFrameSizeMsInt() + " ms | mode: " + currMode.toString(); if (fec) CODEC_DESCRIPTION += " | FEC"; }
private void changeMode(Mode m) { RC.setIndicatorString(0, currentRound + ": " + m.toString() + " " + role.toString()); mode = m; }