From d18653ef7113ceb33a835e667256b6dd55ebb663 Mon Sep 17 00:00:00 2001 From: "support.sampyo" Date: Wed, 29 May 2024 06:15:49 +0000 Subject: [PATCH] Commit message --- framework.yaml | 2 +- main.py | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/framework.yaml b/framework.yaml index aec53e1..e529079 100644 --- a/framework.yaml +++ b/framework.yaml @@ -7,5 +7,5 @@ spec: virtualEnv: base # 사용할 가상환경 이름입니다. package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.) stackbase: - tagName: v0.0.29 # Stackbase(gitea)에 릴리즈 태그명 입니다. + tagName: v0.0.30 # Stackbase(gitea)에 릴리즈 태그명 입니다. repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다. diff --git a/main.py b/main.py index 17d72c6..9ab0e65 100644 --- a/main.py +++ b/main.py @@ -121,21 +121,25 @@ def Command_Read(): Calculate_Concentration(weight=(float(end)-float(start))) - # Vent and Clear sequence - # 1) Motor On Motor(chip=output_lines, status=status, action='On') time.sleep(0.5) + Valve_PureWater(chip=output_lines, status=status, action='On') + time.sleep(0.5) + + Valve_EnterWater(chip=output_lines, status=status, action='On') + time.sleep(0.5) + + Valve_Vent(chip=output_lines, status=status, action='On') + time.sleep(vent_duration) + + Valve_Vent(chip=output_lines, status=status, action='Off') + time.sleep(0.5) + # 2) Input Pure Water Valve_PureWater(chip=output_lines, status=status, action='On') time.sleep(0.5) Valve_EnterWater(chip=output_lines, status=status, action='On') - time.sleep(0.5) - - # 3) Open Vent - Valve_Vent(chip=output_lines, status=status, action='On') - time.sleep(pure_holding) - Valve_Vent(chip=output_lines, status=status, action='Off') time.sleep(pure_duration) Valve_PureWater(chip=output_lines, status=status, action='Off')