CC/iWareCC_ASRS/Common/SystemValue.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCC_ASRS/Common/SystemWarningMsg.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCC_ASRS/FormCC.Designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCC_ASRS/FormCC.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCC_ASRS/ThreadService/02_BZ39工位(补板后工位)/Outbound/1、DataProcess_RobotBuffer_AutoQiTaoOutbound.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCC_ASRS/WmsTask/EmptySalverTransferTask.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCommon/Utils/Log4Net/LogType.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CC/iWareCommon/log4net_iWare.config | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
CC/iWareCC_ASRS/Common/SystemValue.cs
@@ -149,7 +149,7 @@ /// <summary> /// æ¯å¦å 许æ§è¡ AGVçº¿ç¨ /// </summary> public static bool isAllowRuning_Agv = false; public static bool isAllowRuning_DataProcess_RobotBuffer_AutoQiTaoOutbound = false; /// <summary> /// æ¯å¦å 许æ§è¡ 空æè½¬è¿çº¿ç¨ CC/iWareCC_ASRS/Common/SystemWarningMsg.cs
@@ -111,7 +111,7 @@ /// <summary> /// 空æçè½¬è¿ çè¦åæ¶æ¯ /// </summary> public static string _lbl_Alert_EmptySalverTransfer = string.Empty; public static string _lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound = string.Empty; /// <summary> CC/iWareCC_ASRS/FormCC.Designer.cs
@@ -238,8 +238,8 @@ this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound = new System.Windows.Forms.CheckBox(); this.lbl_MainTaskDecompose_ZPRK = new System.Windows.Forms.Label(); this.ckMainTaskDecompose_ZPRK = new System.Windows.Forms.CheckBox(); this.lbl_Alert_Agv = new System.Windows.Forms.Label(); this.ckAgv = new System.Windows.Forms.CheckBox(); this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound = new System.Windows.Forms.Label(); this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound = new System.Windows.Forms.CheckBox(); this.lbl_Alert_Place1014ClearStoreTask = new System.Windows.Forms.Label(); this.ckPlace1014ClearStoreTask = new System.Windows.Forms.CheckBox(); this.lbl_Alert_EmptySalverTransfer = new System.Windows.Forms.Label(); @@ -2985,8 +2985,8 @@ this.groupBox1.Controls.Add(this.checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound); this.groupBox1.Controls.Add(this.lbl_MainTaskDecompose_ZPRK); this.groupBox1.Controls.Add(this.ckMainTaskDecompose_ZPRK); this.groupBox1.Controls.Add(this.lbl_Alert_Agv); this.groupBox1.Controls.Add(this.ckAgv); this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound); this.groupBox1.Controls.Add(this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound); this.groupBox1.Controls.Add(this.lbl_Alert_Place1014ClearStoreTask); this.groupBox1.Controls.Add(this.ckPlace1014ClearStoreTask); this.groupBox1.Controls.Add(this.lbl_Alert_EmptySalverTransfer); @@ -3212,28 +3212,28 @@ this.ckMainTaskDecompose_ZPRK.UseVisualStyleBackColor = true; this.ckMainTaskDecompose_ZPRK.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged); // // lbl_Alert_Agv // lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound // this.lbl_Alert_Agv.AutoSize = true; this.lbl_Alert_Agv.BackColor = System.Drawing.Color.White; this.lbl_Alert_Agv.ForeColor = System.Drawing.Color.Red; this.lbl_Alert_Agv.Location = new System.Drawing.Point(216, 609); this.lbl_Alert_Agv.Name = "lbl_Alert_Agv"; this.lbl_Alert_Agv.Size = new System.Drawing.Size(70, 15); this.lbl_Alert_Agv.TabIndex = 41; this.lbl_Alert_Agv.Text = "label11"; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.AutoSize = true; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.BackColor = System.Drawing.Color.White; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.ForeColor = System.Drawing.Color.Red; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Location = new System.Drawing.Point(289, 609); this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Name = "lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound"; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Size = new System.Drawing.Size(70, 15); this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.TabIndex = 41; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Text = "label11"; // // ckAgv // ckDataProcess_RobotBuffer_AutoQiTaoOutbound // this.ckAgv.AutoSize = true; this.ckAgv.Location = new System.Drawing.Point(3, 609); this.ckAgv.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ckAgv.Name = "ckAgv"; this.ckAgv.Size = new System.Drawing.Size(88, 19); this.ckAgv.TabIndex = 40; this.ckAgv.Text = "AGV线ç¨"; this.ckAgv.UseVisualStyleBackColor = true; this.ckAgv.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged); this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.AutoSize = true; this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Location = new System.Drawing.Point(3, 609); this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Name = "ckDataProcess_RobotBuffer_AutoQiTaoOutbound"; this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Size = new System.Drawing.Size(271, 19); this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.TabIndex = 40; this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.Text = "æºå¨äººç¼åå² èªå¨é½å¥åºåº 线ç¨"; this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.UseVisualStyleBackColor = true; this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged); // // lbl_Alert_Place1014ClearStoreTask // @@ -6206,8 +6206,8 @@ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; private System.Windows.Forms.DataGridViewTextBoxColumn Qty; private System.Windows.Forms.DataGridViewTextBoxColumn InStoreTime; private System.Windows.Forms.Label lbl_Alert_Agv; private System.Windows.Forms.CheckBox ckAgv; private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound; private System.Windows.Forms.CheckBox ckDataProcess_RobotBuffer_AutoQiTaoOutbound; private System.Windows.Forms.Label lbl_MainTaskDecompose_ZPRK; private System.Windows.Forms.CheckBox ckMainTaskDecompose_ZPRK; private System.Windows.Forms.TabPage tabPage4; CC/iWareCC_ASRS/FormCC.cs
@@ -359,7 +359,7 @@ this.lbl_Alert_DeleteData.Text = showNowTime + SystemWarningMsg._lbl_Alert_DeleteData; this.lbl_Alert_EmptySalverTransfer.Text = showNowTime + SystemWarningMsg._lbl_Alert_EmptySalverTransfer; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Text = showNowTime + SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound; this.lbl_alert_DataProcess_BZ39.Text = showNowTime + SystemWarningMsg._lbl_alert_DataProcess_BZ39; @@ -979,7 +979,7 @@ { try { if (SystemValue.isAllowRuning_Agv && SystemValue.isStartedModel) if (SystemValue.isAllowRuning_DataProcess_RobotBuffer_AutoQiTaoOutbound && SystemValue.isStartedModel) { AGVRetModel list = AgvRequestHelper.GetVehicles(); AgvHandler.SaveAgvData(list); @@ -992,20 +992,20 @@ { for (int i = 0; i < waringList.Count; i++) { DeviceWarningHandler.SaveWarning(EDevice.AGV, iWareCommon.Utils.LogType.AGVTheadService, DeviceWarningHandler.SaveWarning(EDevice.AGV, iWareCommon.Utils.LogType.DataProcess_RobotBuffer_AutoQiTaoOutbound, waringList[i].code, waringList[i].code, waringList[i].desc);//æ°å¢æ¥è¦ warningAddressList.Add(waringList[i].code); } } } DeviceWarningHandler.AutoCloseWarning(EDevice.AGV, iWareCommon.Utils.LogType.AGVTheadService, warningAddressList);//èªå¨å ³éæ¥è¦ this.lbl_Alert_Agv.Text = "è·åAGV车è¾ä¿¡æ¯æå"; DeviceWarningHandler.AutoCloseWarning(EDevice.AGV, iWareCommon.Utils.LogType.DataProcess_RobotBuffer_AutoQiTaoOutbound, warningAddressList);//èªå¨å ³éæ¥è¦ this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Text = "è·åAGV车è¾ä¿¡æ¯æå"; } } catch (Exception ex) { Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.CCWCFService, "è·åAGV车è¾å表 åºç°å¼å¸¸:" + ex.Message, ex); this.lbl_Alert_Agv.Text = "è·åAGV车è¾ä¿¡æ¯å¼å¸¸ï¼" + ex.Message; this.lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound.Text = "è·åAGV车è¾ä¿¡æ¯å¼å¸¸ï¼" + ex.Message; } finally { @@ -1592,7 +1592,7 @@ DoCommonCheckedChanged(ref SystemValue.isAllowRuning_DeleteData, ckDeleteData); DoCommonCheckedChanged(ref SystemValue.isAllowRuning_Agv, ckAgv); DoCommonCheckedChanged(ref SystemValue.isAllowRuning_DataProcess_RobotBuffer_AutoQiTaoOutbound, ckDataProcess_RobotBuffer_AutoQiTaoOutbound); DoCommonCheckedChanged(ref SystemValue.isAllowRuning_EmptySalverTransfer, ckEmptySalverTransfer); CC/iWareCC_ASRS/ThreadService/02_BZ39¹¤Î»£¨²¹°åºó¹¤Î»£©/Outbound/1¡¢DataProcess_RobotBuffer_AutoQiTaoOutbound.cs
@@ -20,90 +20,80 @@ public static async void Handler() { var alertMsg = ""; LogType logType = LogType.DataProcess_RobotBuffer_FinishTaskForOutbound; LogType logType = LogType.DataProcess_RobotBuffer_AutoQiTaoOutbound; while (true) { Thread.Sleep(2000);//ä¼ç 2ç§ï¼å°ä¼ç åå°åé¢ï¼æ¯ä¸ºäºä¸é¢çcontinueæ¹æ³æ§è¡å䏿¾ç¤ºé误信æ¯çæç¤ºï¼ï¼ï¼ãEditBy shaocx,2022-05-24ã SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound = string.Empty; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound = string.Empty; try { if (SystemValue.isAllowRuning_DataProcess_RobotBuffer_FinishTaskForOutbound && SystemValue.isStartedModel) if (SystemValue.isAllowRuning_DataProcess_RobotBuffer_AutoQiTaoOutbound && SystemValue.isStartedModel) { var rgvLocation = StationLocationEnum.BZ39.ToString(); var obj = FormCC.stationView.R_StationForReadCommList.Where(x => x.StationCode == rgvLocation.ToString()).FirstOrDefault(); if (obj.R_OutboundFinish) using (WmsDBModel wmsDB = new WmsDBModel()) { var result = obj.R_OutboundNumber; if (string.IsNullOrEmpty(result)) List<wms_stock_quan> qunList = wmsDB.wms_stock_quan.Where(x => x.StockStatus == (int)StockStatusEnum.å¨åº).ToList(); var queryPageckCodeList = qunList.Select(x => x.PackageCode).Distinct().ToList(); List<mes_batchOrderUPI_new> upiList = wmsDB.mes_batchOrderUPI_new.Where(x => queryPageckCodeList.Contains(x.PackageCode)).ToList(); var groups = qunList.GroupBy(x => x.PackageCode); foreach (var group in groups) { SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound = $"{rgvLocation.ToString()}- åºåºåºä½å·æ¯ç©ºç,æ¤æ¬¡å¾ªç¯ç»æ"; continue; } using (WmsDBModel wmsDB = new WmsDBModel()) { List<wms_stock_quan> qunList = wmsDB.wms_stock_quan.Where(x => x.StockStatus == (int)StockStatusEnum.å¨åº).ToList(); var queryPageckCodeList = qunList.Select(x => x.PackageCode).Distinct().ToList(); List<mes_batchOrderUPI_new> upiList = wmsDB.mes_batchOrderUPI_new.Where(x => queryPageckCodeList.Contains(x.PackageCode)).ToList(); var groups = qunList.GroupBy(x => x.PackageCode); foreach (var group in groups) var packageCode = group.Key; var allCount = upiList.Where(x => x.PackageCode == packageCode).Count(); if (allCount == group.ToList().Count()) { var packageCode = group.Key; var allCount = upiList.Where(x => x.PackageCode == packageCode).Count(); if (allCount == group.ToList().Count()) //满足é½å¥ï¼åºåº group.ToList().ForEach(x => { //满足é½å¥ï¼åºåº group.ToList().ForEach(x => x.StockStatus = (int)StockStatusEnum.é½å å¾ åºåº; //çæåºåºä»»å¡ //è®°å½ä»»å¡ var _id = Yitter.IdGenerator.YitIdHelper.NextId(); var plcTaskNo = BusinessHelper.CreatePlcTaskIdForSrmTask(); var new_task = new wms_rbline_task() { x.StockStatus = (int)StockStatusEnum.é½å å¾ åºåº; Id = _id, TaskNo = plcTaskNo, //çæåºåºä»»å¡ //è®°å½ä»»å¡ var _id = Yitter.IdGenerator.YitIdHelper.NextId(); var plcTaskNo = BusinessHelper.CreatePlcTaskIdForSrmTask(); var new_task = new wms_rbline_task() { Id = _id, TaskNo = plcTaskNo, UPI = x.Upi, Length = x.Length, Width = x.Width, Thk = x.Thk, IssueTime = DateTime.Now, PlanNo = x.PlanNo, OrderId = x.OrderId, PackageCode = x.PackageCode, PlaceCode = x.PlaceCode, RbTaskType = (int)RbTaskTypeEnum.åºåºä»»å¡, RbTaskTypeEnumName = RbTaskTypeEnum.åºåºä»»å¡.ToString(), TaskStatus = (int)TaskStatusEnum.æ°å»º, TaskStatusName = TaskStatusEnum.æ°å»º.ToString(), TaskMsg = "å ¥åº", UPI = x.Upi, Length = x.Length, Width = x.Width, Thk = x.Thk, IssueTime = DateTime.Now, PlanNo = x.PlanNo, OrderId = x.OrderId, PackageCode = x.PackageCode, PlaceCode = x.PlaceCode, RbTaskType = (int)RbTaskTypeEnum.åºåºä»»å¡, RbTaskTypeEnumName = RbTaskTypeEnum.åºåºä»»å¡.ToString(), TaskStatus = (int)TaskStatusEnum.æ°å»º, TaskStatusName = TaskStatusEnum.æ°å»º.ToString(), TaskMsg = "å ¥åº", CreateTime = DateTime.Now, CreateUserName = "CC", UpdateTime = DateTime.Now, UpdateUserName = "CC", }; CreateTime = DateTime.Now, CreateUserName = "CC", UpdateTime = DateTime.Now, UpdateUserName = "CC", }; wmsDB.wms_rbline_task.Add(new_task); wmsDB.wms_rbline_task.Add(new_task); var place = StationHandler.GetPlaceByPlaceCode(x.PlaceCode, wmsDB); place.PlaceStatus = (int)PlaceStatusEnum.éå®; }); } var place = StationHandler.GetPlaceByPlaceCode(x.PlaceCode, wmsDB); place.PlaceStatus = (int)PlaceStatusEnum.éå®; }); } wmsDB.SaveChanges(); } wmsDB.SaveChanges(); } } } catch (Exception ex) { SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound += " åºç°å¼å¸¸:" + ex.Message + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += " åºç°å¼å¸¸:" + ex.Message + SysGloble.SPLIT_STR; Log4NetHelper.WriteErrorLog(logType, " åºç°å¼å¸¸ï¼" + ex.Message, ex); } } CC/iWareCC_ASRS/WmsTask/EmptySalverTransferTask.cs
@@ -29,7 +29,7 @@ while (true) { Thread.Sleep(2000);//ä¼ç 2ç§ï¼å°ä¼ç åå°åé¢ï¼æ¯ä¸ºäºä¸é¢çcontinueæ¹æ³æ§è¡å䏿¾ç¤ºé误信æ¯çæç¤ºï¼ï¼ï¼ãEditBy shaocx,2022-05-24ã SystemWarningMsg._lbl_Alert_EmptySalverTransfer = string.Empty; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound = string.Empty; bool isHasFinishedCurrentHanlder = false;//æ¯å¦å·²ç»å¤çå®äºç©ºæç转è¿ä»»å¡ try { @@ -77,7 +77,7 @@ { if (FormCC.RGV_1011_HasCategory_COUNT < SysGloble.MAX_RGV_1011_HasCategory_COUNT) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "é误ï¼1011å¤ä¸å 许å建任å¡ï¼1011æè´§æ¶é´:" + FormCC.RGV_1011_HasCategory_COUNT SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "é误ï¼1011å¤ä¸å 许å建任å¡ï¼1011æè´§æ¶é´:" + FormCC.RGV_1011_HasCategory_COUNT + ",è¿æªå¤§äºè®¾å®çæå¤§è¶ æ¶æ¶é´:" + SysGloble.MAX_RGV_1011_HasCategory_COUNT + SysGloble.SPLIT_STR; } else @@ -93,11 +93,11 @@ var fr = MyExtendHelper.DoHandler(context, store, rgvLocation); if (fr.result == false) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "é误ï¼1011夿°å»ºä»»å¡å¤±è´¥:" + fr.resMsg + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "é误ï¼1011夿°å»ºä»»å¡å¤±è´¥:" + fr.resMsg + SysGloble.SPLIT_STR; } else { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "æåå建1011ä»»å¡" + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "æåå建1011ä»»å¡" + SysGloble.SPLIT_STR; continue; } isHasFinishedCurrentHanlder = true; @@ -165,7 +165,7 @@ if (salverStackCount == 0) { //æ¥é SystemWarningMsg._lbl_Alert_EmptySalverTransfer += ("[æ£æµ]æ ¹æ®1009ç«ç¹çå çµè·åè¿åç«ä½åºçæçæ°ä¸º0") + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += ("[æ£æµ]æ ¹æ®1009ç«ç¹çå çµè·åè¿åç«ä½åºçæçæ°ä¸º0") + SysGloble.SPLIT_STR; continue; } //ä¼ç 5ç§ @@ -174,13 +174,13 @@ if (salverStackCount2 == 0) { //æ¥é SystemWarningMsg._lbl_Alert_EmptySalverTransfer += ("[æ£æµ]æ ¹æ®1009ç«ç¹çå çµè·åè¿åç«ä½åºçæçæ°ä¸º0") + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += ("[æ£æµ]æ ¹æ®1009ç«ç¹çå çµè·åè¿åç«ä½åºçæçæ°ä¸º0") + SysGloble.SPLIT_STR; continue; } if (salverStackCount != salverStackCount2) { //æ¥é SystemWarningMsg._lbl_Alert_EmptySalverTransfer += ("æ ¹æ®1009ç«ç¹çå çµï¼ç¸å·®5ç§è·åè¿åç«ä½åºçæçæ°ä¸ä¸è´ï¼ç¬¬ä¸æ¬¡æ¯" + salverStackCount + "ï¼ç¬¬äºæ¬¡æ¯" + salverStackCount2) + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += ("æ ¹æ®1009ç«ç¹çå çµï¼ç¸å·®5ç§è·åè¿åç«ä½åºçæçæ°ä¸ä¸è´ï¼ç¬¬ä¸æ¬¡æ¯" + salverStackCount + "ï¼ç¬¬äºæ¬¡æ¯" + salverStackCount2) + SysGloble.SPLIT_STR; continue; } @@ -190,11 +190,11 @@ var fr = MyExtendHelper.DoHandler(context, null, rgvLocation); if (fr.result == false) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "é误ï¼1009夿°å»ºä»»å¡å¤±è´¥:" + fr.resMsg + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "é误ï¼1009夿°å»ºä»»å¡å¤±è´¥:" + fr.resMsg + SysGloble.SPLIT_STR; } else { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "æåå建1009ä»»å¡" + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "æåå建1009ä»»å¡" + SysGloble.SPLIT_STR; continue; } isHasFinishedCurrentHanlder = true; @@ -209,7 +209,7 @@ var errMsg = ""; if (!MyExtendHelper.IsAllowSendTaskTo1014ByTPHS(ref errMsg)) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += errMsg + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += errMsg + SysGloble.SPLIT_STR; continue; } @@ -223,7 +223,7 @@ { if (!MyExtendHelper.IsAllowSendTaskTo1014ByTPHS(ref errMsg)) {//忬¡æ ¡éª ãEditBy shaocx,2022-05-18ã SystemWarningMsg._lbl_Alert_EmptySalverTransfer += errMsg + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += errMsg + SysGloble.SPLIT_STR; continue; } //夿1011ä½ç½®æ¯å¦æåºåï¼å¹¶ä¸æ¯æªéå®ç¶æï¼å¦ææ¯ï¼å°±ä¸è¦å建ä»ç«ä½åºå°1014çä»»å¡äºãEditBy shaocx,2022-05-18ã @@ -232,18 +232,18 @@ if (store1011 != null && store1011.StationId > 0) //if (store1011 != null && store1011.StationIsLock == false && store1011.StationIsHasTaskDoing == false) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "1011ä½ç½®æç³»ç»åºååå¨ï¼å æ¤ä¸éè¦å建ä»ç«ä½åºå°1014çä»»å¡ãã" + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "1011ä½ç½®æç³»ç»åºååå¨ï¼å æ¤ä¸éè¦å建ä»ç«ä½åºå°1014çä»»å¡ãã" + SysGloble.SPLIT_STR; continue; } var fr = MyExtendHelper.DoHandler(context, null, rgvLocation); if (fr.result == false) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "éè¯¯ï¼æçæºå ¥å£1014夿°å»ºä»ç«ä½åºå«æçä»»å¡å¤±è´¥:" + fr.resMsg + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "éè¯¯ï¼æçæºå ¥å£1014夿°å»ºä»ç«ä½åºå«æçä»»å¡å¤±è´¥:" + fr.resMsg + SysGloble.SPLIT_STR; } else { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "æåå建æçæºå ¥å£1014夿°å»ºä»ç«ä½åºå«æçä»»å¡" + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "æåå建æçæºå ¥å£1014夿°å»ºä»ç«ä½åºå«æçä»»å¡" + SysGloble.SPLIT_STR; continue; } } @@ -254,7 +254,7 @@ } catch (Exception ex) { SystemWarningMsg._lbl_Alert_EmptySalverTransfer += "å解线ç¨åºç°å¼å¸¸:" + ex.Message + SysGloble.SPLIT_STR; SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_AutoQiTaoOutbound += "å解线ç¨åºç°å¼å¸¸:" + ex.Message + SysGloble.SPLIT_STR; Log4NetHelper.WriteErrorLog(LogType.EmptySalverTransferTask, "HandlerIssuingTaskåºç°å¼å¸¸ï¼" + ex.Message, ex); } CC/iWareCommon/Utils/Log4Net/LogType.cs
@@ -73,7 +73,7 @@ /// <summary> /// AGVçº¿ç¨æ¥å¿ /// </summary> AGVTheadService = 302, DataProcess_RobotBuffer_AutoQiTaoOutbound = 302, /// <summary> /// åä¸ªå ¥åºå£æ«ææ£æµçº¿ç¨ CC/iWareCommon/log4net_iWare.config
@@ -198,8 +198,8 @@ <filter type="log4net.Filter.DenyAllFilter" /> </appender> <!--AGVãä¿¡æ¯ãæ¥å¿--> <appender name="AGVTheadService_Info" type="log4net.Appender.RollingFileAppender"> <file value="d:\\Log\\LuLiMuYe\\iWareCC\\AGVTheadService_Info\\" /> <appender name="DataProcess_RobotBuffer_AutoQiTaoOutbound_Info" type="log4net.Appender.RollingFileAppender"> <file value="d:\\Log\\LuLiMuYe\\iWareCC\\DataProcess_RobotBuffer_AutoQiTaoOutbound_Info\\" /> <appendToFile value="true" /> <rollingStyle value="Date" /> <staticLogFileName value="false" /> @@ -209,13 +209,13 @@ <param name="ConversionPattern" value="%næ¶æ¯æ¶é´ï¼%d [%t] %næ¶æ¯çº§å«ï¼%-5p %næ¶ æ¯ ç±»ï¼%c [%x] %n%m %n "/> </layout> <filter type="log4net.Filter.LoggerMatchFilter"> <loggerToMatch value="AGVTheadService_Info" /> <loggerToMatch value="DataProcess_RobotBuffer_AutoQiTaoOutbound_Info" /> </filter> <filter type="log4net.Filter.DenyAllFilter" /> </appender> <!--AGVãéè¯¯ãæ¥å¿--> <appender name="AGVTheadService_Error" type="log4net.Appender.RollingFileAppender"> <file value="d:\\Log\\LuLiMuYe\\iWareCC\\AGVTheadService_Error\\" /> <appender name="DataProcess_RobotBuffer_AutoQiTaoOutbound_Error" type="log4net.Appender.RollingFileAppender"> <file value="d:\\Log\\LuLiMuYe\\iWareCC\\DataProcess_RobotBuffer_AutoQiTaoOutbound_Error\\" /> <appendToFile value="true" /> <rollingStyle value="Date" /> <staticLogFileName value="false" /> @@ -225,7 +225,7 @@ <param name="ConversionPattern" value="%nå¼å¸¸æ¶é´ï¼%d [%t] %nå¼å¸¸çº§å«ï¼%-5p %nå¼ å¸¸ ç±»ï¼%c [%x] %n%m %n "/> </layout> <filter type="log4net.Filter.LoggerMatchFilter"> <loggerToMatch value="AGVTheadService_Error" /> <loggerToMatch value="DataProcess_RobotBuffer_AutoQiTaoOutbound_Error" /> </filter> <filter type="log4net.Filter.DenyAllFilter" /> </appender> @@ -636,8 +636,8 @@ <appender-ref ref="DataProcess_RobotBuffer_FinishTask_Error"/> <appender-ref ref="DataProcess_RobotBuffer_FinishTaskForOutbound_Info"/> <appender-ref ref="DataProcess_RobotBuffer_FinishTaskForOutbound_Error"/> <appender-ref ref="AGVTheadService_Info"/> <appender-ref ref="AGVTheadService_Error"/> <appender-ref ref="DataProcess_RobotBuffer_AutoQiTaoOutbound_Info"/> <appender-ref ref="DataProcess_RobotBuffer_AutoQiTaoOutbound_Error"/> <appender-ref ref="MesService_Info"/> <appender-ref ref="MesService_Error"/> <appender-ref ref="OutPlanTask_Info"/>