Compare commits

...

4 Commits

Author SHA1 Message Date
Lynn Shi
cd60273495 Wifi 4732 EquipmentPortalController resets to defaults channels for equipment country change 2021-10-20 15:28:33 -04:00
norm-traxler
704f5c6047 Merge pull request #24 from Telecominfraproject/WIFI-4415
[WIFI 4415] update LedStatus to pass tests
2021-09-27 16:12:30 -04:00
Thomas-Leung2021
b7d396c6ce [WIFI-4415] remove unnecessary code 2021-09-27 13:25:06 -04:00
Thomas Leung
e8dd8724fb Merged in NETEXP-2959 (pull request #3)
[NETEXP-2959] update LedStatus to pass tests

Approved-by: mike.hansen
2021-09-24 16:53:44 -04:00
2 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
package com.telecominfraproject.wlan.core.model.equipment;
public enum LedStatus {
led_on,
led_off,
led_blink,
UNKNOWN;
}

View File

@@ -73,5 +73,19 @@ public enum RadioType {
return false;
}
public static String getRadioDisplayString(RadioType radioType) {
// This display format matches UI
switch (radioType) {
case is2dot4GHz:
return "2.4GHz";
case is5GHz:
return "5GHz";
case is5GHzU:
return "5GHz (U)";
case is5GHzL:
return "5GHz (L)";
default:
return radioType.name();
}
}
}