Commit d3a4e340 by 周海宝

Merge branch 'dev' into 'master'

[+]红外设备代码提交

See merge request !10
2 parents 85ff14a6 176203f2
...@@ -43,7 +43,7 @@ public enum DeviceErrorEnum { ...@@ -43,7 +43,7 @@ public enum DeviceErrorEnum {
public static String searchValue(String key) { public static String searchValue(String key) {
for (DeviceErrorEnum m : DeviceErrorEnum.values()) { for (DeviceErrorEnum m : DeviceErrorEnum.values()) {
if (m.getValue() == key) { if (m.getValue().equals(key)) {
return m.getDisplayName(); return m.getDisplayName();
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!