Commit message

This commit is contained in:
support.sampyo 2024-05-03 05:24:53 +00:00
parent 69dbc3b2e7
commit 237ec66789
3 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,8 @@
"action": "Off"
},
"measure": {
"action": "On"
"action": "On",
"duration": 20
},
"mixed": {
"action": "Off",
@ -19,8 +20,7 @@
"duration": 30
},
"motor": {
"action":
"Off"
"action": "Off"
}
},
"type": "manual"

View File

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

View File

@ -82,6 +82,7 @@ def Command_Read():
mixed_duration = int(cmd['device']['mixed']['duration'])
pure_duration = int(cmd['device']['pure']['duration'])
vent_duration = int(cmd['device']['vent']['duration'])
measure_duration = int(cmd['device']['vent']['duration'])
time.sleep(5)
start = Measure_Weight(client=client)
@ -91,7 +92,7 @@ def Command_Read():
Valve_MixedWater(chip=output_lines, status=status, action='On')
time.sleep(mixed_duration)
Valve_MixedWater(chip=output_lines, status=status, action='Off')
time.sleep(20)
time.sleep(measure_duration)
# measure weight
end = Measure_Weight(client=client)