|
|
@@ -16,9 +16,9 @@ public enum IotDeviceconnTypeEnum {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
- public static String getNameByCode(String name) {
|
|
|
+ public static String getNameByCode(String code) {
|
|
|
for (IotDeviceconnTypeEnum iotDeviceconnTypeEnum : IotDeviceconnTypeEnum.values()) {
|
|
|
- if (iotDeviceconnTypeEnum.code.equals(name)) {
|
|
|
+ if (iotDeviceconnTypeEnum.code.equals(code)) {
|
|
|
return iotDeviceconnTypeEnum.name;
|
|
|
}
|
|
|
}
|