Commit eeb4e866 by Aeolus

update

parent fd2e218f
...@@ -21,6 +21,8 @@ class ToolService(): ...@@ -21,6 +21,8 @@ class ToolService():
cur_power['power'] = power_info.has_power cur_power['power'] = power_info.has_power
if power_info.status == 7: if power_info.status == 7:
cur_power['status'] = 7 cur_power['status'] = 7
elif power_info.status == 5:
cur_power['status'] = 5
else: else:
cur_power['status'] = 1 cur_power['status'] = 1
power_data.append(cur_power) power_data.append(cur_power)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment