|  |  |  | 
|---|
|  |  |  | var showErrMsg = ""; | 
|---|
|  |  |  | try | 
|---|
|  |  |  | { | 
|---|
|  |  |  | SystemWarningMsg._lbl_Alert_LineInScan = ""; | 
|---|
|  |  |  | SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound = ""; | 
|---|
|  |  |  | //if (SystemValue.isAllowRuning_LineInScan && SystemValue.isStartedModel) | 
|---|
|  |  |  | if (true)//注意:不需要启动模式 | 
|---|
|  |  |  | { | 
|---|
|  |  |  | 
|---|
|  |  |  | showErrMsg += errMsg + SysGloble.SPLIT_STR; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | SystemWarningMsg._lbl_Alert_LineInScan = showErrMsg; | 
|---|
|  |  |  | SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound = showErrMsg; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | catch (Exception ex) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | SystemWarningMsg._lbl_Alert_LineInScan += "HandlerLineInSacnResult 出现异常:" + ex.Message + SysGloble.SPLIT_STR; | 
|---|
|  |  |  | Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.LineInScanTheadService, "HandlerLineInSacnResult 出现异常:" + ex.Message, ex); | 
|---|
|  |  |  | SystemWarningMsg._lbl_Alert_DataProcess_RobotBuffer_FinishTaskForOutbound += "HandlerLineInSacnResult 出现异常:" + ex.Message + SysGloble.SPLIT_STR; | 
|---|
|  |  |  | Log4NetHelper.WriteErrorLog(iWareCommon.Utils.LogType.DataProcess_RobotBuffer_FinishTaskForOutbound, "HandlerLineInSacnResult 出现异常:" + ex.Message, ex); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | Thread.Sleep(1000);//休眠2秒 | 
|---|
|  |  |  | } | 
|---|