已删除1个文件
已修改29个文件
已添加17个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | import gridBody from './extend/taskExecuteDetail.vue' |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: gridBody, |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { |
| | | // this.$Notice.success({ title: this.detailOptions.cnName + ',æ¥è¯¢ç»æ', desc: 'è¿åç对象ï¼' + JSON.stringify(data) }); |
| | | |
| | | var previousButton = this.buttons.find((x) => x.value == "Previous"); |
| | | if (previousButton) previousButton.hidden = true; |
| | | var nextButton = this.buttons.find((x) => x.value == "Next"); |
| | | if (nextButton) nextButton.hidden = true; |
| | | var recoveryButton = this.buttons.find((x) => x.value == "TaskRecovery"); |
| | | if (recoveryButton) recoveryButton.hidden = true; |
| | | |
| | | //æ©å±é¡µé¢åå§åæä½ |
| | | this.columns.push({ |
| | | field: 'æä½', |
| | | title: 'æä½', |
| | | width: 70, |
| | | fixed: 'right', |
| | | align: 'center', |
| | | formatter: (row) => { |
| | | return ( |
| | | '<i style="cursor: pointer;color: #2d8cf0;"class="el-icon-view">æ¥ç</i>' |
| | | ); |
| | | }, |
| | | click: (row) => { |
| | | this.$refs.gridBody.open(row); |
| | | } |
| | | }); |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
| | |
| | | path: '/task', |
| | | name: 'task', |
| | | component: () => import('@/views/taskinfo/task.vue') |
| | | }, |
| | | { |
| | | path: '/task_hty', |
| | | name: 'task_hty', |
| | | component: () => import('@/views/taskinfo/task_hty.vue') |
| | | }, { |
| | | path: '/router', |
| | | name: 'router', |
| | |
| | | }, |
| | | { |
| | | title: "ä»»å¡ç¶æ", |
| | | field: "taskState", |
| | | field: "taskStatus", |
| | | type: "selectList", |
| | | dataKey: "taskState", |
| | | data: [], |
| | |
| | | bind: { key: "taskType", data: [] }, |
| | | }, |
| | | { |
| | | field: "taskState", |
| | | field: "taskStatus", |
| | | title: "ä»»å¡ç¶æ", |
| | | type: "int", |
| | | width: 150, |
| | |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "currentAddress", |
| | | title: "å½åä½ç½®", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "nextAddress", |
| | | title: "ä¸ä¸ä½ç½®", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "currentAddress", |
| | | // title: "å½åä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "nextAddress", |
| | | // title: "ä¸ä¸ä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "exceptionMessage", |
| | | title: "å¼å¸¸ä¿¡æ¯", |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <template> |
| | | <view-grid |
| | | ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | > |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/taskinfo/task_hty.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: "taskId", |
| | | footer: "Foots", |
| | | cnName: "ä»»å¡åå²ä¿¡æ¯", |
| | | name: "task_hty", |
| | | url: "/Task_Hty/", |
| | | sortName: "CreateDate", |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({ |
| | | taskNum: "", |
| | | palletCode: "", |
| | | roadway: "", |
| | | sourceAddress: "", |
| | | targetAddress: "", |
| | | currentAddress: "", |
| | | nextAddress: "", |
| | | creater: "", |
| | | createDate: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "ä»»å¡å·", field: "taskNum", type: "int" }, |
| | | { title: "æçç¼å·", field: "palletCode", type: "like" }, |
| | | { |
| | | title: "ä»»å¡ç±»å", |
| | | field: "taskType", |
| | | type: "selectList", |
| | | dataKey: "taskType", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "ä»»å¡ç¶æ", |
| | | field: "taskStatus", |
| | | type: "selectList", |
| | | dataKey: "taskState", |
| | | data: [], |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "èµ·å§å°å", field: "sourceAddress", type: "like" }, |
| | | { title: "ç®æ å°å", field: "targetAddress", type: "like" }, |
| | | // { title: "å½åä½ç½®", field: "currentAddress", type: "like" }, |
| | | // { title: "ä¸ä¸ä½ç½®", field: "nextAddress", type: "like" }, |
| | | ], |
| | | [ |
| | | { title: "å··éå·", field: "roadway", type: "like" }, |
| | | { title: "å建人", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: "taskId", |
| | | title: "TaskId", |
| | | type: "int", |
| | | width: 90, |
| | | hidden: true, |
| | | readonly: true, |
| | | require: true, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "taskNum", |
| | | title: "ä»»å¡å·", |
| | | type: "int", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "palletCode", |
| | | title: "æçç¼å·", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "roadway", |
| | | title: "å··éå·", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "taskType", |
| | | title: "ä»»å¡ç±»å", |
| | | type: "int", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "taskType", data: [] }, |
| | | }, |
| | | { |
| | | field: "taskStatus", |
| | | title: "ä»»å¡ç¶æ", |
| | | type: "int", |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "taskState", data: [] }, |
| | | }, |
| | | { |
| | | field: "sourceAddress", |
| | | title: "èµ·å§å°å", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "targetAddress", |
| | | title: "ç®æ å°å", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "currentAddress", |
| | | // title: "å½åä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "nextAddress", |
| | | // title: "ä¸ä¸ä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "exceptionMessage", |
| | | title: "å¼å¸¸ä¿¡æ¯", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "grade", |
| | | title: "ä¼å
级", |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "dispatchertime", |
| | | title: "ä»»å¡ä¸åæ¶é´", |
| | | type: "datetime", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "wMSId", |
| | | title: "WMSä»»å¡ä¸»é®", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "createDate", |
| | | title: "å建æ¶é´", |
| | | type: "datetime", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifier", |
| | | title: "ä¿®æ¹äºº", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "", |
| | | table: "", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "", |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_Core.Enums |
| | | { |
| | | |
| | | #region ä»»å¡ç±»å |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡ç±»å 100 åºåº;çç¹åºåº 101; 102 忣åºåº;103 è´¨æ£åºåº;200 å
¥åº;çç¹å
¥åº 201;忣å
¥åº 202;è´¨æ£å
¥åº 203;ç§»åº 300;åºå
ç§»åº 301;åºå¤ç§»åº 302 |
| | | /// </summary> |
| | | public enum TaskTypeEnum |
| | | { |
| | | /// <summary> |
| | | /// åºåº =100 |
| | | /// </summary> |
| | | [Description("åºåº")] |
| | | Outbound = 100, |
| | | |
| | | /// <summary> |
| | | /// çç¹åºåº |
| | | /// </summary> |
| | | [Description("çç¹åºåº")] |
| | | OutInventory = 101, |
| | | |
| | | /// <summary> |
| | | /// 忣åºåº |
| | | /// </summary> |
| | | [Description("忣åºåº")] |
| | | OutPick = 102, |
| | | |
| | | /// <summary> |
| | | /// è´¨æ£åºåº |
| | | /// </summary> |
| | | [Description("è´¨æ£åºåº")] |
| | | OutQuality = 103, |
| | | |
| | | /// <summary> |
| | | /// åºç©º |
| | | /// </summary> |
| | | [Description("åºç©º")] |
| | | PalletOutbound = 104, |
| | | |
| | | /// <summary> |
| | | /// 补空 |
| | | /// </summary> |
| | | [Description("补空")] |
| | | PalletFillOutbound = 105, |
| | | |
| | | /// <summary> |
| | | /// å
¥åº |
| | | /// </summary> |
| | | [Description("å
¥åº")] |
| | | Inbound = 200, |
| | | |
| | | /// <summary> |
| | | /// çç¹å
¥åº |
| | | /// </summary> |
| | | [Description("çç¹å
¥åº")] |
| | | InInventory = 201, |
| | | |
| | | /// <summary> |
| | | /// 忣å
¥åº |
| | | /// </summary> |
| | | [Description("忣å
¥åº")] |
| | | InPick = 202, |
| | | |
| | | /// <summary> |
| | | /// è´¨æ£å
¥åº |
| | | /// </summary> |
| | | [Description("è´¨æ£å
¥åº")] |
| | | InQuality = 203, |
| | | |
| | | /// <summary> |
| | | /// å
¥ç©º |
| | | /// </summary> |
| | | [Description("å
¥ç©º")] |
| | | PalletInbound = 204, |
| | | |
| | | /// <summary> |
| | | /// å空 |
| | | /// </summary> |
| | | [Description("å空")] |
| | | PalletReturnInbound = 205, |
| | | |
| | | /// <summary> |
| | | /// ç§»åº |
| | | /// </summary> |
| | | [Description("ç§»åº")] |
| | | Relocation = 300, |
| | | |
| | | /// <summary> |
| | | /// åºå
ç§»åº |
| | | /// </summary> |
| | | [Description("åºå
ç§»åº")] |
| | | RelocationIn = 301, |
| | | |
| | | /// <summary> |
| | | /// åºå¤ç§»åº |
| | | /// </summary> |
| | | [Description("åºå¤ç§»åº")] |
| | | RelocationOut = 302, |
| | | |
| | | [Description("AGVæ¬è¿")] |
| | | AGVCarry = 500, |
| | | } |
| | | |
| | | #endregion ä»»å¡ç±»å |
| | | |
| | | #region å
¥åºä»»å¡ç¶æ |
| | | |
| | | /// <summary> |
| | | /// å
¥åºä»»å¡ç¶æ |
| | | /// </summary> |
| | | public enum InTaskStatusEnum |
| | | { |
| | | /// <summary> |
| | | /// æ°å»ºå
¥åºä»»å¡ |
| | | /// </summary> |
| | | [Description("æ°å»º")] |
| | | InNew = 200, |
| | | |
| | | /// <summary> |
| | | /// å åæºå
¥åºæ§è¡ä¸ |
| | | /// </summary> |
| | | [Description("å åæºå
¥åºæ§è¡ä¸")] |
| | | SC_InExecuting = 230, |
| | | |
| | | /// <summary> |
| | | /// å åæºå
¥åºå®æ |
| | | /// </summary> |
| | | [Description("å åæºå
¥åºå®æ")] |
| | | SC_InFinish = 235, |
| | | |
| | | /// <summary> |
| | | /// å
¥åºä»»å¡å®æ |
| | | /// </summary> |
| | | [Description("å
¥åºä»»å¡å®æ")] |
| | | InFinish = 290, |
| | | |
| | | /// <summary> |
| | | /// å
¥åºä»»å¡åæ¶ |
| | | /// </summary> |
| | | [Description("å
¥åºä»»å¡åæ¶")] |
| | | InCancel = 298, |
| | | |
| | | /// <summary> |
| | | /// å
¥åºä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | [Description("å
¥åºä»»å¡å¼å¸¸")] |
| | | InException = 299, |
| | | |
| | | /// <summary> |
| | | /// æ°å»ºç§»åºä»»å¡ |
| | | /// </summary> |
| | | [Description("æ°å»ºç§»åºä»»å¡")] |
| | | RelocationNew = 300, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡å®æ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡å®æ")] |
| | | RelocationFinish = 310, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡æ§è¡ä¸ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡æ§è¡ä¸")] |
| | | RelocationExecuting = 320, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡åæ¶ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡åæ¶")] |
| | | RelocationCancel = 330, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡å¼å¸¸")] |
| | | RelocationException = 340, |
| | | } |
| | | |
| | | #endregion å
¥åºä»»å¡ç¶æ |
| | | |
| | | /// <summary> |
| | | /// åºåºä»»å¡ç¶æ |
| | | /// </summary> |
| | | public enum OutTaskStatusEnum |
| | | { |
| | | /// <summary> |
| | | /// æ°å»ºä»»å¡ |
| | | /// </summary> |
| | | [Description("æ°å»º")] |
| | | OutNew = 100, |
| | | |
| | | /// <summary> |
| | | /// å åæºåºåºæ§è¡ä¸ |
| | | /// </summary> |
| | | [Description("å åæºåºåºæ§è¡ä¸")] |
| | | SC_OutExecuting = 130, |
| | | |
| | | /// <summary> |
| | | /// å åæºåºåºå®æ |
| | | /// </summary> |
| | | [Description("å åæºåºåºå®æ")] |
| | | SC_OutFinish = 135, |
| | | |
| | | /// <summary> |
| | | /// åºåºä»»å¡å®æ |
| | | /// </summary> |
| | | [Description("åºåºä»»å¡å®æ")] |
| | | OutFinish = 190, |
| | | |
| | | /// <summary> |
| | | /// åºåºä»»å¡åæ¶ |
| | | /// </summary> |
| | | [Description("åºåºä»»å¡åæ¶")] |
| | | OutCancel = 198, |
| | | |
| | | /// <summary> |
| | | /// åºåºä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | [Description("åºåºä»»å¡å¼å¸¸")] |
| | | OutException = 199 |
| | | } |
| | | |
| | | public enum AGVTaskStatusEnum |
| | | { |
| | | [Description("æ°å»º")] |
| | | AGV_New = 500, |
| | | |
| | | [Description("æ§è¡ä¸")] |
| | | AGV_Executing = 510, |
| | | |
| | | [Description("宿")] |
| | | AGV_Finish = 520 |
| | | } |
| | | } |
| | |
| | | /// <summary> |
| | | /// ä»»å¡ç¶æ |
| | | /// </summary> |
| | | public int TaskState { get; set; } |
| | | public int TaskStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èµ·ç¹ |
| | |
| | | /// </summary> |
| | | public string TargetAddress { get; set; } |
| | | |
| | | public string CurrentAddress { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç»ç¹ |
| | | /// </summary> |
| | | public string NextAddress { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¼å
级 |
| | | /// </summary> |
| | |
| | | [ImporterHeader(Name = "ä»»å¡ç¶æ")] |
| | | [ExporterHeader(DisplayName = "ä»»å¡ç¶æ")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ä»»å¡ç¶æ")] |
| | | public int TaskState { get; set; } |
| | | public int TaskStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èµ·å§å°å |
| | |
| | | [ImporterHeader(Name = "ä»»å¡ç¶æ")] |
| | | [ExporterHeader(DisplayName = "ä»»å¡ç¶æ")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ä»»å¡ç¶æ")] |
| | | public int TaskState { get; set; } |
| | | public int TaskStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èµ·å§å°å |
| | |
| | | using WIDESEAWCS_Core.Enums; |
| | | using WIDESEAWCS_Core.Caches; |
| | | using WIDESEAWCS_QuartzJob.DeviceEnum; |
| | | using WIDESEA_Core.Enums; |
| | | |
| | | namespace WIDESEAWCS_WCSServer.Controllers.System |
| | | { |
| | |
| | | { |
| | | List<object> data = new List<object>(); |
| | | |
| | | #region TaskTypeEnum |
| | | { |
| | | Type type = typeof(TaskTypeEnum); |
| | | List<int> enums = Enum.GetValues(typeof(TaskTypeEnum)).Cast<int>().ToList(); |
| | | int index = 0; |
| | | foreach (var item in enums) |
| | | { |
| | | FieldInfo? fieldInfo = typeof(TaskTypeEnum).GetField(((TaskTypeEnum)item).ToString()); |
| | | DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); |
| | | if (description != null) |
| | | { |
| | | data.Add(new { key = item.ToString(), value = description.Description }); |
| | | } |
| | | else |
| | | { |
| | | data.Add(new { key = item.ToString(), value = item.ToString() }); |
| | | } |
| | | index++; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region TaskInboundTypeEnum |
| | | { |
| | | Type type = typeof(TaskInboundTypeEnum); |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region InTaskStatusEnum |
| | | { |
| | | Type type = typeof(InTaskStatusEnum); |
| | | List<int> enums = Enum.GetValues(typeof(InTaskStatusEnum)).Cast<int>().ToList(); |
| | | int index = 0; |
| | | foreach (var item in enums) |
| | | { |
| | | FieldInfo? fieldInfo = typeof(InTaskStatusEnum).GetField(((InTaskStatusEnum)item).ToString()); |
| | | DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); |
| | | if (description != null) |
| | | { |
| | | data.Add(new { key = item.ToString(), value = description.Description }); |
| | | } |
| | | else |
| | | { |
| | | data.Add(new { key = item.ToString(), value = item.ToString() }); |
| | | } |
| | | index++; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region TaskOutStatusEnum |
| | | { |
| | | Type type = typeof(TaskOutStatusEnum); |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region OutTaskStatusEnum |
| | | { |
| | | Type type = typeof(OutTaskStatusEnum); |
| | | List<int> enums = Enum.GetValues(typeof(OutTaskStatusEnum)).Cast<int>().ToList(); |
| | | int index = 0; |
| | | foreach (var item in enums) |
| | | { |
| | | FieldInfo? fieldInfo = typeof(OutTaskStatusEnum).GetField(((OutTaskStatusEnum)item).ToString()); |
| | | DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); |
| | | if (description != null) |
| | | { |
| | | data.Add(new { key = item.ToString(), value = description.Description }); |
| | | } |
| | | else |
| | | { |
| | | data.Add(new { key = item.ToString(), value = item.ToString() }); |
| | | } |
| | | index++; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; |
| | | } |
| | | break; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | | using WIDESEAWCS_Model.Models; |
| | | |
| | | namespace WIDESEAWCS_WCSServer.Controllers.Task |
| | | { |
| | | [Route("api/Task_Hty")] |
| | | [ApiController] |
| | | public class Task_HtyController : ApiBaseController<ITask_HtyService, Dt_Task_Hty> |
| | | { |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | public Task_HtyController(ITask_HtyService service, IHttpContextAccessor httpContextAccessor) : base(service) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
| | |
| | | //builder.Services.AddInitializationHostServiceSetup();//åºç¨åå§åæå¡æ³¨å
¥ |
| | | builder.Services.AddDbSetup();//Db å¯å¨æå¡ |
| | | |
| | | builder.Services.AddScoped<QuartzJobCreateDataTabel>(); |
| | | builder.Services.AddHostedService<QuartzJobDataTableHostedService>(); |
| | | //builder.Services.AddScoped<QuartzJobCreateDataTabel>(); |
| | | //builder.Services.AddHostedService<QuartzJobDataTableHostedService>(); |
| | | |
| | | builder.Services.AddAutoMapperSetup(); |
| | | |
| | |
| | | using System.Reflection; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.Enums; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseServices; |
| | | using WIDESEAWCS_Core.Enums; |
| | |
| | | Dt_Task task = _taskRepository.QueryFirst(x => x.TaskId == taskId); |
| | | if (task == null) return; |
| | | int taskNum = task.TaskNum; |
| | | int taskState = task.TaskState; |
| | | int TaskStatus = task.TaskStatus; |
| | | |
| | | if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(taskState.ToString()).ToString(), out int result)) |
| | | if (!int.TryParse(Enum.Parse<OutTaskStatusEnum>(TaskStatus.ToString()).ToString(), out int result)) |
| | | { |
| | | if ((int)(TaskOutStatusEnum)result > (int)TaskOutStatusEnum.OutFinish) |
| | | isNormal = false; |
| | | } |
| | | else if (!int.TryParse(Enum.Parse<TaskInStatusEnum>(taskState.ToString()).ToString(), out result)) |
| | | else if (!int.TryParse(Enum.Parse<InTaskStatusEnum>(TaskStatus.ToString()).ToString(), out result)) |
| | | { |
| | | if ((int)(TaskInStatusEnum)result > (int)TaskInStatusEnum.InFinish) |
| | | isNormal = false; |
| | |
| | | IsNormal = isNormal, |
| | | TaskNum = taskNum, |
| | | TaskId = taskId, |
| | | TaskState = taskState, |
| | | TaskState = TaskStatus, |
| | | Description = description, |
| | | CurrentAddress = task.CurrentAddress, |
| | | NextAddress = task.NextAddress, |
| | |
| | | Dt_Task task = _taskRepository.QueryFirst(x => x.TaskNum == item); |
| | | if (task == null) return; |
| | | int taskNum = task.TaskNum; |
| | | int taskState = task.TaskState; |
| | | int TaskStatus = task.TaskStatus; |
| | | |
| | | if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(taskState.ToString()).ToString(), out int result)) |
| | | if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(TaskStatus.ToString()).ToString(), out int result)) |
| | | { |
| | | if ((int)(TaskOutStatusEnum)result > (int)TaskOutStatusEnum.OutFinish) |
| | | isNormal = false; |
| | | } |
| | | else if (!int.TryParse(Enum.Parse<TaskInStatusEnum>(taskState.ToString()).ToString(), out result)) |
| | | else if (!int.TryParse(Enum.Parse<TaskInStatusEnum>(TaskStatus.ToString()).ToString(), out result)) |
| | | { |
| | | if ((int)(TaskInStatusEnum)result > (int)TaskInStatusEnum.InFinish) |
| | | isNormal = false; |
| | |
| | | IsNormal = isNormal, |
| | | TaskNum = taskNum, |
| | | TaskId = task.TaskId, |
| | | TaskState = taskState, |
| | | TaskState = TaskStatus, |
| | | Description = description, |
| | | CurrentAddress = task.CurrentAddress, |
| | | NextAddress = task.NextAddress, |
| | |
| | | { |
| | | throw new Exception($"ä»»å¡ç±»åé误,æªæ¾å°è¯¥ä»»å¡ç±»å,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç±»å:ã{task.TaskType}ã"); |
| | | } |
| | | active = steps.IndexOf(task.TaskState) + 1; |
| | | active = steps.IndexOf(task.TaskStatus) + 1; |
| | | |
| | | } |
| | | |
| | |
| | | using WIDESEAWCS_Core.BaseServices; |
| | | using WIDESEAWCS_Core.DB.Models; |
| | | using WIDESEAWCS_Core.Enums; |
| | | using WIDESEAWCS_DTO.Enum; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_ITaskInfoRepository; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | |
| | | using WIDESEAWCS_QuartzJob.Models; |
| | | using WIDESEAWCS_QuartzJob.Service; |
| | | using WIDESEAWCS_Core.Helper; |
| | | using WIDESEA_Core.Enums; |
| | | using WIDESEAWCS_Core.BaseRepository; |
| | | |
| | | namespace WIDESEAWCS_TaskInfoService |
| | | { |
| | |
| | | { |
| | | private readonly IRouterService _routerService; |
| | | private readonly ITaskExecuteDetailService _taskExecuteDetailService; |
| | | private readonly IUnitOfWorkManage _unitOfWorkManage; |
| | | private readonly ITaskExecuteDetailRepository _taskExecuteDetailRepository; |
| | | private readonly IMapper _mapper; |
| | | private readonly ITask_HtyService _task_HtyService; |
| | |
| | | public List<int> TaskInboundTypes => typeof(TaskInboundTypeEnum).GetEnumIndexList(); |
| | | |
| | | public List<int> TaskOutboundTypes => typeof(TaskOutboundTypeEnum).GetEnumIndexList(); |
| | | public List<int> TaskTypeEnums => typeof(TaskTypeEnum).GetEnumIndexList(); |
| | | |
| | | public TaskService(ITaskRepository BaseDal, IRouterService routerService, ITaskExecuteDetailService taskExecuteDetailService, ITaskExecuteDetailRepository taskExecuteDetailRepository, IMapper mapper, ITask_HtyService task_HtyService, ITask_HtyRepository task_HtyRepository) : base(BaseDal) |
| | | public TaskService(ITaskRepository BaseDal, IRouterService routerService, IUnitOfWorkManage unitOfWorkManage, ITaskExecuteDetailService taskExecuteDetailService, ITaskExecuteDetailRepository taskExecuteDetailRepository, IMapper mapper, ITask_HtyService task_HtyService, ITask_HtyRepository task_HtyRepository) : base(BaseDal) |
| | | { |
| | | _routerService = routerService; |
| | | _unitOfWorkManage = unitOfWorkManage; |
| | | _taskExecuteDetailService = taskExecuteDetailService; |
| | | _taskExecuteDetailRepository = taskExecuteDetailRepository; |
| | | _mapper = mapper; |
| | |
| | | try |
| | | { |
| | | List<Dt_Task> tasks = new List<Dt_Task>(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | foreach (var item in taskDTOs) |
| | | { |
| | | if (BaseDal.QueryFirst(x => x.TaskNum == item.TaskNum || x.PalletCode == item.PalletCode) != null) |
| | | { |
| | | continue; |
| | | throw new Exception($"æéå¤ä»»å¡"); |
| | | } |
| | | Dt_Task task = _mapper.Map<Dt_Task>(item); |
| | | task.Creater = "WMS"; |
| | | tasks.Add(task); |
| | | } |
| | | BaseDal.AddData(tasks); |
| | | |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(tasks.Select(x => x.TaskNum).ToList(), "æ¥æ¶WMSä»»å¡"); |
| | | |
| | | content = WebResponseContent.Instance.OK("æå"); |
| | | _unitOfWorkManage.CommitTran(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | content = WebResponseContent.Instance.Error($"任塿¥æ¶é误,é误信æ¯:{ex.Message}"); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | content = WebResponseContent.Instance.Error($"{ex.Message}"); |
| | | } |
| | | return content; |
| | | } |
| | |
| | | RoadWay = "SC01", |
| | | SourceAddress = sourceAddress, |
| | | TargetAddress = "SC01", |
| | | TaskState = TaskInStatusEnum.InNew.ObjToInt(), |
| | | TaskStatus = TaskInStatusEnum.InNew.ObjToInt(), |
| | | Id = 0, |
| | | TaskType = TaskInboundTypeEnum.Inbound.ObjToInt() |
| | | }; |
| | |
| | | /// <returns></returns> |
| | | public Dt_Task QueryConveyorLineTask(string deviceNo, string currentAddress) |
| | | { |
| | | return BaseDal.QueryFirst(x => (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.SC_OutFinish.ObjToInt()) && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => (TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.SC_OutFinish.ObjToInt()) && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <returns></returns> |
| | | public Dt_Task QueryExecutingConveyorLineTask(int taskNum, string nextAddress) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.NextAddress == nextAddress && (x.TaskState == TaskInStatusEnum.Line_InExecuting.ObjToInt() || x.TaskState == TaskOutStatusEnum.Line_OutExecuting.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.NextAddress == nextAddress && (x.TaskStatus == TaskInStatusEnum.Line_InExecuting.ObjToInt() || x.TaskStatus == TaskOutStatusEnum.Line_OutExecuting.ObjToInt()), TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <returns></returns> |
| | | public Dt_Task QueryCompletedConveyorLineTask(int taskNum, string currentAddress) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.CurrentAddress == currentAddress && (x.TaskState == TaskInStatusEnum.Line_InFinish.ObjToInt() || x.TaskState == TaskOutStatusEnum.Line_OutFinish.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.CurrentAddress == currentAddress && (x.TaskStatus == TaskInStatusEnum.Line_InFinish.ObjToInt() || x.TaskStatus == TaskOutStatusEnum.Line_OutFinish.ObjToInt()), TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public Dt_Task? QuertStackerCraneTask(string deviceNo, TaskTypeGroup? taskTypeGroup = null) |
| | | { |
| | | if(taskTypeGroup == null) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.Line_InFinish.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.Line_InFinish.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | if(taskTypeGroup.Value == TaskTypeGroup.InboundGroup) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.Line_InFinish.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.Line_InFinish.ObjToInt(), TaskOrderBy); |
| | | if(taskTypeGroup.Value == TaskTypeGroup.OutbondGroup) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return null; |
| | | } |
| | | |
| | |
| | | else |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskTypeEnums.Contains(x.TaskType) && (x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() || x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt())), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && x.CurrentAddress == currentAddress && (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskInStatusEnum.Line_InFinish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && x.CurrentAddress == currentAddress && (TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.Line_InFinish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | else |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | if (task != null && tasks == null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else if (task == null && tasks != null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | } |
| | | } |
| | |
| | | public Dt_Task QueryStackerCraneRelocationTask(string deviceNo, string currentAddress = "") |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | else |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | if (task != null && tasks == null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else if (task == null && tasks != null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | return BaseDal.QueryData(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == TaskOutStatusEnum.OutNew.ObjToInt() && x.TargetAddress == outStationCodes, TaskOrderBy); |
| | | return BaseDal.QueryData(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.TargetAddress == outStationCodes, TaskOrderBy); |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | { |
| | | task.TaskState = (int)TaskOutStatusEnum.OutPending; |
| | | task.TaskStatus = OutTaskStatusEnum.OutException.ObjToInt(); |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | { |
| | | task.TaskState = (int)TaskInStatusEnum.InPending; |
| | | task.TaskStatus = InTaskStatusEnum.InException.ObjToInt(); |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.RelocationException.ObjToInt(); |
| | | } |
| | | |
| | | task.ExceptionMessage = message; |
| | | task.ModifyDate = DateTime.Now; |
| | | BaseDal.UpdateData(task); |
| | |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return; |
| | | task.TaskState = status; |
| | | task.TaskStatus = status; |
| | | task.ModifyDate = DateTime.Now; |
| | | BaseDal.UpdateData(task); |
| | | } |
| | |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | int oldState = task.TaskState; |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) |
| | | int oldState = task.TaskStatus; |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt()|| task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskOutStatusEnum.SC_OutExecuting.ObjToInt(); |
| | | task.TaskStatus = OutTaskStatusEnum.SC_OutExecuting.ObjToInt(); |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskInStatusEnum.SC_InExecuting.ObjToInt(); |
| | | task.TaskStatus = InTaskStatusEnum.SC_InExecuting.ObjToInt(); |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup) |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskRelocationStatusEnum.RelocationExecuting.ObjToInt(); |
| | | task.TaskStatus = InTaskStatusEnum.RelocationExecuting.ObjToInt(); |
| | | } |
| | | else |
| | | { |
| | | throw new Exception($"ä»»å¡ç±»åé误,æªæ¾å°è¯¥ä»»å¡ç±»å,ä»»å¡å·:ã{task.TaskNum}ã,ä»»å¡ç±»å:ã{task.TaskType}ã"); |
| | | } |
| | | |
| | | if (task.TaskState <= 0) |
| | | if (task.TaskStatus <= 0) |
| | | { |
| | | return content = WebResponseContent.Instance.Error($"该任å¡ç¶æä¸å¯è·³è½¬å°ä¸ä¸æ¥,ä»»å¡å·:ã{task.TaskNum}ã,ä»»å¡ç¶æ:ã{task.TaskState}ã"); |
| | | return content = WebResponseContent.Instance.Error($"该任å¡ç¶æä¸å¯è·³è½¬å°ä¸ä¸æ¥,ä»»å¡å·:ã{task.TaskNum}ã,ä»»å¡ç¶æ:ã{task.TaskStatus}ã"); |
| | | } |
| | | |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.UpdateData(task); |
| | | |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, App.User.UserId > 0 ? $"人工æå¨å°ä»»å¡ç¶æä»ã{oldState}ã跳转å°ã{task.TaskState}ã" : $"ç³»ç»èªå¨æµç¨ï¼ä»»å¡ç¶æä»ã{oldState}ã转å°ã{task.TaskState}ã"); |
| | | |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "UpdateTaskStatus?", task.TaskNum, "å
¥åºä»»å¡ä¸å"); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, App.User.UserId > 0 ? $"人工æå¨å°ä»»å¡ç¶æä»ã{oldState}ã跳转å°ã{task.TaskStatus}ã" : $"ç³»ç»èªå¨æµç¨ï¼ä»»å¡ç¶æä»ã{oldState}ã转å°ã{task.TaskStatus}ã"); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | catch (Exception ex) |
| | |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup && task.TaskState == TaskOutStatusEnum.SC_OutExecuting.ObjToInt()) |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskOutStatusEnum.OutFinish.ObjToInt(); |
| | | task.TaskStatus = OutTaskStatusEnum.OutFinish.ObjToInt(); |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup && task.TaskState ==TaskInStatusEnum.SC_InExecuting.ObjToInt()) |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskInStatusEnum.InFinish.ObjToInt(); |
| | | task.TaskStatus = InTaskStatusEnum.InFinish.ObjToInt(); |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup) |
| | | else if (task.TaskType==TaskTypeEnum.Relocation.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskRelocationStatusEnum.RelocationFinish.ObjToInt(); |
| | | task.TaskStatus = InTaskStatusEnum.RelocationFinish.ObjToInt(); |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup && task.TaskState != TaskOutStatusEnum.SC_OutExecuting.ObjToInt()) |
| | | if ((task.TaskType == TaskTypeEnum.Outbound.ObjToInt() && task.TaskStatus == OutTaskStatusEnum.SC_OutExecuting.ObjToInt()) || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskOutStatusEnum.OutCancel.ObjToInt(); |
| | | task.TaskStatus = OutTaskStatusEnum.OutCancel.ObjToInt(); |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup && task.TaskState != TaskInStatusEnum.SC_InExecuting.ObjToInt()) |
| | | else if ((task.TaskType == TaskTypeEnum.Inbound.ObjToInt() && task.TaskStatus == InTaskStatusEnum.SC_InExecuting.ObjToInt()) || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskInStatusEnum.InCancel.ObjToInt(); |
| | | task.TaskStatus = InTaskStatusEnum.InCancel.ObjToInt(); |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup && task.TaskState != TaskRelocationStatusEnum.RelocationExecuting.ObjToInt()) |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | { |
| | | task.TaskState = TaskRelocationStatusEnum.RelocationCancel.ObjToInt(); |
| | | task.TaskStatus = InTaskStatusEnum.RelocationCancel.ObjToInt(); |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | if (task.TaskState != (int)TaskInStatusEnum.InPending && task.TaskState != (int)TaskOutStatusEnum.OutPending) |
| | | if (task.TaskStatus != (int)TaskInStatusEnum.InPending && task.TaskStatus != (int)TaskOutStatusEnum.OutPending) |
| | | { |
| | | return content = WebResponseContent.Instance.Error($"该任å¡ç¶æä¸å¯æ¢å¤,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç¶æ:ã{task.TaskState}ã"); |
| | | return content = WebResponseContent.Instance.Error($"该任å¡ç¶æä¸å¯æ¢å¤,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç¶æ:ã{task.TaskStatus}ã"); |
| | | } |
| | | |
| | | Dt_TaskExecuteDetail taskExecuteDetail = _taskExecuteDetailRepository.QueryFirst(x => x.TaskId == task.TaskId && x.IsNormal, new Dictionary<string, OrderByType> { { nameof(Dt_TaskExecuteDetail.TaskDetailId), OrderByType.Desc } }); |
| | | if (taskExecuteDetail != null) |
| | | { |
| | | task.TaskState = taskExecuteDetail.TaskState; |
| | | task.TaskStatus = taskExecuteDetail.TaskState; |
| | | } |
| | | else |
| | | { |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) |
| | | { |
| | | task.TaskState = (int)TaskOutStatusEnum.OutNew; |
| | | task.TaskStatus = (int)TaskOutStatusEnum.OutNew; |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) |
| | | { |
| | | task.TaskState = (int)TaskInStatusEnum.InNew; |
| | | task.TaskStatus = (int)TaskInStatusEnum.InNew; |
| | | } |
| | | //todo |
| | | } |
| | |
| | | |
| | | BaseDal.UpdateData(task); |
| | | |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"人工æ¢å¤æèµ·ä»»å¡,æ¢å¤æèµ·æ¶ä»»å¡ç¶æã{task.TaskState}ã"); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"人工æ¢å¤æèµ·ä»»å¡,æ¢å¤æèµ·æ¶ä»»å¡ç¶æã{task.TaskStatus}ã"); |
| | | |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | |
| | | int oldState = task.TaskState; |
| | | Dt_TaskExecuteDetail taskExecuteDetail = _taskExecuteDetailRepository.QueryFirst(x => x.TaskId == task.TaskId && x.TaskState < task.TaskState && x.TaskState > 0, new Dictionary<string, OrderByType> { { nameof(Dt_TaskExecuteDetail.TaskDetailId), OrderByType.Desc } }); |
| | | int oldState = task.TaskStatus; |
| | | Dt_TaskExecuteDetail taskExecuteDetail = _taskExecuteDetailRepository.QueryFirst(x => x.TaskId == task.TaskId && x.TaskState < task.TaskStatus && x.TaskState > 0, new Dictionary<string, OrderByType> { { nameof(Dt_TaskExecuteDetail.TaskDetailId), OrderByType.Desc } }); |
| | | if (taskExecuteDetail != null) |
| | | { |
| | | task.TaskState = taskExecuteDetail.TaskState; |
| | | task.TaskStatus = taskExecuteDetail.TaskState; |
| | | task.CurrentAddress = taskExecuteDetail.CurrentAddress; |
| | | task.NextAddress = taskExecuteDetail.NextAddress; |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error($"æªæ¾å°ä»»å¡æç»ä¿¡æ¯,该任å¡ç¶æä¸å¯åæ»å°ä¸ä¸æ¥,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç¶æ:ã{task.TaskState}ã"); |
| | | return content = WebResponseContent.Instance.Error($"æªæ¾å°ä»»å¡æç»ä¿¡æ¯,该任å¡ç¶æä¸å¯åæ»å°ä¸ä¸æ¥,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç¶æ:ã{task.TaskStatus}ã"); |
| | | } |
| | | |
| | | task.ExceptionMessage = string.Empty; |
| | | |
| | | BaseDal.UpdateData(task); |
| | | |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"人工å°ä»»å¡ç¶æä»ã{oldState}ãåæ»å°ã{task.TaskState}ã"); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"人工å°ä»»å¡ç¶æä»ã{oldState}ãåæ»å°ã{task.TaskStatus}ã"); |
| | | |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | |
| | | List<Task> tasks = new List<Task>(); |
| | | foreach (string childDeviceCode in childDeviceCodes) |
| | | { |
| | | //Task task = Task.Run(() => |
| | | //{ |
| | | ConveyorLineTaskCommand command = conveyorLine.ReadCustomer<ConveyorLineTaskCommand>(childDeviceCode); |
| | | if (command != null) |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | //}); |
| | | //tasks.Add(task); |
| | | |
| | | } |
| | | |
| | | Task.WaitAll(tasks.ToArray()); |
| | |
| | | using Microsoft.AspNetCore.Components.Routing; |
| | | using HslCommunication; |
| | | using Microsoft.AspNetCore.Components.Routing; |
| | | using Quartz; |
| | | using SqlSugar.Extensions; |
| | | using System; |
| | |
| | | using System.Net; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.Enums; |
| | | using WIDESEAWCS_Core.Enums; |
| | | using WIDESEAWCS_ITaskInfoRepository; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | | using WIDESEAWCS_Model.Models; |
| | | using WIDESEAWCS_QuartzJob; |
| | | using WIDESEAWCS_QuartzJob.DeviceBase; |
| | | using WIDESEAWCS_QuartzJob.DTO; |
| | | using WIDESEAWCS_QuartzJob.Models; |
| | | using WIDESEAWCS_QuartzJob.Service; |
| | | using WIDESEAWCS_Tasks.StackerCraneJob; |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | Console.WriteLine(nameof(CommonStackerCraneJob) + ":" + ex.ToString()); |
| | | //Console.WriteLine(nameof(CommonStackerCraneJob) + ":" + ex.ToString()); |
| | | } |
| | | return Task.CompletedTask; |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | bool flag = speStackerCrane.LastTaskType.GetValueOrDefault().GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup; |
| | | if (flag) |
| | | bool flag = speStackerCrane.LastTaskType == TaskTypeEnum.Inbound.ObjToInt() || speStackerCrane.LastTaskType == TaskTypeEnum.PalletInbound.ObjToInt(); |
| | | if (flag==false) |
| | | { |
| | | task = _taskService.QueryStackerCraneInTask(speStackerCrane.DeviceCode); |
| | | if (task == null) |
| | |
| | | task = _taskService.QueryStackerCraneOutTask(speStackerCrane.DeviceCode); |
| | | } |
| | | } |
| | | |
| | | if (task != null && task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) |
| | | { |
| | | |
| | | List<Dt_Task> tasks = _taskService.QueryStackerCraneOutTasks(speStackerCrane.DeviceCode, task.TargetAddress); |
| | | foreach (var item in tasks) |
| | | { |
| | | return task; |
| | | } |
| | | return task; |
| | | |
| | | } |
| | | |
| | | return task; |
| | | } |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡å®ä½è½¬æ¢æå½ä»¤Model |
| | | /// </summary> |
| | | /// <param name="task">ä»»å¡å®ä½</param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public StackerCraneTaskCommand? ConvertToStackerCraneTaskCommand([NotNull] Dt_Task task) |
| | | public bool SendCommands(StackerCraneTaskCommand command,SpeStackerCrane speStackerCrane) |
| | | { |
| | | try |
| | | { |
| | | speStackerCrane.SetValue(StackerCraneDBName.TaskNum, command.TaskNum); |
| | | speStackerCrane.SetValue(StackerCraneDBName.StartRow, command.StartRow); |
| | | speStackerCrane.SetValue(StackerCraneDBName.StartColumn, command.StartColumn); |
| | | speStackerCrane.SetValue(StackerCraneDBName.StartLayer, command.StartLayer); |
| | | speStackerCrane.SetValue(StackerCraneDBName.EndRow, command.EndRow); |
| | | speStackerCrane.SetValue(StackerCraneDBName.EndColumn, command.EndColumn); |
| | | speStackerCrane.SetValue(StackerCraneDBName.EndLayer, command.EndLayer); |
| | | speStackerCrane.SetValue(StackerCraneDBName.Barcode, command.Barcode); |
| | | speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.WorkType); |
| | | speStackerCrane.SetValue(StackerCraneDBName.TrayType, command.TrayType); |
| | | return true; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// ä»»å¡å®ä½è½¬æ¢æå½ä»¤Model |
| | | /// </summary> |
| | | /// <param name="task">ä»»å¡å®ä½</param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public StackerCraneTaskCommand? ConvertToStackerCraneTaskCommand([NotNull] Dt_Task task) |
| | | { |
| | | StackerCraneTaskCommand stackerCraneTaskCommand = new StackerCraneTaskCommand(); |
| | | |
| | |
| | | stackerCraneTaskCommand.TaskNum = task.TaskNum; |
| | | stackerCraneTaskCommand.WorkType = 1; |
| | | stackerCraneTaskCommand.TrayType = 0; |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup)//夿æ¯å¦æ¯å
¥åºä»»å¡ |
| | | if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt())//夿æ¯å¦æ¯å
¥åºä»»å¡ |
| | | { |
| | | if (task.SourceAddress != null && task.TargetAddress != null) |
| | | { |
| | |
| | | return null; |
| | | } |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) |
| | | else if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | { |
| | | if (task.SourceAddress != null && task.TargetAddress != null) |
| | | { |
| | |
| | | return null; |
| | | } |
| | | } |
| | | else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup) |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | { |
| | | if (task.SourceAddress != null && task.TargetAddress != null) |
| | | { |
| | |
| | | } |
| | | return StackerCraneStatus.Unkonw.ToString(); |
| | | } |
| | | //public bool SetStackerObject(SpeStackerCrane speStackerCrane, StackerCraneDBName StackerDBName, int value) => speStackerCrane.SetValue(StackerDBName, value); |
| | | } |
| | | } |
| | |
| | | Barcode, |
| | | |
| | | /// <summary> |
| | | /// æçç±»å |
| | | /// </summary> |
| | | TrayType, |
| | | |
| | | /// <summary> |
| | | /// 设å¤ç¶æ |
| | | /// </summary> |
| | | StackerCraneStatus, |
| | |
| | | let TaskHandCancelBtn = this.buttons.find(x => x.value == 'TaskHandCancel'); |
| | | if (TaskHandCancelBtn) { |
| | | TaskHandCancelBtn.onClick = function () { |
| | | this.$message.success('èªå®ä¹æé®ç¹å»äºä»¶'); |
| | | let rows = this.$refs.table.getSelected(); |
| | | if (rows.length == 0) return this.$error("è¯·éæ©æ°æ®!"); |
| | | var param = rows[0].taskNum; |
| | | this.http |
| | | .post("api/Task/TaskCancel?taskNum="+param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('ä»»å¡åæ¶æå.'); |
| | | this.refresh(); |
| | | } else { |
| | | return this.$error(x.message); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | let TaskHandCompletedBtn = this.buttons.find(x => x.value == 'TaskHandCompleted'); |
| | |
| | | .post("api/Task/TaskCompleted?taskNum="+param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('任塿å¨å®ææå.'); |
| | | this.$Message.success('任塿å¨å®æ'); |
| | | this.refresh(); |
| | | } else { |
| | | return this.$error(x.message); |
| | |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "currentAddress", |
| | | title: "å½åä½ç½®", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "nextAddress", |
| | | title: "ä¸ä¸ä½ç½®", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "currentAddress", |
| | | // title: "å½åä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "nextAddress", |
| | | // title: "ä¸ä¸ä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "exceptionMessage", |
| | | title: "å¼å¸¸ä¿¡æ¯", |
| | |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "targetAddress", |
| | | title: "ç®æ å°å", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "currentAddress", |
| | | title: "å½åä½ç½®", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "targetAddress", |
| | | // title: "ç®æ å°å", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "currentAddress", |
| | | // title: "å½åä½ç½®", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "nextAddress", |
| | | title: "ä¸ä¸ä½ç½®", |
| | |
| | | |
| | | locationInfo.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | |
| | | if (locationInfos.LocationStatus == LocationStatusEnum.Pallet.ObjToInt()) |
| | | if (beforeStartStatus == LocationStatusEnum.Pallet.ObjToInt()) |
| | | { |
| | | locationInfos.LocationStatus = LocationStatusEnum.PalletLock.ObjToInt(); |
| | | } |
| | |
| | | RelocationFinish = 310, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡æ§è¡ä¸ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡æ§è¡ä¸")] |
| | | RelocationExecuting = 320, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡åæ¶ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡åæ¶")] |
| | | RelocationCancel = 320, |
| | | RelocationCancel = 330, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡å¼å¸¸")] |
| | | RelocationException = 340, |
| | | } |
| | | |
| | | #endregion å
¥åºä»»å¡ç¶æ |
| | |
| | | /// </summary> |
| | | [Description("å åæºåºåºå®æ")] |
| | | SC_OutFinish = 135, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡æ§è¡ä¸ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡æ§è¡ä¸")] |
| | | SC_RelocationExecuting = 140, |
| | | |
| | | /// <summary> |
| | | /// ç§»åºä»»å¡æ§è¡ä¸ |
| | | /// </summary> |
| | | [Description("ç§»åºä»»å¡æ§è¡ä¸")] |
| | | SC_RelocationFinish = 145, |
| | | |
| | | /// <summary> |
| | | /// åºåºä»»å¡å®æ |
| | |
| | | using System; |
| | | using Microsoft.Extensions.Logging; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http.Headers; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.LogHelper; |
| | | |
| | | namespace WIDESEA_Core.Helper |
| | | { |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public static T Post<T>(string url, object parm, string rquestName = "") where T : class |
| | | { |
| | | HttpWebResponse response = null; |
| | | StreamReader resultReader = null; |
| | | string responseContent = string.Empty; |
| | | try |
| | | { |
| | | HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); |
| | | request.Timeout = 10 * 1000; |
| | | request.Method = "POST"; |
| | | request.ContentType = "application/json; charset=UTF-8"; |
| | | parm = parm ?? ""; |
| | | byte[] data = Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(parm)); |
| | | request.ContentLength = data.Length; |
| | | using (Stream newStream = request.GetRequestStream()) |
| | | { |
| | | newStream.Write(data, 0, data.Length); |
| | | }; |
| | | |
| | | response = (HttpWebResponse)request.GetResponse(); |
| | | Stream webStream = response.GetResponseStream(); |
| | | if (webStream == null) |
| | | { |
| | | throw new Exception("Network error"); |
| | | } |
| | | |
| | | int statsCode = (int)response.StatusCode; |
| | | resultReader = new StreamReader(webStream, Encoding.UTF8); |
| | | responseContent = resultReader.ReadToEnd(); |
| | | |
| | | if (response != null) |
| | | response.Close(); |
| | | if (resultReader != null) |
| | | resultReader.Close(); |
| | | |
| | | if (statsCode != 200) |
| | | { |
| | | throw new Exception("å¼å¸¸ï¼ååºç ï¼" + statsCode.ToString()); |
| | | } |
| | | |
| | | Logger.Write_Log("System/API请æ±", rquestName, "è¯·æ±æå", new { è¯·æ±æ¥æ = parm, æ¥æ¶æ¥æ = responseContent }); |
| | | return JsonConvert.DeserializeObject<T>(responseContent); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | Logger.Write_Log("System/API请æ±", rquestName, "请æ±å¼å¸¸", new { è¯·æ±æ¥æ = parm, æ¥æ¶æ¥æ = responseContent, é误 = ex.Message }); |
| | | throw ex; |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | |  |
| | | using Microsoft.AspNetCore.Http; |
| | | using Newtonsoft.Json; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | { |
| | | |
| | | } |
| | | public static void Write_Log(string groupName, string logName, string content, object data = null) |
| | | { |
| | | DateTime nowTime = DateTime.Now; |
| | | string basePath = System.Environment.CurrentDirectory + "/Log/" + $"/{groupName}/{nowTime.ToString("yyyy-MM-dd")}"; |
| | | //妿æ¥å¿æä»¶ç®å½ä¸åå¨,åå建 |
| | | if (!Directory.Exists(basePath)) |
| | | { |
| | | Directory.CreateDirectory(basePath); |
| | | } |
| | | try |
| | | { |
| | | FileStream fs = new FileStream(basePath + "/" + logName + $"{nowTime.ToString("yyMMdd")}.txt", FileMode.Append); |
| | | StreamWriter strwriter = new StreamWriter(fs); |
| | | try |
| | | { |
| | | strwriter.WriteLine(nowTime.ToString() + "." + nowTime.Millisecond); |
| | | strwriter.WriteLine(content); |
| | | if (data != null) |
| | | { |
| | | strwriter.WriteLine(JsonConvert.SerializeObject(data)); |
| | | } |
| | | strwriter.WriteLine("-------------------------------"); |
| | | strwriter.WriteLine(); |
| | | strwriter.Flush(); |
| | | } |
| | | catch { } |
| | | finally |
| | | { |
| | | strwriter.Close(); |
| | | fs.Close(); |
| | | } |
| | | } |
| | | catch { } |
| | | } |
| | | |
| | | public static void WriteApiLog2DB(HttpContext context, string requestParameter, DateTime beginDate, string responseParameter, DateTime endDate, LoggerStatus loggerStatus) |
| | | { |
| | |
| | | WebResponseContent GenerateInboundTask(string stationCode, int taskType, string palletCode); |
| | | |
| | | WebResponseContent TaskCompleted(int taskNum); |
| | | WebResponseContent TaskCancel(SaveModel saveModel); |
| | | WebResponseContent TaskCancel(int taskNum); |
| | | WebResponseContent UpdateTaskStatus(int taskNum); |
| | | |
| | | WebResponseContent GenerateOutboundTask(int orderDetailId, List<StockSelectViewDTO> stockSelectViews); |
| | | |
| | |
| | | |
| | | WebResponseContent PalletOutboundTask(string roadwayNo, string endStation); |
| | | |
| | | WebResponseContent CallMateriel(SaveModel saveModel); |
| | | WebResponseContent CallMateriel(string endPoint); |
| | | |
| | | WebResponseContent MaterielCarry(SaveModel saveModelt); |
| | | WebResponseContent MaterielCarry(string startPoint); |
| | | WebResponseContent GetTaskInfo(); |
| | | } |
| | | } |
| | |
| | | /// </summary> |
| | | /// <param name="endPoint"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent CallMateriel(SaveModel saveModel) |
| | | public WebResponseContent CallMateriel(string endPoint) |
| | | { |
| | | try |
| | | { |
| | | string endPoint = saveModel.MainData["endPoint"].ToString(); |
| | | |
| | | Dt_CachePoint cachePoint = GetCachePointByEndPoint(endPoint); |
| | | |
| | | Dt_Task task = new Dt_Task() |
| | |
| | | /// </summary> |
| | | /// <param name="startPoint"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent MaterielCarry(SaveModel saveModel) |
| | | public WebResponseContent MaterielCarry(string startPoint) |
| | | { |
| | | try |
| | | { |
| | | string startPoint = saveModel.MainData["startPoint"].ToString(); |
| | | |
| | | Dt_CachePoint cachePoint = GetCachePointByStartPoint(startPoint); |
| | | |
| | | Dt_Task task = new() |
| | |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_Core.Helper; |
| | | using Microsoft.Extensions.Logging; |
| | | using System.Net.Http.Headers; |
| | | using System.Security.Policy; |
| | | using Newtonsoft.Json; |
| | | |
| | | namespace WIDESEA_TaskInfoService |
| | | { |
| | | public partial class TaskService |
| | | { |
| | | public string url = AppSettings.Configuration["WCS"]; |
| | | /// <summary> |
| | | /// PDAç³è¯·å
¥åº--å åæºç«åºå
¥åº |
| | | /// </summary> |
| | |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | _unitOfWorkManage.BeginTran(); |
| | | Dt_LocationInfo? locationInfo = _basicService.LocationInfoService.AssignLocation(stationCode, taskType); |
| | | //Dt_LocationInfo dt_LocationInfo = null; |
| | | if (locationInfo != null) |
| | |
| | | Dt_Task task = new() |
| | | { |
| | | CurrentAddress = stationCode, |
| | | Grade = 0, |
| | | Grade = 2, |
| | | PalletCode = palletCode, |
| | | NextAddress = locationInfo.LocationCode, |
| | | Roadway = locationInfo.RoadwayNo, |
| | |
| | | _basicService.LocationInfoService.UpdateLocationLock(locationInfo, task.TaskNum, StockChangeType.Inbound.ObjToInt(), false); |
| | | } |
| | | _basicService.LocationInfoService.Repository.UpdateData(locationInfo); |
| | | List<Dt_Task> tasks = new List<Dt_Task>(); |
| | | tasks.Add(task); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(locationInfo, beforeStatus, StockChangeType.Inbound.ObjToInt(), orderNo, task.TaskNum); |
| | | |
| | | var response = HttpHelper.Post<WebResponseContent>(url + "ReceiveTask/", tasks, "å
¥åºä»»å¡ä¸å"); |
| | | if (!response.Status) |
| | | { |
| | | return content = WebResponseContent.Instance.Error("ä»»å¡ä¸åå¼å¸¸"); |
| | | } |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content = WebResponseContent.Instance.OK(); |
| | | } |
| | | return content = WebResponseContent.Instance.Error("æªæ¾å°å¯åé
è´§ä½"); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | content = WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | return content; |
| | |
| | | using Microsoft.AspNetCore.Http; |
| | | using System.Reflection.Metadata; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup; |
| | | using SkiaSharp; |
| | | |
| | | namespace WIDESEA_TaskInfoService |
| | | { |
| | |
| | | Dt_Task task = new() |
| | | { |
| | | CurrentAddress = stockInfo.LocationCode, |
| | | Grade = 0, |
| | | Grade = 2, |
| | | PalletCode = stockInfo.PalletCode, |
| | | NextAddress = roadwayInfo.OutSCStationCode, |
| | | Roadway = locationInfo.RoadwayNo, |
| | |
| | | WebResponseContent content=new WebResponseContent(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | //å¤æç§»åº |
| | | content=RelocationTasks(tasks.OrderBy(x=>x.Depth).ToList()); |
| | | if (content.Status) |
| | | (List<Dt_Task>?, List<Dt_Task>?) result=RelocationTasks(tasks.OrderBy(x=>x.Depth).ToList()); |
| | | |
| | | if(result.Item1 != null) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | |
| | | } |
| | | else |
| | | for (int i = 0; i < result.Item2.Count; i++) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content; |
| | | |
| | | } |
| | | //BaseDal.AddData(tasks); |
| | | |
| | | |
| | | if (stockInfos != null && outboundOrderDetails != null && outStockLockInfos != null && locationInfos != null) |
| | | { |
| | | content = _outboundService.OutboundOrderDetailService.LockOutboundStockDataUpdate(stockInfos, outboundOrderDetails, outStockLockInfos, locationInfos, tasks: tasks); |
| | |
| | | } |
| | | |
| | | } |
| | | public WebResponseContent RelocationTasks(List<Dt_Task> task) |
| | | public (List<Dt_Task>?, List<Dt_Task>?) RelocationTasks(List<Dt_Task> task) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | _unitOfWorkManage.BeginTran(); |
| | | List<Dt_Task> tasks = new List<Dt_Task>(); |
| | | List<Dt_Task> relocationList=new List<Dt_Task>(); |
| | | if (task.Count > 0) |
| | | { |
| | | |
| | | for (int i = 0; i < task.Count; i++) |
| | | { |
| | | Dt_LocationInfo location = _basicService.LocationInfoService.Repository.QueryFirst(x => x.LocationCode == task[i].SourceAddress && x.RoadwayNo == task[i].Roadway); |
| | | int befoStatus=location.LocationStatus.ObjToInt(); |
| | | if (location != null) |
| | | { |
| | | //(Dt_LocationInfo?, int?) result = _basicService.LocationInfoService.isDepth(location); |
| | | (Dt_LocationInfo?, int?) result = isDepth(location); |
| | | if (result.Item1 != null && result.Item2 != LocationStatusEnum.Lock.ObjToInt() && result.Item2 != LocationStatusEnum.PalletLock.ObjToInt() && result.Item2 != LocationStatusEnum.Free.ObjToInt()) |
| | | Dt_LocationInfo result = isDepth(location); |
| | | if (result != null && result.LocationStatus == LocationStatusEnum.Lock.ObjToInt() && result.LocationStatus != LocationStatusEnum.PalletLock.ObjToInt() && result.LocationStatus != LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | int sum = 0; |
| | | for (int j = 0; j < task.Count; j++) |
| | | { |
| | | if (result.Item1.LocationCode == task[j].SourceAddress) |
| | | if (result.LocationCode == task[j].SourceAddress) |
| | | { |
| | | sum++; |
| | | } |
| | | } |
| | | if (sum == 0) |
| | | { |
| | | return content = RelocationTask(task[i]); |
| | | Dt_Task relocariontask = RelocationTask(result); |
| | | task[i].Grade=1; |
| | | tasks.Add(task[i]); |
| | | relocationList.Add(relocariontask); |
| | | } |
| | | else |
| | | { |
| | | BaseDal.AddData(task[i]); |
| | | _basicService.LocationInfoService.UpdateLocationLock(location, task[i].TaskNum, StockChangeType.Outbound.ObjToInt(), true); |
| | | tasks.Add(task[i]); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | } |
| | | else if (result.Item1 == null && result.Item2 == LocationStatusEnum.Free.ObjToInt()) |
| | | else if (result == null) |
| | | { |
| | | BaseDal.AddData(task[i]); |
| | | location.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | _basicService.LocationInfoService.UpdateData(location); |
| | | tasks.Add(task[i]); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | else if (result.Item1 != null && result.Item2 == LocationStatusEnum.Free.ObjToInt()) |
| | | else if (result != null && result.LocationStatus == LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | BaseDal.AddData(task[i]); |
| | | location.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | _basicService.LocationInfoService.UpdateData(location); |
| | | _basicService.LocationInfoService.UpdateLocationLock(location, task[i].TaskNum, StockChangeType.Outbound.ObjToInt(), false); |
| | | tasks.Add(task[i]); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | else if (result.Item1 != null && (result.Item2 == LocationStatusEnum.Lock.ObjToInt() || result.Item2 == LocationStatusEnum.PalletLock.ObjToInt())) |
| | | else if (result != null && (result.LocationStatus == LocationStatusEnum.Lock.ObjToInt() || result.LocationStatus == LocationStatusEnum.PalletLock.ObjToInt())) |
| | | { |
| | | Dt_Task TaskInfo = BaseDal.QueryFirst(x => x.SourceAddress == result.Item1.LocationCode); |
| | | Dt_Task TaskInfo = BaseDal.QueryFirst(x => x.SourceAddress == result.LocationCode); |
| | | if (TaskInfo == null) |
| | | { |
| | | return content = WebResponseContent.Instance.Error("è´§ä½è¢«éå®ä¸å¯åºåº"); |
| | | content = WebResponseContent.Instance.Error("è´§ä½è¢«éå®ä¸å¯åºåº"); |
| | | break; |
| | | } |
| | | else |
| | | { |
| | | BaseDal.AddData(task[i]); |
| | | location.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | _basicService.LocationInfoService.UpdateData(location); |
| | | tasks.Add(task[i]); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("ä»»å¡å¼å¸¸"); |
| | | content = WebResponseContent.Instance.Error("ä»»å¡å¼å¸¸"); |
| | | break; |
| | | } |
| | | } |
| | | return (tasks, relocationList); |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("没æåºåçæä»»å¡"); |
| | | throw new Exception($"çæç§»åºä»»å¡å¤±è´¥"); |
| | | } |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(ex.Message); |
| | | return (null, null); |
| | | } |
| | | } |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | /// <param name="task"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent RelocationTask(Dt_Task task) |
| | | public Dt_Task RelocationTask(Dt_LocationInfo location) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | Dt_LocationInfo locationInfo = _basicService.LocationInfoService.Repository.QueryFirst(x => x.LocationCode == task.SourceAddress && x.RoadwayNo == task.Roadway); |
| | | if (locationInfo != null) |
| | | Dt_StockInfo stockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.LocationCode == location.LocationCode); |
| | | if (stockInfo != null) |
| | | { |
| | | int beforeStatus = locationInfo.LocationStatus; |
| | | //(Dt_LocationInfo?,int?) Result = _basicService.LocationInfoService.isDepth(locationInfo); |
| | | (Dt_LocationInfo?,int?) Result = isDepth(locationInfo); |
| | | if (Result.Item1 != null&& Result.Item2== LocationStatusEnum.InStock.ObjToInt()) |
| | | Dt_LocationInfo? locationInfos = _basicService.LocationInfoService.AssignLocation(location.RoadwayNo); |
| | | if (locationInfos != null) |
| | | { |
| | | Dt_StockInfo stockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.LocationCode == Result.Item1.LocationCode); |
| | | Dt_StockInfoDetail stockInfoDetail = _stockService.StockInfoDetailService.Repository.QueryFirst(x => x.StockId==stockInfo.Id); |
| | | if (stockInfo != null&& stockInfoDetail != null) |
| | | Dt_Task tasks = new() |
| | | { |
| | | (Dt_Task ?, Dt_LocationInfo ?) result= AddRelocationTask(Result.Item1, stockInfo, task); |
| | | if (result.Item1!=null&&result.Item2!=null) |
| | | { |
| | | _basicService.LocationInfoService.RelocationLock(Result.Item1, result.Item2, result.Item1.TaskNum); |
| | | locationInfo.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | _basicService.LocationInfoService.UpdateData(locationInfo); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(locationInfo, beforeStatus, StockChangeType.Relocation.ObjToInt(), "", task.TaskNum); |
| | | return content = WebResponseContent.Instance.OK(); |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("ç§»åºä»»å¡çæå¤±è´¥"); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("æªæ¾å°åºåä¿¡æ¯"); |
| | | } |
| | | } |
| | | else if(Result.Item1 != null && Result.Item2 == LocationStatusEnum.Pallet.ObjToInt()) |
| | | { |
| | | Dt_StockInfo stockInfo = _stockService.StockInfoService.Repository.QueryFirst(x => x.LocationCode == Result.Item1.LocationCode); |
| | | if (stockInfo != null) |
| | | { |
| | | (Dt_Task?, Dt_LocationInfo?) result = AddRelocationTask(Result.Item1, stockInfo, task); |
| | | if (result.Item1 != null && result.Item2 != null) |
| | | { |
| | | _basicService.LocationInfoService.RelocationLock(Result.Item1, result.Item2, result.Item1.TaskNum); |
| | | locationInfo.LocationStatus = LocationStatusEnum.PalletLock.ObjToInt(); |
| | | _basicService.LocationInfoService.UpdateData(locationInfo); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(locationInfo, beforeStatus, StockChangeType.Relocation.ObjToInt(), "", task.TaskNum); |
| | | return content = WebResponseContent.Instance.OK(); |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("ç§»åºä»»å¡çæå¤±è´¥"); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("æªæ¾å°åºåä¿¡æ¯"); |
| | | } |
| | | CurrentAddress = location.LocationCode, |
| | | Grade = 0, |
| | | PalletCode = stockInfo.PalletCode, |
| | | NextAddress = locationInfos.LocationCode, |
| | | Roadway = location.RoadwayNo, |
| | | SourceAddress = location.LocationCode, |
| | | TargetAddress = locationInfos.LocationCode, |
| | | TaskStatus = InTaskStatusEnum.RelocationNew.ObjToInt(), |
| | | TaskType = TaskTypeEnum.Relocation.ObjToInt(), |
| | | TaskNum = BaseDal.GetTaskNum(nameof(SequenceEnum.SeqTaskNum)) |
| | | }; |
| | | return tasks; |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("å¼å¸¸"); |
| | | throw new Exception($"çæç§»åºä»»å¡å¤±è´¥"); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | return content = WebResponseContent.Instance.Error("ä»»å¡ä¿¡æ¯å¼å¸¸"); |
| | | throw new Exception("æªæ¾å°åºåä¿¡æ¯"); |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return content = WebResponseContent.Instance.Error(ex.Message); |
| | | throw new Exception($"çæç§»åºä»»å¡å¤±è´¥"); ; |
| | | } |
| | | finally |
| | | { |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | public (Dt_Task?,Dt_LocationInfo?) AddRelocationTask(Dt_LocationInfo location,Dt_StockInfo stockInfo,Dt_Task task) |
| | | { |
| | | Dt_LocationInfo? locationInfos = _basicService.LocationInfoService.AssignLocation(location.RoadwayNo); |
| | | if (locationInfos != null) |
| | | { |
| | | Dt_Task tasks = new() |
| | | { |
| | | CurrentAddress = location.LocationCode, |
| | | Grade = 0, |
| | | PalletCode = stockInfo.PalletCode, |
| | | NextAddress = locationInfos.LocationCode, |
| | | Roadway = location.RoadwayNo, |
| | | SourceAddress = location.LocationCode, |
| | | TargetAddress = locationInfos.LocationCode, |
| | | TaskStatus = InTaskStatusEnum.RelocationNew.ObjToInt(), |
| | | TaskType = TaskTypeEnum.Relocation.ObjToInt(), |
| | | TaskNum = BaseDal.GetTaskNum(nameof(SequenceEnum.SeqTaskNum)) |
| | | }; |
| | | BaseDal.AddData(tasks); |
| | | BaseDal.AddData(task); |
| | | stockInfo.StockStatus = StockStatusEmun.ç§»åºéå®.ObjToInt(); |
| | | _stockService.StockInfoService.UpdateData(stockInfo); |
| | | } |
| | | return (task, locationInfos); |
| | | } |
| | | /// <summary> |
| | | /// çæåºåºä»»å¡ |
| | |
| | | } |
| | | } |
| | | |
| | | public (Dt_LocationInfo?, int?) isDepth(Dt_LocationInfo locationInfo) |
| | | public Dt_LocationInfo isDepth(Dt_LocationInfo locationInfo) |
| | | { |
| | | if (locationInfo.Depth == 2) |
| | | { |
| | |
| | | { |
| | | Dt_LocationInfo dt_LocationInfo = _basicService.LocationInfoService.Repository.QueryFirst(x => x.Row == locationInfo.Row + 1 && x.Layer == locationInfo.Layer && x.Column == locationInfo.Column && x.RoadwayNo == locationInfo.RoadwayNo); |
| | | |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.InStock.ObjToInt()) |
| | | if (dt_LocationInfo != null) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.InStock.ObjToInt()); |
| | | return dt_LocationInfo; |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Free.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Lock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Lock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.PalletLock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.PalletLock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Pallet.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Pallet.ObjToInt()); |
| | | } |
| | | |
| | | } |
| | | else if (locationInfo.Row == 4 || locationInfo.Row == 8) |
| | | { |
| | |
| | | |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.InStock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.InStock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Free.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Lock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Lock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.PalletLock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.PalletLock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Pallet.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Pallet.ObjToInt()); |
| | | return dt_LocationInfo; |
| | | } |
| | | } |
| | | } |
| | | return (null, LocationStatusEnum.Free.ObjToInt()); |
| | | return null; |
| | | } |
| | | } |
| | | } |
| | |
| | | return WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | public WebResponseContent TaskCancel(SaveModel saveModel) |
| | | public WebResponseContent TaskCancel(int taskNum) |
| | | { |
| | | try |
| | | { |
| | | int taskNum = int.Parse(saveModel.MainData["taskNum"].ToString()); |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) |
| | | { |
| | |
| | | return WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | |
| | | public WebResponseContent UpdateTaskStatus(int taskNum) |
| | | { |
| | | try |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) |
| | | { |
| | | return WebResponseContent.Instance.Error("æªæ¾å°ä»»å¡ä¿¡æ¯"); |
| | | } |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | { |
| | | task.TaskStatus = OutTaskStatusEnum.SC_OutExecuting.ObjToInt(); |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.SC_InExecuting.ObjToInt(); |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.RelocationExecuting.ObjToInt(); |
| | | } |
| | | else |
| | | { |
| | | throw new Exception($"ä»»å¡ç±»åé误,æªæ¾å°è¯¥ä»»å¡ç±»å,ä»»å¡å·:ã{task.TaskNum}ã,ä»»å¡ç±»å:ã{task.TaskType}ã"); |
| | | } |
| | | return WebResponseContent.Instance.Error("æªæ¾å°ä»»å¡ç±»å对åºä¸å¡å¤çé»è¾"); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | public WebResponseContent InboundTaskCompleted(Dt_Task task) |
| | | { |
| | | try |
| | |
| | | } |
| | | |
| | | [HttpPost, Route("CallMateriel"), AllowAnonymous] |
| | | public WebResponseContent CallMateriel([FromBody] SaveModel saveModel) |
| | | public WebResponseContent CallMateriel([FromBody] string endPoint) |
| | | { |
| | | return _taskService.CallMateriel(saveModel); |
| | | return _taskService.CallMateriel(endPoint); |
| | | } |
| | | |
| | | [HttpPost, Route("MaterielCarry"), AllowAnonymous] |
| | | public WebResponseContent MaterielCarry([FromBody] SaveModel saveModel) |
| | | public WebResponseContent MaterielCarry([FromBody] string startPoint) |
| | | { |
| | | return _taskService.MaterielCarry(saveModel); |
| | | return _taskService.MaterielCarry(startPoint); |
| | | } |
| | | |
| | | [HttpPost, Route("MaterielGroup")] |
| | |
| | | } |
| | | |
| | | [HttpPost, Route("GetStockSelectViews"), AllowAnonymous] |
| | | public List<StockSelectViewDTO> GetStockSelectViews([FromBody]string materielCode) |
| | | public List<StockSelectViewDTO> GetStockSelectViews(string materielCode) |
| | | { |
| | | return Service.GetStockSelectViews(materielCode); |
| | | } |
| | |
| | | } |
| | | |
| | | [HttpPost, Route("TaskCompleted"), AllowAnonymous] |
| | | public WebResponseContent TaskCompleted([FromBody] int taskNum) |
| | | public WebResponseContent TaskCompleted(int taskNum) |
| | | { |
| | | return Service.TaskCompleted(taskNum); |
| | | } |
| | | [HttpPost, Route("TaskCancel"), AllowAnonymous] |
| | | public WebResponseContent TaskCancel([FromBody] SaveModel saveModel) |
| | | public WebResponseContent TaskCancel(int taskNum) |
| | | { |
| | | return Service.TaskCancel(saveModel); |
| | | return Service.TaskCancel(taskNum); |
| | | } |
| | | |
| | | [HttpPost, Route("UpdateTaskStatus"), AllowAnonymous] |
| | | public WebResponseContent UpdateTaskStatus(int taskNum) |
| | | { |
| | | return Service.UpdateTaskStatus(taskNum); |
| | | } |
| | | [HttpPost, Route("GenerateOutboundTask")] |
| | | public WebResponseContent GenerateOutboundTask( int id, [FromBody] List<StockSelectViewDTO> stockSelectViews) |
| | | { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2024/11/1 9:31:21.649 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":{"TaskId":0,"TaskNum":232,"PalletCode":"A00008","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-004-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T09:31:08.2557414+08:00","Modifier":null,"ModifyDate":null},"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 9:35:00.714 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":233,"PalletCode":"A00008","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-004-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T09:34:55.0224368+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 9:36:55.462 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":234,"PalletCode":"A00005","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-004-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T09:36:53.3248437+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 9:37:41.472 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":235,"PalletCode":"A00005","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-004-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T09:37:34.8931853+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 9:39:37.274 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":236,"PalletCode":"A00005","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-004-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T09:39:23.4091352+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 9:43:09.555 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":237,"PalletCode":"A00005","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-004-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T09:43:02.7950148+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 11:49:20.887 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":238,"PalletCode":"A00001","Roadway":"R01","TaskType":200,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-001-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-001-02","Depth":0,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T11:49:15.7593519+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 11:50:26.61 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":239,"PalletCode":"A00002","Roadway":"R01","TaskType":200,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-002-001-001-01","CurrentAddress":"001-001-001","NextAddress":"R01-002-001-001-01","Depth":0,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T11:50:25.5449866+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 11:50:43.802 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":240,"PalletCode":"A00003","Roadway":"R01","TaskType":200,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-002-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-002-02","Depth":0,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T11:50:43.0725455+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 11:52:33.100 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":241,"PalletCode":"A00004","Roadway":"R01","TaskType":200,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-002-001-002-01","CurrentAddress":"001-001-001","NextAddress":"R01-002-001-002-01","Depth":0,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T11:52:32.5132244+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2024/11/1 13:34:24.853 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":{"TaskId":0,"TaskNum":242,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T13:34:18.907881+08:00","Modifier":null,"ModifyDate":null},"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"任塿¥æ¶é误,é误信æ¯:Object reference not set to an instance of an object.\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 13:40:11.285 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":{"TaskId":0,"TaskNum":248,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T13:40:07.2768798+08:00","Modifier":null,"ModifyDate":null},"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"任塿¥æ¶é误,é误信æ¯:Object reference not set to an instance of an object.\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:23:23.324 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":275,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:23:23.3004519+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":276,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:23:23.3016749+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:31:05.947 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":279,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:31:05.922357+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":280,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:31:05.9242038+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:37:09.583 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":283,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:37:09.561706+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":284,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:37:09.5634395+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:41:20.424 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":287,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:41:20.3373694+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":288,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:41:20.340493+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:45:37.950 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":291,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:45:32.1569581+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":292,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:45:32.1596449+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:49:13.803 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":298,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:49:12.2052113+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":299,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:49:12.2063816+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:40:01.476 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":309,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:39:59.068966+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:58:05.845 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:59:17.316 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:59:29.244 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:11:04.424 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:11:38.377 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:12:33.925 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2024/11/1 13:34:24.22 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":{"TaskId":0,"TaskNum":242,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T13:34:18.907881+08:00","Modifier":null,"ModifyDate":null},"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"任塿¥æ¶é误,é误信æ¯:Object reference not set to an instance of an object.\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 13:38:22.913 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":{"TaskId":0,"TaskNum":245,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T13:38:12.8553407+08:00","Modifier":null,"ModifyDate":null},"æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 13:40:09.216 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":{"TaskId":0,"TaskNum":248,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T13:40:07.2768798+08:00","Modifier":null,"ModifyDate":null},"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"任塿¥æ¶é误,é误信æ¯:Object reference not set to an instance of an object.\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:13:07.386 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":251,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:13:07.1398787+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:13:09.248 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":252,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:13:09.2310498+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:13:38.124 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":255,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:13:38.1025405+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:13:54.35 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":256,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:13:54.0250995+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:15:04.687 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":259,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:15:04.6688543+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:15:06.306 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":260,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:15:06.2904233+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:15:26.948 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":263,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:15:26.9339128+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:15:28.570 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":264,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:15:28.5575187+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:17:04.450 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":267,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:17:04.4283907+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:17:56.362 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":268,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:17:56.3413553+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:20:58.237 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":271,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:20:20.9974835+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:21:00.651 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":272,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:21:00.6222848+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:23:21.358 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":277,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:23:21.2154198+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:23:23.203 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":278,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-004-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:23:23.1852817+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:31:03.878 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":281,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:31:03.7293329+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:31:05.808 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":282,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-004-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:31:05.7926221+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:37:07.596 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":285,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:37:07.5409562+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:37:09.461 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":286,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-004-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:37:09.4480514+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:41:17.147 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":289,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:41:16.7511513+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:41:20.164 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":290,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-004-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:41:20.1113773+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:45:29.363 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":293,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:45:29.1214778+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:45:32.29 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":294,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-004-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:45:31.9937555+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:47:32.672 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":297,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:47:27.6689192+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:49:05.963 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":300,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:48:51.3295703+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 14:49:12.112 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":301,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T14:49:08.0474896+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æå\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:05:02.645 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":304,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:04:48.9092572+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"","é误":"An error occurred while sending the request."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:09:24.455 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":307,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:09:12.7471137+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:09:42.381 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":308,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:09:32.562272+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:39:58.821 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":311,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:39:58.6077409+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:42:13.319 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":314,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:42:13.283218+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:43:55.249 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":316,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:43:54.9826451+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:57:58.597 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":319,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:57:58.3778516+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:59:13.480 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":322,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:59:13.4611647+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 15:59:29.203 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":325,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T15:59:29.1779377+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:11:04.333 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":328,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T16:11:04.1124952+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:11:38.343 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":331,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T16:11:38.2219535+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:12:22.808 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":334,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T16:12:22.7799183+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:16:36.533 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":337,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T16:16:35.9430316+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:16:57.782 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":338,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T16:16:57.1534742+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/1 16:17:50.95 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":341,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-004-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-004-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-01T16:17:50.0077962+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | |
| | | // 注æï¼http://127.0.0.1:1818 å http://localhost:1818 æ¯ä¸ä¸æ ·ç |
| | | "IPs": "http://127.0.0.1:8080,http://localhost:8080" |
| | | }, |
| | | |
| | | "WCS": "http://localhost:9291/api/Task/", |
| | | |
| | | "ApiName": "WIDESEA", |
| | | "ExpMinutes": 120, |
| | | "QuartzJobAutoStart": true, |