Commit message

This commit is contained in:
support.sampyo 2024-05-29 06:15:49 +00:00
parent 4328027519
commit d18653ef71
2 changed files with 13 additions and 9 deletions

View File

@ -7,5 +7,5 @@ spec:
virtualEnv: base # 사용할 가상환경 이름입니다. virtualEnv: base # 사용할 가상환경 이름입니다.
package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.) package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.)
stackbase: stackbase:
tagName: v0.0.29 # Stackbase(gitea)에 릴리즈 태그명 입니다. tagName: v0.0.30 # Stackbase(gitea)에 릴리즈 태그명 입니다.
repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다. repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다.

20
main.py
View File

@ -121,21 +121,25 @@ def Command_Read():
Calculate_Concentration(weight=(float(end)-float(start))) Calculate_Concentration(weight=(float(end)-float(start)))
# Vent and Clear sequence
# 1) Motor On
Motor(chip=output_lines, status=status, action='On') Motor(chip=output_lines, status=status, action='On')
time.sleep(0.5) 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 # 2) Input Pure Water
Valve_PureWater(chip=output_lines, status=status, action='On') Valve_PureWater(chip=output_lines, status=status, action='On')
time.sleep(0.5) time.sleep(0.5)
Valve_EnterWater(chip=output_lines, status=status, action='On') 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) time.sleep(pure_duration)
Valve_PureWater(chip=output_lines, status=status, action='Off') Valve_PureWater(chip=output_lines, status=status, action='Off')