feat: 完善equip_last_mlog3

This commit is contained in:
caoqianming 2024-09-09 13:52:51 +08:00
parent 9ffe025ef7
commit 4d5195308f
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ class AnaViewSet(GenericViewSet):
elif item['mstate'] == '故障':
故障 += 1
ret = {"保温": 保温, "冷却": 冷却, "未运行": 未运行, "故障": 故障}
ret['mstate_json'] = mstate_json
ret['now'] = now.strftime('%Y-%m-%d %H:%M:%S')
ret["rows"] = equip_qs_l
return Response(ret)