Commit message
This commit is contained in:
parent
4328027519
commit
d18653ef71
|
@ -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)에 저장될 저장소 이릅니다.
|
||||
|
|
20
main.py
20
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')
|
||||
|
|
Loading…
Reference in New Issue