From fac5698674fd52ec4983e7cf2bbc26a53ef4223f Mon Sep 17 00:00:00 2001 From: cjs <2216046164@qq.com> Date: 星期五, 30 五月 2025 17:24:49 +0800 Subject: [PATCH] 1111 --- .vs/泰州格林美/v17/.wsuo | 0 .vs/VSWorkspaceState.json | 6 +++ ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/PLCControl.cs | 3 + .vs/泰州格林美/v17/DocumentLayout.json | 65 ++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+), 1 deletions(-) diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..6b61141 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,6 @@ +{ + "ExpandedNodes": [ + "" + ], + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git "a/.vs/\346\263\260\345\267\236\346\240\274\346\236\227\347\276\216/v17/.wsuo" "b/.vs/\346\263\260\345\267\236\346\240\274\346\236\227\347\276\216/v17/.wsuo" new file mode 100644 index 0000000..4876eeb --- /dev/null +++ "b/.vs/\346\263\260\345\267\236\346\240\274\346\236\227\347\276\216/v17/.wsuo" Binary files differ diff --git "a/.vs/\346\263\260\345\267\236\346\240\274\346\236\227\347\276\216/v17/DocumentLayout.json" "b/.vs/\346\263\260\345\267\236\346\240\274\346\236\227\347\276\216/v17/DocumentLayout.json" new file mode 100644 index 0000000..fcaedf2 --- /dev/null +++ "b/.vs/\346\263\260\345\267\236\346\240\274\346\236\227\347\276\216/v17/DocumentLayout.json" @@ -0,0 +1,65 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\software\\A-\u5DE5\u4F5C\\\u6E90\u7801\\GIT\\\u6CF0\u5DDE\u683C\u6797\u7F8E\\", + "Documents": [], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 16, + "SelectedChildIndex": -1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" + }, + { + "$type": "Bookmark", + "Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Bookmark", + "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{b1e99781-ab81-11d0-b683-00aa00a3ee26}" + }, + { + "$type": "Bookmark", + "Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" + } + ] + }, + { + "DockedWidth": 18, + "SelectedChildIndex": -1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}" + }, + { + "$type": "Bookmark", + "Name": "ST:1:0:{e8034f19-ab72-4f06-83fd-f6832b41aa63}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/PLCControl.cs b/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/PLCControl.cs index 0b813b0..70ca140 100644 --- a/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/PLCControl.cs +++ b/ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/PLCControl.cs @@ -1720,7 +1720,8 @@ { string wmstaskno = ""; string traycode = ""; - string trayType = result.result[1] == 1 ? "宸濆瓧鎵� : "鐢板瓧鎵�; + string trayType = ""; + if(plc.deviceType == "25") trayType = result.result[1] == 1 ? "宸濆瓧鎵� : "鐢板瓧鎵�; bool req = WMSHelper.WMSIn(plc.location, "", ref wmstaskno, ref traycode,"","",false, trayType); if (req) CMMLog.Debug($"璋冪敤WMS鑾峰彇涓夋ゼ鍙犵洏鏈虹敓鎴愪换鍔℃垚鍔燂紒"); else CMMLog.Debug($"璋冪敤WMS鑾峰彇涓夋ゼ鍙犵洏鏈虹敓鎴愪换鍔″け璐ワ紒"); -- Gitblit v1.9.1