From 7bcf10357ff35ffb0c4a4ae1ea85db2107c758e3 Mon Sep 17 00:00:00 2001 From: haotian <2421912570@qq.com> Date: Mon, 26 May 2025 11:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B8=A9=E5=BA=A6=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/util/status.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/util/status.py diff --git a/app/util/status.py b/app/util/status.py new file mode 100644 index 0000000..7860b66 --- /dev/null +++ b/app/util/status.py @@ -0,0 +1,13 @@ +from enum import Enum, unique + + + +@unique +class TemperatureStatus(Enum): + NORMAL = 0 # 温度值正常 + UNNORMAL = 1 # 温度值异常 + ALDATE = 2 # AL53数据 + BLURRY = 3 # 图片模糊--读数异常 + + + \ No newline at end of file