This commit is contained in:
Dwi Swandhana
2026-05-14 04:51:12 +07:00
parent dd14d2ddf5
commit 45b4f41e57
+3 -3
View File
@@ -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: