Commit message

This commit is contained in:
support.sampyo 2024-05-29 04:27:22 +00:00
parent c1f26f9340
commit d1a2dd1027
3 changed files with 5 additions and 30 deletions

View File

@ -9,12 +9,12 @@
},
"mixed": {
"action": "Off",
"duration": 7
"duration": 5
},
"pure": {
"action": "Off",
"duration": 10,
"holding": 5
"holding": 7
},
"enter":{
"action": "Off",
@ -23,7 +23,7 @@
"vent": {
"action": "Off",
"duration": 15,
"holding": 2
"holding": 5
},
"motor": {
"action": "Off"

View File

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

27
main.py
View File

@ -122,31 +122,6 @@ def Command_Read():
Calculate_Concentration(weight=(float(end)-float(start)))
# # vent mixed water
# Valve_Vent(chip=output_lines, status=status, action='On')
# time.sleep(0.5)
# Motor(chip=output_lines, status=status, action='On')
# time.sleep(vent_duration)
# Motor(chip=output_lines, status=status, action='Off')
# time.sleep(0.5)
# Valve_Vent(chip=output_lines, status=status, action='Off')
# time.sleep(0.5)
# # input pure water
# Valve_PureWater(chip=output_lines, status=status, action='On')
# time.sleep(pure_duration)
# Valve_PureWater(chip=output_lines, status=status, action='Off')
# time.sleep(0.5)
# # vent pure water
# Valve_Vent(chip=output_lines, status=status, action='On')
# time.sleep(0.5)
# Motor(chip=output_lines, status=status, action='On')
# time.sleep(vent_duration)
# Motor(chip=output_lines, status=status, action='Off')
# time.sleep(0.5)
# Valve_Vent(chip=output_lines, status=status, action='Off')
# time.sleep(1)
# Vent and Clear sequence
# 1) Motor On
@ -157,7 +132,7 @@ def Command_Read():
Valve_PureWater(chip=output_lines, status=status, action='On')
time.sleep(0.5)
Valve_EnterWater(chip=output_lines, status=status, action='On')
time.sleep(vent_holding)
time.sleep(pure_holding)
# 3) Open Vent
Valve_Vent(chip=output_lines, status=status, action='On')