From 0c77a24a4005806a2d81d1a2d4490f363ed45d00 Mon Sep 17 00:00:00 2001 From: "support.sampyo" Date: Thu, 23 May 2024 05:42:56 +0000 Subject: [PATCH] Commit message --- framework.yaml | 2 +- main.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/framework.yaml b/framework.yaml index 6496a94..d1ea80b 100644 --- a/framework.yaml +++ b/framework.yaml @@ -7,5 +7,5 @@ spec: virtualEnv: base # 사용할 가상환경 이름입니다. package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.) stackbase: - tagName: v0.0.16 # Stackbase(gitea)에 릴리즈 태그명 입니다. + tagName: v0.0.17 # Stackbase(gitea)에 릴리즈 태그명 입니다. repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다. diff --git a/main.py b/main.py index 6ca2bba..ff0ef72 100644 --- a/main.py +++ b/main.py @@ -48,7 +48,7 @@ def Valve_EnterWater(chip, status, action): status[4] = 1 else: # action == 'Off' status[4] = 0 - + chip.set_values(status) def measure_weight(client): @@ -93,7 +93,8 @@ def Command_Read(): vent_duration = int(cmd['device']['vent']['duration']) vent_holding = int(cmd['device']['vent']['holding']) measure_duration = int(cmd['device']['measure']['duration']) - + enter_duration = int(cmd['device']['enter']['duration']) + time.sleep(7) start = Measure_Weight(client=client) time.sleep(5)