Commit message
This commit is contained in:
parent
c566b4070e
commit
ad62a2f89e
|
@ -7,5 +7,5 @@ spec:
|
|||
virtualEnv: base # 사용할 가상환경 이름입니다.
|
||||
package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.)
|
||||
stackbase:
|
||||
tagName: v0.0.41 # Stackbase(gitea)에 릴리즈 태그명 입니다.
|
||||
tagName: v0.0.42 # Stackbase(gitea)에 릴리즈 태그명 입니다.
|
||||
repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다.
|
||||
|
|
10
main.py
10
main.py
|
@ -237,10 +237,16 @@ def Command_Read():
|
|||
else: # cmd['type'] == 'manual'
|
||||
Motor(chip=output_lines, status=status, action=cmd['device']['motor']['action'])
|
||||
Valve_Vent(chip=output_lines, status=status, action=cmd['device']['vent']['action'])
|
||||
Valve_MixedWater(chip=output_lines, status=status, action=cmd['device']['mixed']['action'])
|
||||
Valve_PureWater(chip=output_lines, status=status, action=cmd['device']['pure']['action'])
|
||||
# Valve_MixedWater(chip=output_lines, status=status, action=cmd['device']['mixed']['action'])
|
||||
# Valve_PureWater(chip=output_lines, status=status, action=cmd['device']['pure']['action'])
|
||||
Valve_EnterWater(chip=output_lines, status=status, action=cmd['device']['enter']['action'])
|
||||
|
||||
if cmd['device']['pure']['duration'] == 0:
|
||||
Valve_PureWater(chip=output_lines, status=status, action=cmd['device']['pure']['action'])
|
||||
else:
|
||||
Valve_PureWater(chip=output_lines, status=status, action=cmd['device']['pure']['action'], duration=cmd['device']['pure']['duration'])
|
||||
|
||||
|
||||
if cmd['device']['main']['duration'] == 0:
|
||||
Valve_MainWater(chip=output_lines, status=status, action=cmd['device']['main']['action'])
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue