From b7308bba3d7ffad271ce7fc7a93c8c45d76be87d Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期五, 13 六月 2025 17:21:03 +0800 Subject: [PATCH] 优化印尼佳通-硫化胚胎出入库逻辑策略优化 --- HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json | 61 +++++++++++++++++++++--------- 1 files changed, 42 insertions(+), 19 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json index e025d6e..cf55ba9 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json @@ -5,62 +5,86 @@ "SqlServer1": "Data Source=192.168.1.198\\sql2008;Initial Catalog=OIMobox;User ID=sa;Password=sa@2015", "OracleServer": "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.144)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SID=jiatong)));User Id=system;Password=Hh123321;", "ApiPort": 8901, - "FacCode": "0000", + "FacCode": "FJJT", "WHCode": "W001", + + // 鎺ラ┏鍖恒�缂撳瓨鍖恒�鏈哄彴涓嬬嚎鍖恒�鎴愬瀷鏈哄彨鏂欏尯 瀵瑰簲鐨勭珛搴撳簱鍖�+ "AreaRelevance": [ + { + "areaCode": "TCZLKGZHCKQ", + "relAreaCode": [ "TCZLCK" ] + }, + { + "areaCode": "TMZLKGZHCKQ", + "relAreaCode": [ "TMZLCK" ] + } + ], + + // 鐩磋繛缂撳瓨浣嶉厤缃�+ "BufferLocConfig": [ + { + "locCode": "TCZLKGZHCKQ1-1", + "deviceNo": "1" + }, + { + "locCode": "TCZLKGZHCKQ2-1", + "deviceNo": "2" + } + ], // cntrType 1.鑳庨潰锛�.鑳庝晶锛�.鍐呰‖锛�.甯樺竷锛�.鐜甫锛�.鍐犲甫锛�.閽㈠寘 // type 1.鐩磋繛 2.闈炵洿杩� "AreaProperty": [ { - "areaCode": "TMLKQ", - "areaName": "鑳庨潰搴撲竴锛堢洿杩烇級", + "areaCode": "TMZLCK", + "areaName": "鑳庨潰搴擄紙鐩磋繛锛�, "cntrType": [ 1 ], "type": 1 }, { - "areaCode": "TMLKQ2", - "areaName": "鑳庨潰搴撲簩锛堥潪鐩磋繛锛�, + "areaCode": "TMFZLCK", + "areaName": "鑳庨潰搴擄紙闈炵洿杩烇級", "cntrType": [ 1 ], "type": 2 }, { - "areaCode": "TCLKQ", - "areaName": "鑳庝晶搴撲竴锛堢洿杩烇級", + "areaCode": "TCZLCK", + "areaName": "鑳庝晶搴擄紙鐩磋繛锛�, "cntrType": [ 2 ], "type": 1 }, { - "areaCode": "TCLKQ2", - "areaName": "鑳庝晶搴撲簩锛堥潪鐩磋繛锛�, + "areaCode": "TCFZLCK", + "areaName": "鑳庝晶搴擄紙闈炵洿杩烇級", "cntrType": [ 2 ], "type": 2 }, { - "areaCode": "NCLKQ", + "areaCode": "NCFZLCK", "areaName": "鍐呰‖搴擄紙闈炵洿杩烇級", "cntrType": [ 3 ], "type": 2 }, { - "areaCode": "LBLKQ", + "areaCode": "LBFZLCK", "areaName": "甯樺竷搴擄紙鐩磋繛锛�, "cntrType": [ 4 ], "type": 1 }, { - "areaCode": "LBLKQ", + "areaCode": "LBFZLCK", "areaName": "鐜甫搴�, - "cntrType": [ 5,6 ], + "cntrType": [ 5, 6 ], "type": 2 }, { - "areaCode": "GBLKQ", + "areaCode": "GBFZLCK", "areaName": "閽㈠寘搴�闈炵洿杩�", "cntrType": [ 7 ], "type": 2 }, { - "areaCode": "ZZKQ", + "areaCode": "ZZFZLCK", "areaName": "涓浆搴�闈炵洿杩�", "cntrType": [ 7 ], "type": 2 @@ -68,16 +92,15 @@ ], - - - "DeviceInfo": [ + "CarDeviceInfo": [ { "address": "127.0.0.11", - "deviceName": "浜х嚎1", + "deviceName": "1鍙疯溅", "deviceNo": 1, "enable": 0 } ], + "linePlcInfo": [ { "deviceNo": "1", -- Gitblit v1.9.1