diff --git a/listener/app.py b/listener/app.py index f105318b..bae3b840 100644 --- a/listener/app.py +++ b/listener/app.py @@ -77,7 +77,7 @@ TCP_LISTENER_PORT = 6001 # PC GeneXpert set ke mode Client, konek ke IP: SERVER_HOST = '0.0.0.0' # Listen di semua interface HTTP_API_PORT = 6002 # Endpoint trigger dari Laravel -> Python -GENEXPERT_RESPONSE_MODE_DEFAULT = "hl7_passive" +GENEXPERT_RESPONSE_MODE_DEFAULT = "astm_active" GENEXPERT_RESPONSE_MODE_BY_IP = { # "10.10.120.73": "astm_active", # "10.10.120.75": "hl7_passive", @@ -89,7 +89,7 @@ TARGET_MAPPING = { 'flg_gxp2': '10.10.120.13', 'flg_gxp3': '10.10.120.75' } -GENEXPERT_HOST_APPLICATION_DEFAULT = "DE002" +GENEXPERT_HOST_APPLICATION_DEFAULT = "GE01" GENEXPERT_HOST_APPLICATION_BY_IP = { "10.10.120.75": "GE01", "10.10.120.13": "DE002", @@ -2211,7 +2211,7 @@ def handle_myla_client(conn, addr): client_ip = addr[0] print(f"[MYLA] Menerima Query dari {client_ip} (Control ID: {incoming_control_id})") logging.info(f"[MYLA] Permintaan Order Tidak di Proses (Control ID: {incoming_control_id})") - + # --- KIRIM ACK --- if incoming_control_id: