Commit message

This commit is contained in:
support.sampyo 2024-07-30 04:50:07 +00:00
parent 44c6a224c2
commit 95921c49b8
2 changed files with 11 additions and 5 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.46 # Stackbase(gitea)에 릴리즈 태그명 입니다. tagName: v0.0.47 # Stackbase(gitea)에 릴리즈 태그명 입니다.
repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다. repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다.

14
main.py
View File

@ -273,16 +273,22 @@ def clean_system():
Valve_MainWater(chip=output_lines, status=status, action='On') Valve_MainWater(chip=output_lines, status=status, action='On')
time.sleep(0.5) time.sleep(0.5)
Valve_PureWater(chip=output_lines, status=status, action='On') Valve_PureWater(chip=output_lines, status=status, action='On')
time.sleep(0.5)
Valve_MixedWater(chip=output_lines, status=status, action='On')
time.sleep(clean_duration) time.sleep(clean_duration)
Valve_MainWater(chip=output_lines, status=status, action='Off') Valve_MainWater(chip=output_lines, status=status, action='Off')
time.sleep(0.5) 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(clean_duration)
Valve_PureWater(chip=output_lines, status=status, action='Off') Valve_PureWater(chip=output_lines, status=status, action='Off')
time.sleep(0.5) time.sleep(0.5)
Valve_MixedWater(chip=output_lines, status=status, action='Off') Valve_Vent(chip=output_lines, status=status, action='Off'])
time.sleep(6) time.sleep(0.5)
Valve_EnterWater(chip=output_lines, status=status, action='Off'])
time.sleep(0.5)
def runAction(): def runAction():
# Write the app's actions in the "runAction" function. # Write the app's actions in the "runAction" function.