New file |
| | |
| | | { |
| | | "Version": 1, |
| | | "WorkspaceRootPath": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\", |
| | | "Documents": [ |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\core\\wcscore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\core\\wcscore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\wms\\wmshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\wms\\wmshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\process\\taskprocess.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\process\\taskprocess.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\api\\agvcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\api\\agvcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\api\\wmscontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\api\\wmscontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\util\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\util\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\models\\inorder.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\models\\inorder.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | } |
| | | ], |
| | | "DocumentGroupContainers": [ |
| | | { |
| | | "Orientation": 0, |
| | | "VerticalTabListWidth": 256, |
| | | "DocumentGroups": [ |
| | | { |
| | | "DockedWidth": 200, |
| | | "SelectedChildIndex": 0, |
| | | "Children": [ |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 0, |
| | | "Title": "WCSCore.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "ViewState": "AgIAACIAAAAAAAAAAAAuwCkAAAAiAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-20T02:48:52.339Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "Title": "AgvController.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "ViewState": "AgIAABcAAAAAAAAAAADwvxoAAAAfAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-20T02:48:30.565Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 5, |
| | | "Title": "HttpHelper.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "ViewState": "AgIAAAUAAAAAAAAAAAAuwAwAAAAKAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T08:17:19.57Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 1, |
| | | "Title": "WMSHelper.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "ViewState": "AgIAAN4EAAAAAAAAAAAuwE4FAAApAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T08:08:45.432Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 6, |
| | | "Title": "Program.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "ViewState": "AgIAAFAAAAAAAAAAAAAuwF0AAAAxAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T06:01:09.462Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 7, |
| | | "Title": "InOrder.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "ViewState": "AgIAABMAAAAAAAAAAAAcwB4AAAAfAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T01:29:32.619Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Bookmark", |
| | | "Name": "ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057}" |
| | | }, |
| | | { |
| | | "$type": "Bookmark", |
| | | "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 2, |
| | | "Title": "TaskProcess.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "ViewState": "AgIAAFsAAAAAAAAAAAAqwGcAAAARAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T00:42:44.641Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 4, |
| | | "Title": "WmsController.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "ViewState": "AgIAAAUAAAAAAAAAAAAuwCsAAAAqAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T00:41:35.255Z", |
| | | "EditorCaption": "" |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
New file |
| | |
| | | { |
| | | "Version": 1, |
| | | "WorkspaceRootPath": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\", |
| | | "Documents": [ |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\core\\wcscore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\core\\wcscore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\wms\\wmshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\wms\\wmshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\process\\taskprocess.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\process\\taskprocess.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\api\\agvcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\api\\agvcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\api\\wmscontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\api\\wmscontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\util\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\util\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|d:\\\u6C49\u548C\u667A\u80FD\\git-mobox3\\\u676D\u6C27\\hh.wcs.mobox3.hangyang\\models\\inorder.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{0D76040B-45FB-EB89-2535-E32E957D1429}|HH.WCS.Mobox3.HangYang\\HH.WCS.HangYang.csproj|solutionrelative:hh.wcs.mobox3.hangyang\\models\\inorder.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | } |
| | | ], |
| | | "DocumentGroupContainers": [ |
| | | { |
| | | "Orientation": 0, |
| | | "VerticalTabListWidth": 256, |
| | | "DocumentGroups": [ |
| | | { |
| | | "DockedWidth": 200, |
| | | "SelectedChildIndex": 0, |
| | | "Children": [ |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 0, |
| | | "Title": "WCSCore.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\core\\WCSCore.cs", |
| | | "ViewState": "AgIAACIAAAAAAAAAAAAuwCkAAAAiAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-20T02:48:52.339Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "Title": "AgvController.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\api\\AgvController.cs", |
| | | "ViewState": "AgIAABcAAAAAAAAAAADwvxoAAAAfAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-20T02:48:30.565Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 5, |
| | | "Title": "HttpHelper.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\util\\HttpHelper.cs", |
| | | "ViewState": "AgIAAAUAAAAAAAAAAAAuwAwAAAAKAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T08:17:19.57Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 1, |
| | | "Title": "WMSHelper.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\wms\\WMSHelper.cs", |
| | | "ViewState": "AgIAAN4EAAAAAAAAAAAuwE4FAAApAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T08:08:45.432Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 6, |
| | | "Title": "Program.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\Program.cs", |
| | | "ViewState": "AgIAAFAAAAAAAAAAAAAuwF0AAAAxAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T06:01:09.462Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 7, |
| | | "Title": "InOrder.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\models\\InOrder.cs", |
| | | "ViewState": "AgIAABMAAAAAAAAAAAAcwB4AAAAfAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T01:29:32.619Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Bookmark", |
| | | "Name": "ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057}" |
| | | }, |
| | | { |
| | | "$type": "Bookmark", |
| | | "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 2, |
| | | "Title": "TaskProcess.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\process\\TaskProcess.cs", |
| | | "ViewState": "AgIAAFsAAAAAAAAAAAAqwGcAAAARAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T00:42:44.641Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 4, |
| | | "Title": "WmsController.cs", |
| | | "DocumentMoniker": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "RelativeDocumentMoniker": "HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "ToolTip": "D:\\\u6C49\u548C\u667A\u80FD\\Git-Mobox3\\\u676D\u6C27\\HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "RelativeToolTip": "HH.WCS.Mobox3.HangYang\\api\\WmsController.cs", |
| | | "ViewState": "AgIAAAUAAAAAAAAAAAAuwCsAAAAqAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T00:41:35.255Z", |
| | | "EditorCaption": "" |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | |
| | | <Compile Include="models\Wcsmodel.cs" /> |
| | | <Compile Include="models\WHInventory.cs" /> |
| | | <Compile Include="models\TN_WMS_Const.cs" /> |
| | | <Compile Include="models\wms\AddChangeModel.cs" /> |
| | | <Compile Include="models\wms\Algorit.cs" /> |
| | | <Compile Include="models\Zone.cs" /> |
| | | <Compile Include="models\ZoneCls.cs" /> |
| | |
| | | { |
| | | //完成作业 |
| | | WMSHelper.UpdateWmsTask(TN_Task, 3); |
| | | |
| | | } |
| | | WMSHelper.AddChange(TN_Task); |
| | | WMSHelper.DeleteChange(TN_Task); |
| | | break; |
| | | case 7: |
| | | TaskProcess.OperateStatus(TN_Task, 7); |
| | |
| | | /// </summary> |
| | | public int N_B_STATE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工厂标识 |
| | | /// </summary> |
| | | public string S_FACTORY { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 仓库编号 |
| | | /// </summary> |
| | | public string S_WH_CODE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库区编码 |
| | | /// </summary> |
| | | public string S_AREA_CODE { get; set; } |
| | | |
| | | |
| | | [SugarColumn(IsIgnore = true)] |
| | | [Navigate(NavigateType.OneToMany, nameof(S_NO))] |
| | |
| | | /// </summary> |
| | | public int N_B_STATE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 来源类型 |
| | | /// </summary> |
| | | public string S_BS_TYPE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工厂标识 |
| | | /// </summary> |
| | | public string S_FACTORY { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 仓库编号 |
| | | /// </summary> |
| | | public string S_WH_CODE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库区编码 |
| | | /// </summary> |
| | | public string S_AREA_CODE { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)] |
| | | [Navigate(NavigateType.OneToMany, nameof(S_NO))] |
| | | public List<OutOrderDetail> OutOrderDetail { get; set; } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace HH.WCS.HangYang.LISTA.models.wms |
| | | { |
| | | public class AddChangeModel |
| | | { |
| | | /// <summary> |
| | | /// 5 - 仓库加存储量,用于 入库完成 |
| | | /// 6 - 库区加存储量,用于库区入库完成, |
| | | /// 7 - 库区减存储、分配量,用于 库区出库完成 |
| | | /// 8 - 仓库减存储量,9 - 库区减存储量 |
| | | /// 10 - 仓库减分配量,用于 配货后取消, |
| | | /// 11 - 库区减分配量,用于 配货后取消 |
| | | /// </summary> |
| | | public int op_type { get; set; } |
| | | public List<itemModel> item_info { get; set; } = new List<itemModel>(); |
| | | public class itemModel |
| | | { |
| | | public string wh_code { get; set; } = ""; |
| | | public string area_code { get; set; } = ""; |
| | | public string loc_code { get; set; } = ""; |
| | | public string item_code { get; set; } |
| | | public string item_name { get; set; } |
| | | public float qty { get; set; } |
| | | } |
| | | } |
| | | public class moboxres |
| | | { |
| | | public int err_code { get; set; } |
| | | public string err_msg { get; set; } = ""; |
| | | } |
| | | } |
| | |
| | | /// 作业任务号 |
| | | /// </summary> |
| | | public string opCode { get; set; } |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | public class LocationParams |
| | |
| | | using System.Reflection; |
| | | using System.Security.Cryptography; |
| | | using System.Threading.Tasks; |
| | | using static HH.WCS.HangYang.api.OtherModel.Putaway_Order_In; |
| | | using static HH.WCS.HangYang.LISTA.process.HttpModel; |
| | | using static HH.WCS.HangYang.wms.WMSHelper; |
| | | using static System.Runtime.CompilerServices.RuntimeHelpers; |
| | |
| | | return result; |
| | | } |
| | | item.S_EXT_ATTR1 = itemType.S_ITEM_TYPE; |
| | | item.S_ITEM_NAME = itemType.S_ITEM_NAME; |
| | | } |
| | | |
| | | var groupedInOrders = model.InOrderDetail |
| | |
| | | S_OP_TYPE = model.S_OP_TYPE, |
| | | S_BS_TYPE = model.S_BS_TYPE, |
| | | S_NOTE = model.S_NOTE, |
| | | S_FACTORY = "HY001", |
| | | S_WH_CODE = "CK001", |
| | | S_AREA_CODE = group.Key.Equals("料箱库") ? "LXLKQ" : "TPLKQ", |
| | | InOrderDetail = group.Select(detail => |
| | | { |
| | | // 修改 group 中的 S_IO_NO 字段为 S_NO 的值 |
| | |
| | | return result; |
| | | } |
| | | item.S_EXT_ATTR1 = itemType.S_ITEM_TYPE; |
| | | item.S_ITEM_NAME = itemType.S_ITEM_NAME; |
| | | } |
| | | |
| | | var groupedInOrders = model.OutOrderDetail |
| | |
| | | S_BS_NO = model.S_BS_NO, |
| | | S_OP_TYPE = model.S_OP_TYPE, |
| | | S_NOTE = model.S_NOTE, |
| | | S_BS_TYPE = "ERP", |
| | | S_FACTORY = "HY001", |
| | | S_WH_CODE = "CK001", |
| | | S_AREA_CODE = group.Key.Equals("料箱库") ? "LXLKQ" : "TPLKQ", |
| | | OutOrderDetail = group.Select(detail => |
| | | { |
| | | // 修改 group 中的 S_IO_NO 字段为 S_NO 的值 |
| | |
| | | using System.Text; |
| | | |
| | | namespace HH.WCS.HangYang.util { |
| | | public class HttpHelper { |
| | | public class HttpHelper |
| | | { |
| | | #region 杭氧WebHelper |
| | | |
| | | public string WebPost(string url, string postData, string cotentType = "application/json", string AppKey = "", string ReqTime = "", string ReqVerify = "") |
| | | { |
| | | Console.WriteLine(url); |
| | | WebRequest request = WebRequest.Create(url); |
| | | request.Method = "POST"; |
| | | |
| | | if (!string.IsNullOrEmpty(AppKey) && !string.IsNullOrEmpty(ReqTime) && !string.IsNullOrEmpty(ReqVerify)) |
| | | { |
| | | request.Headers.Set("AppKey", AppKey); |
| | | request.Headers.Set("ReqTime", ReqTime); |
| | | request.Headers.Set("ReqVerify", ReqVerify); |
| | | } |
| | | //string postData = JsonConvert.SerializeObject(data); ; |
| | | byte[] byteArray = Encoding.UTF8.GetBytes(postData); |
| | | request.ContentType = cotentType; |
| | | request.ContentLength = byteArray.Length; |
| | | request.Timeout = 3000; |
| | | |
| | | try |
| | | { |
| | | Stream dataStream = request.GetRequestStream(); |
| | | dataStream.Write(byteArray, 0, byteArray.Length); |
| | | dataStream.Close(); |
| | | WebResponse response = request.GetResponse(); |
| | | //Console.WriteLine(((HttpWebResponse)response).StatusDescription); |
| | | dataStream = response.GetResponseStream(); |
| | | StreamReader reader = new StreamReader(dataStream, Encoding.UTF8); |
| | | string responseFromServer = reader.ReadToEnd(); |
| | | reader.Close(); |
| | | dataStream.Close(); |
| | | response.Close(); |
| | | return responseFromServer; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | Console.WriteLine(e.Message); |
| | | return ""; |
| | | } |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | public string WebPost(string url, string postData, string cotentType = "application/json") { |
| | | Console.WriteLine(url); |
| | | WebRequest request = WebRequest.Create(url); |
| | |
| | | public static string GZSeverUrl { get; set; } |
| | | public static string SqlServer { get; set; } |
| | | public static string SqlServer1 { get; set; } |
| | | public static string MoboxSeverUrl { get; set; } |
| | | public static string AppKey { get; set; } |
| | | public static string AppSecret { get; set; } |
| | | |
| | | public static List<deviceInfo> deviceInfos { get; set; } |
| | | public static List<TableUrl> tableUrls { get; set; } |
| | | public static List<LocArea> LocAreas { get; set; } |
| | |
| | | { |
| | | HostToAgvServerUrl = keyValue.Value.ToString(); |
| | | } |
| | | if (keyValue.Name == "AppKey") |
| | | { |
| | | AppKey = keyValue.Value.ToString(); |
| | | } |
| | | if (keyValue.Name == "AppSecret") |
| | | { |
| | | AppSecret = keyValue.Value.ToString(); |
| | | } |
| | | if (keyValue.Name == "MoboxSeverUrl") |
| | | { |
| | | MoboxSeverUrl = keyValue.Value.ToString(); |
| | | } |
| | | if (keyValue.Name == "HASeverUrl") |
| | | { |
| | | HASeverUrl = keyValue.Value.ToString(); |
| | |
| | | using HH.WCS.HangYang.api; |
| | | using HH.WCS.HangYang.LISTA.models; |
| | | using HH.WCS.HangYang.LISTA.models.wms; |
| | | using HH.WCS.HangYang.models.other; |
| | | using HH.WCS.HangYang.util; |
| | | using Newtonsoft.Json; |
| | |
| | | using System.Linq.Expressions; |
| | | using System.Reflection; |
| | | using System.Runtime.Remoting.Messaging; |
| | | using System.Security.Cryptography; |
| | | using System.Security.Cryptography.X509Certificates; |
| | | using System.Text; |
| | | using System.Threading; |
| | |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | #region 杭氧WMS帮助方法 |
| | | /// <summary> |
| | | /// 新增入库单 |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 杭氧升降量表帮助方法 |
| | | /// <summary> |
| | | /// MD5加密 |
| | | /// </summary> |
| | | /// <param name="sInput"></param> |
| | | /// <returns></returns> |
| | | public static string GetMd5FromString(string sInput) |
| | | { |
| | | var lstData = Encoding.GetEncoding("utf-8").GetBytes(sInput); |
| | | var lstHash = new MD5CryptoServiceProvider().ComputeHash(lstData); |
| | | var result = new StringBuilder(32); |
| | | for (int i = 0; i < lstHash.Length; i++) |
| | | { |
| | | result.Append(lstHash[i].ToString("x2").ToUpper()); |
| | | } |
| | | return result.ToString(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据任务升量 |
| | | /// </summary> |
| | | /// <param name="task"></param> |
| | | internal static void AddChange(WCSTask task) |
| | | { |
| | | var db = new SqlHelper<object>().GetInstance(); |
| | | var result = true; |
| | | try |
| | | { |
| | | var itemlist = db.Queryable<CntrItemDetail>().Where(a => a.S_CNTR_CODE == task.S_CNTR_CODE).ToList(); |
| | | if (itemlist.Count > 0) |
| | | { |
| | | var url = Settings.MoboxSeverUrl + "inventory/AddChange"; |
| | | //仓库量表升量 |
| | | var req = new AddChangeModel { op_type = 5 }; |
| | | //库区量表升量 |
| | | var req2 = new AddChangeModel { op_type = 6 }; |
| | | itemlist.ForEach(a => |
| | | { |
| | | LogHelper.Info($"填充数据"); |
| | | LogHelper.Info($"添加仓库量表数据 仓库{task.S_END_WH} 物料编码{a.S_ITEM_CODE} 物料名称{a.S_ITEM_NAME} 数量{a.F_QTY}"); |
| | | req.item_info.Add(new AddChangeModel.itemModel |
| | | { |
| | | wh_code = task.S_END_WH, |
| | | item_code = a.S_ITEM_CODE, |
| | | item_name = a.S_ITEM_NAME, |
| | | qty = a.F_QTY |
| | | }); |
| | | LogHelper.Info($"添加库区量表数据 库区{task.S_END_AREA} 物料编码{a.S_ITEM_CODE} 物料名称{a.S_ITEM_NAME} 数量{a.F_QTY}"); |
| | | req2.item_info.Add(new AddChangeModel.itemModel |
| | | { |
| | | wh_code = task.S_END_WH, |
| | | area_code = task.S_END_AREA, |
| | | item_code = a.S_ITEM_CODE, |
| | | item_name = a.S_ITEM_NAME, |
| | | qty = a.F_QTY |
| | | }); |
| | | }); |
| | | var reqData = JsonConvert.SerializeObject(req); |
| | | var AppKey = Settings.AppKey; |
| | | var AppSecret = Settings.AppSecret; |
| | | var ReqTime = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString(); |
| | | //var ReqTime = GetTimeStamp(DateTime.Now.AddHours(-8), 1, 2); |
| | | LogHelper.Info($"加密前 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime}"); |
| | | var ReqVerify = GetMd5FromString(AppKey + AppSecret + ReqTime); |
| | | LogHelper.Info($"加密后 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime} ReqVerify={ReqVerify} url={url} req={reqData}"); |
| | | var res = new HttpHelper().WebPost(url, reqData, "application/json", AppKey, ReqTime, ReqVerify); |
| | | if (!string.IsNullOrEmpty(res)) |
| | | { |
| | | LogHelper.Info($"mobox 仓库升量接口返回 {res}"); |
| | | var moboxres = JsonConvert.DeserializeObject<moboxres>(res); |
| | | if (moboxres.err_code != 0) |
| | | { |
| | | result = false; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | LogHelper.Info($"mobox 仓库升量接口返回为空"); |
| | | result = false; |
| | | } |
| | | var reqData2 = JsonConvert.SerializeObject(req2); |
| | | var ReqTime2 = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString(); |
| | | //var ReqTime2 = GetTimeStamp(DateTime.Now.AddHours(-8), 1, 2); |
| | | LogHelper.Info($"加密前 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime2}"); |
| | | var ReqVerify2 = GetMd5FromString(AppKey + AppSecret + ReqTime2); |
| | | LogHelper.Info($"加密后 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime2} ReqVerify={ReqVerify2} url={url} req={reqData2}"); |
| | | var res2 = new HttpHelper().WebPost(url, reqData2, "application/json", AppKey, ReqTime2, ReqVerify2); |
| | | if (!string.IsNullOrEmpty(res2)) |
| | | { |
| | | LogHelper.Info($"mobox 库区升量接口返回 {res2}"); |
| | | var moboxres = JsonConvert.DeserializeObject<moboxres>(res); |
| | | if (moboxres.err_code != 0) |
| | | { |
| | | result = false; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | LogHelper.Info($"mobox 库区升量接口返回为空"); |
| | | result = false; |
| | | } |
| | | |
| | | } |
| | | else LogHelper.Info($"托盘{task.S_CNTR_CODE} 在容器货品明细中找不到数据"); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | LogHelper.Error($"仓库升量异常 异常信息={ex.Message}", ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据任务降量 |
| | | /// </summary> |
| | | /// <param name="task"></param> |
| | | internal static void DeleteChange(WCSTask task) |
| | | { |
| | | var db = new SqlHelper<object>().GetInstance(); |
| | | var result = true; |
| | | try |
| | | { |
| | | var wmstask = db.Queryable<WMSTask>().Where(a => a.S_CODE == task.S_OP_CODE).First(); |
| | | if (wmstask != null) |
| | | { |
| | | var itemlist = db.Queryable<CntrItemDetail>().Where(a => a.S_CNTR_CODE == task.S_CNTR_CODE).ToList(); |
| | | if (itemlist.Count > 0) |
| | | { |
| | | var url = Settings.MoboxSeverUrl + "inventory/AddChange"; |
| | | //仓库量表升量 |
| | | var req = new AddChangeModel { op_type = 4 }; |
| | | //库区量表升量 |
| | | var req2 = new AddChangeModel { op_type = 7 }; |
| | | itemlist.ForEach(a => |
| | | { |
| | | LogHelper.Info($"填充数据"); |
| | | LogHelper.Info($"减仓库量表数据 仓库{task.S_END_WH} 物料编码{a.S_ITEM_CODE} 物料名称{a.S_ITEM_NAME} 数量{a.F_QTY}"); |
| | | req.item_info.Add(new AddChangeModel.itemModel |
| | | { |
| | | wh_code = wmstask.S_START_WH, |
| | | item_code = a.S_ITEM_CODE, |
| | | item_name = a.S_ITEM_NAME, |
| | | qty = a.F_QTY |
| | | }); |
| | | LogHelper.Info($"减库区量表数据 库区{task.S_END_AREA} 物料编码{a.S_ITEM_CODE} 物料名称{a.S_ITEM_NAME} 数量{a.F_QTY}"); |
| | | req2.item_info.Add(new AddChangeModel.itemModel |
| | | { |
| | | wh_code = wmstask.S_START_WH, |
| | | area_code = wmstask.S_START_AREA, |
| | | item_code = a.S_ITEM_CODE, |
| | | item_name = a.S_ITEM_NAME, |
| | | qty = a.F_QTY |
| | | }); |
| | | }); |
| | | var reqData = JsonConvert.SerializeObject(req); |
| | | var AppKey = Settings.AppKey; |
| | | var AppSecret = Settings.AppSecret; |
| | | var ReqTime = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString(); |
| | | //var ReqTime = GetTimeStamp(DateTime.Now.AddHours(-8), 1, 2); |
| | | LogHelper.Info($"加密前 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime}"); |
| | | var ReqVerify = GetMd5FromString(AppKey + AppSecret + ReqTime); |
| | | LogHelper.Info($"加密后 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime} ReqVerify={ReqVerify} url={url} req={reqData}"); |
| | | var res = new HttpHelper().WebPost(url, reqData, "application/json", AppKey, ReqTime, ReqVerify); |
| | | if (!string.IsNullOrEmpty(res)) |
| | | { |
| | | LogHelper.Info($"mobox 仓库降量接口返回 {res}"); |
| | | var moboxres = JsonConvert.DeserializeObject<moboxres>(res); |
| | | if (moboxres.err_code != 0) |
| | | { |
| | | result = false; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | LogHelper.Info($"mobox 仓库降量接口返回为空"); |
| | | result = false; |
| | | } |
| | | var reqData2 = JsonConvert.SerializeObject(req2); |
| | | var ReqTime2 = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString(); |
| | | //var ReqTime2 = GetTimeStamp(DateTime.Now.AddHours(-8), 1, 2); |
| | | LogHelper.Info($"加密前 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime2}"); |
| | | var ReqVerify2 = GetMd5FromString(AppKey + AppSecret + ReqTime2); |
| | | LogHelper.Info($"加密后 AppKey={AppKey} AppSecret={AppSecret} ReqTime={ReqTime2} ReqVerify={ReqVerify2} url={url} req={reqData2}"); |
| | | var res2 = new HttpHelper().WebPost(url, reqData2, "application/json", AppKey, ReqTime2, ReqVerify2); |
| | | if (!string.IsNullOrEmpty(res2)) |
| | | { |
| | | LogHelper.Info($"mobox 库区降量接口返回 {res2}"); |
| | | var moboxres = JsonConvert.DeserializeObject<moboxres>(res); |
| | | if (moboxres.err_code != 0) |
| | | { |
| | | result = false; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | LogHelper.Info($"mobox 库区降量接口返回为空"); |
| | | result = false; |
| | | } |
| | | |
| | | } |
| | | else LogHelper.Info($"托盘{task.S_CNTR_CODE} 在容器货品明细中找不到数据"); |
| | | } |
| | | else LogHelper.Info($"未找到任务{task.S_CODE} 对应的作业"); |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | LogHelper.Error($"仓库降量异常 异常信息={ex.Message}", ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | } |
| | | } |