From 9722b2b8d06e409274c62cf5c3a3b4fdbb871b3d Mon Sep 17 00:00:00 2001 From: "kh.kim" Date: Fri, 4 Apr 2025 13:36:26 +0900 Subject: [PATCH] Commit message --- framework.yaml | 2 +- main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework.yaml b/framework.yaml index 49437a3..bede3dd 100644 --- a/framework.yaml +++ b/framework.yaml @@ -8,5 +8,5 @@ spec: package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.) runtime: python3.9 stackbase: - tagName: v2.0.1 # Stackbase(gitea)에 릴리즈 태그명 입니다. + tagName: v2.0.2 # Stackbase(gitea)에 릴리즈 태그명 입니다. repoName: aquarack-sensor-collector # Satackbase(gitea)에 저장될 저장소 이릅니다. diff --git a/main.py b/main.py index 42853de..588d7f7 100644 --- a/main.py +++ b/main.py @@ -7,7 +7,7 @@ import threading sdtcloud = sdtcloudpubsub.sdtcloudpubsub() sdtcloud.setClient(f"device-app-{uuid.uuid1()}") # parameter is client ID(string) -def get_modbus(evt, serial_obj, file_path): +def get_modbus(evt, serial_obj): global isThread, g_zero_point, pub_dict, a_col, d_col, t_col, p_col, S_col ctl_mode = 'None' @@ -474,7 +474,7 @@ if __name__ == "__main__": timer_evt_s0.set() timer_evt_s1.set() - thr_modbus_rtu = threading.Thread(target=get_modbus, args=(timer_evt_s0, client1, path,)) + thr_modbus_rtu = threading.Thread(target=get_modbus, args=(timer_evt_s0, client1, )) thr_modbus_rtu.start() thr_get_sensor = threading.Thread(target=get_sensor, args=(timer_evt_s1, client2,))