Beispiel #1
0
 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;
 }
Beispiel #2
0
 private void updateDescription() {
   CODEC_DESCRIPTION =
       CODEC_SAMPLE_RATE / 1000
           + " kHz | "
           + getFrameSizeMsInt()
           + " ms | mode: "
           + currMode.toString();
   if (fec) CODEC_DESCRIPTION += " | FEC";
 }
Beispiel #3
0
 private void changeMode(Mode m) {
   RC.setIndicatorString(0, currentRound + ": " + m.toString() + " " + role.toString());
   mode = m;
 }