change-测试版提交

collectionStore
liuwf 11 months ago
parent 3e7588bab9
commit 44ac45c87a

@ -1,6 +1,7 @@
using Aucma.Core.Scanner;
using Aucma.Scada.HikRobot;
using Aucma.Scada.Model.domain;
using HighWayIot.Common;
using HighWayIot.Config;
using HighWayIot.Log4net;
using HighWayIot.Repository.service;
@ -94,6 +95,10 @@ namespace Aucma.Scada.Business
#endregion
#region 变量定义
private int shellNoReadFlag = 0;
private int linerNoReadFlag = 0;
#endregion
private InStoreBusiness()
{
_spaceInfoService = registerServices.GetService<IBaseSpaceInfoService>();
@ -106,18 +111,25 @@ namespace Aucma.Scada.Business
_iMaterialCompletionServices = registerServices.GetService<IMaterialCompletionServices>();
// taskHandle.InStoreFinsihEvent += InStoreFinish;
taskHandle.InStoreAnswerEvent += InStoreAnswer;
MvCodeHelper.MessageNoReadEvent += MessageNoRead;
MvCodeHelper.RefreshMaterialCodeStrEvent += InStore;
MvCodeHelper.RefreshLogMessageEvent += PrintLogInfoMessage;
StartPassDown();
// shell 8301501047 liner 8301501067
//Task.Run(() =>
//{
// Thread.Sleep(6000);
// for (int i = 1; i < 2; i++)
// Thread.Sleep(5000);
// for (int i = 1; i < 3; i++)
// {
// InStore("B2401018301501047001" + i.ToString().PadLeft(2, '0'), appConfig.shellHikRobotIp);
// // Thread.Sleep(1000 * 30);
// // InStore(appConfig.linerStoreCode, "L23600000788110900" + i.ToString().PadLeft(2, '0'));
// // Thread.Sleep(1000 * 30);
// }
// for (int i = 1; i < 3; i++)
// {
// InStore("B2401018302500586001" + i.ToString().PadLeft(2, '0'), "169.254.100.169");
// InStore("L2401018301501067001" + i.ToString().PadLeft(2, '0'), appConfig.linerHikRobotIp);
// // Thread.Sleep(1000 * 30);
// // InStore(appConfig.linerStoreCode, "L23600000788110900" + i.ToString().PadLeft(2, '0'));
// // Thread.Sleep(1000 * 30);
@ -126,6 +138,24 @@ namespace Aucma.Scada.Business
}
/// <summary>
/// 扫码器通知有货物但是没扫上条码
/// </summary>
private void MessageNoRead(string storeCode)
{
if (storeCode == appConfig.shellStoreCode)
{
shellNoReadFlag = 1;
// 刷新界面提示信息
PrintLogInfoMessage("箱壳扫码器未扫上条码");
}
else
{
linerNoReadFlag = 1;
PrintLogInfoMessage("内胆扫码器未扫上条码");
}
}
/// <summary>
/// 入库
/// </summary>
@ -144,7 +174,15 @@ namespace Aucma.Scada.Business
{
storeCode = appConfig.linerStoreCode;
}
if(materialCode== "1111111111111111111111")
{
PrintLogInfoMessage("空板经过:"+storeCode);
}
else
{
PrintLogInfoMessage($"扫码成功,物料码:{materialCode}");
}
string materialType = SubStringMaterialCode(materialCode);
#region Delete By wenjy 2023-10-30 11:41:00 取消通过数据库获取货道数量、在途量改为通过PLC获取货道信息
//var spaceInfo = _spaceInfoService.InStoreGetSpaceInfoByMaterialType(storeCode, materialType);
@ -153,7 +191,17 @@ namespace Aucma.Scada.Business
if (spaceInfo != null)
{
PrintLogInfoMessage($"匹配货道:{spaceInfo.spaceName}");
if(materialType == "1111111111")
{ // 空板只有在空白货道的时候占据货道,否则只入不占据货道
if (string.IsNullOrEmpty(spaceInfo.materialType))
{
spaceInfo.materialType = materialType;
}
}
else
{
spaceInfo.materialType = materialType;
}
RefreshScanMateriaCodeEvent?.Invoke(materialCode, GetMaterialName(materialType), spaceInfo.spaceName, storeCode); //刷新界面扫码信息
var result = CreateInStoreTask(spaceInfo, materialCode); //创建入库任务
if (result)
@ -174,6 +222,7 @@ namespace Aucma.Scada.Business
#endregion
//spaceInfo.onRouteAmount += 1; //通过PLC获取货道信息在库、在途数量时不需要修改在途数量
Console.WriteLine(JsonChange.Instance.ModeToJson(spaceInfo));
_spaceInfoService.UpdateSpaceInfo(spaceInfo);
}
}
@ -269,16 +318,16 @@ namespace Aucma.Scada.Business
RealTaskInfo taskInfo = _taskInfoService.GetTaskInfoByStoreCode(appConfig.shellStoreCode, appConfig.instoreTaskType);
if (taskInfo != null)
{
shellNoReadFlag = 1;
int result = taskHandle.SendShellTask_InStore(taskInfo);
if (result==1)
{
PrintLogInfoMessage($"箱壳入库任务:{taskInfo.taskCode}下发成功等待PLC执行反馈");
shellSemaphore.Wait(); //一直堵塞直到信号量释放
shellNoReadFlag = 0;
PrintLogInfoMessage($"箱壳入库任务:{taskInfo.taskCode};开始执行");
taskInfo.taskStatus = 2;
@ -296,10 +345,19 @@ namespace Aucma.Scada.Business
PrintLogInfoMessage($"箱壳入库任务:{taskInfo.taskCode}下发失败请排除PLC连接");
}
}
else
{
// PrintLogInfoMessage("未获取到需要下发的箱壳入库任务");
}
//else
//{ // 没有任务且没有noRead条件下读plc判断是否有空板
// if (shellNoReadFlag == 0)
// {
// if (taskHandle.ReadShellAnswer()==1)
// {
// Console.WriteLine("应答字1当空板处理");
// // 空板入库处理 所有空板默认箱体码1111111111111111111111
// InStore("1111111111111111111111", appConfig.shellHikRobotIp);
// }
// }
//}
}catch(Exception ex)
{
PrintLogErrorMessage("依次获取箱壳任务队列进行下发逻辑异常", ex);
@ -312,18 +370,22 @@ namespace Aucma.Scada.Business
private void PassDownLinerTask()
{
try
{
lock(string.Empty)
{
RealTaskInfo taskInfo = _taskInfoService.GetTaskInfoByStoreCode(appConfig.linerStoreCode, appConfig.instoreTaskType);
if (taskInfo != null)
{
linerNoReadFlag = 1;
int result = taskHandle.SendLinerTask_InStore(taskInfo);
if (result==1)
if (result == 1)
{
PrintLogInfoMessage($"内胆入库任务:{taskInfo.taskCode}下发成功等待PLC执行反馈");
linerSemaphore.Wait(); //一直堵塞直到信号量释放
linerNoReadFlag = 0;
PrintLogInfoMessage($"内胆入库任务:{taskInfo.taskCode};开始执行");
taskInfo.taskStatus = 2;
@ -334,16 +396,26 @@ namespace Aucma.Scada.Business
}
else if (result == 2)
{
PrintLogInfoMessage("箱壳入库任务下发失败PLC接收任务未就绪");
// PrintLogInfoMessage("内胆入库任务下发失败PLC接收任务未就绪");
}
else
{
PrintLogInfoMessage($"箱壳入库任务:{taskInfo.taskCode}下发失败请排除PLC连接");
PrintLogInfoMessage($"内胆入库任务:{taskInfo.taskCode}下发失败请排除PLC连接");
}
}
else
{
// PrintLogInfoMessage("未获取到需要下发的内胆入库任务");
//else
//{
// // 没有任务且没有noRead条件下读plc判断是否有空板
// if (linerNoReadFlag == 0)
// {
// if (taskHandle.ReadLinerAnswer() == 1)
// {
// // 空板入库处理 所有空板默认箱体码1111111111111111111111
// InStore("1111111111111111111111", appConfig.linerHikRobotIp);
// }
// }
//}
}
}catch(Exception ex)
{
@ -415,7 +487,6 @@ namespace Aucma.Scada.Business
if (spaceInfo != null)
{
// taskHandle.WritePlc(spaceInfo.storeCode, spaceInfo.spaceCode, true);
spaceInfo.materialType = taskInfo.materialType;
// spaceInfo.spaceStock = spaceInfo.spaceStock + 1;
// spaceInfo.onRouteAmount -= 1;
@ -429,7 +500,7 @@ namespace Aucma.Scada.Business
// spaceInfo.spaceStatus = item.spaceStatus;
#endregion
_spaceInfoService.UpdateSpaceInfo(spaceInfo);
// _spaceInfoService.UpdateSpaceInfo(spaceInfo);
#region 添加货道明细
BaseSpaceDetail spaceDetail = new BaseSpaceDetail();
@ -439,6 +510,8 @@ namespace Aucma.Scada.Business
spaceDetail.storeCode = spaceInfo.storeCode;
spaceDetail.spaceCode = spaceInfo.spaceCode;
spaceDetail.materialAmount = 1;
spaceDetail.createTime = DateTime.Now;
spaceDetail.detailCode = System.Guid.NewGuid().ToString("N").Substring(0, 10);
_baseSpaceDetailService.InsertSpaceDetail(spaceDetail);
#endregion
@ -505,7 +578,10 @@ namespace Aucma.Scada.Business
{
materialName = info.materialName;
}
if (materialType == "1111111111")
{
materialName = "空板";
}
return materialName;
}

@ -1,4 +1,5 @@
using Aucma.Scada.Model.domain;
using HighWayIot.Common;
using HighWayIot.Config;
using HighWayIot.Log4net;
using HighWayIot.Plc;
@ -119,15 +120,22 @@ namespace Aucma.Scada.Business
{
foreach(BaseSpaceInfo spaceInfo in spaceList)
{
BaseSpaceInfo tempSpace = new BaseSpaceInfo();
tempSpace.storeCode = spaceInfo.storeCode;
tempSpace.spaceCode = spaceInfo.spaceCode;
ReadSpaceInfoByPlc(tempSpace);
tempSpace = ReadSpaceInfoByPlc(tempSpace);
// 更新库存
if(tempSpace.spaceStock!=spaceInfo.spaceStock || tempSpace.onRouteAmount != spaceInfo.onRouteAmount)
{
if (spaceInfo.spaceCode.Contains("4"))
{
Console.WriteLine("RealUpdateSpaceInfoByPlc2 " + JsonChange.Instance.ModeToJson(spaceInfo));
}
// Console.WriteLine("RealUpdateSpaceInfoByPlc1 " + JsonChange.Instance.ModeToJson(spaceInfo));
spaceInfo.spaceStock = tempSpace.spaceStock;
spaceInfo.onRouteAmount = tempSpace.onRouteAmount;
// Console.WriteLine("RealUpdateSpaceInfoByPlc2 "+JsonChange.Instance.ModeToJson(spaceInfo));
_spaceInfoService.UpdateSpaceInfo(spaceInfo);
}
}
@ -239,6 +247,54 @@ namespace Aucma.Scada.Business
}
#endregion
/// <summary>
/// 读箱壳应答字是否为1判断空板使用
/// </summary>
/// <param name="taskInfo"></param>
/// <returns></returns>
public int ReadShellAnswer()
{
int result = 0;
try
{
IPlc _plc = _plcDictionary[appConfig.shellStoreCode];
if (_plc != null)
{
result = _plc.readInt32ByAddress(plcConfig.in_shell_answer);
}
}
catch (Exception ex)
{
logHelper.Error("读取箱壳应答字异常:"+ ex.Message.ToString());
}
return result;
}
/// <summary>
/// 读内胆应答字是否为1判断空板使用
/// </summary>
/// <param name="taskInfo"></param>
/// <returns></returns>
public int ReadLinerAnswer()
{
int result = 0;
try
{
IPlc _plc = _plcDictionary[appConfig.linerStoreCode];
if (_plc != null)
{
result = _plc.readInt32ByAddress(plcConfig.in_liner_answer);
}
}
catch (Exception ex)
{
logHelper.Error("读取内胆应答字异常:" + ex.Message.ToString());
}
return result;
}
#region 箱壳入库任务下发处理
@ -254,9 +310,11 @@ namespace Aucma.Scada.Business
if (_plc.readInt32ByAddress(plcConfig.in_shell_answer) == 1)
{
Console.WriteLine(plcConfig.in_shell_answer + " 应答字读 1");
logHelper.Info("箱壳入库应答字为1货道号:" + plcConfig.in_shell_spaceCode + ";写" + short.Parse(taskInfo.spaceCode.Substring(5, 1)));
//写入货道号
_plc.writeInt32ByAddress(plcConfig.in_shell_spaceCode, short.Parse(taskInfo.spaceCode.Substring(5, 1)));
Console.WriteLine(plcConfig.in_shell_spaceCode + " 货道号写 "+ short.Parse(taskInfo.spaceCode.Substring(5, 1)));
//写入完成后读取应答字进行复位
ReadShellAnswer_InStore(taskInfo);
//写入应答字
@ -306,9 +364,12 @@ namespace Aucma.Scada.Business
//读取PLC应答字为2时上位机清空写入的入库内容
if (_plc.readInt32ByAddress(plcConfig.in_shell_answer) == 2)
{
Console.WriteLine(plcConfig.in_shell_answer + " 应答字读 2" );
logHelper.PlcLog("箱壳入库应答字为2货道号:" + plcConfig.in_shell_spaceCode + ";复位写0");
//写入货道号
_plc.writeInt32ByAddress(plcConfig.in_shell_spaceCode, 0);
Console.WriteLine(plcConfig.in_shell_spaceCode + " 货道号写 0");
//写入应答字
// _plc.writeInt32ByAddress(plcConfig.in_foam_answer, 0);
@ -419,7 +480,6 @@ namespace Aucma.Scada.Business
//ReadLinerFinish_InStore(taskCode);
// WritePlc(taskInfo.storeCode, taskInfo.spaceCode, false);
InStoreAnswerEvent?.Invoke(appConfig.linerStoreCode, taskInfo.taskCode);
// linerTaskInfos.Add(taskInfo);
}
@ -680,6 +740,8 @@ namespace Aucma.Scada.Business
/// <param name="spaceInfo"></param>
/// <returns></returns>
public BaseSpaceInfo ReadSpaceInfoByPlc(BaseSpaceInfo spaceInfo)
{
try
{
var spaceAddress = spaceConfig.GetSpaceAddress(spaceInfo.storeCode, spaceInfo.spaceCode);
IPlc _plc = _plcDictionary[spaceInfo.storeCode];
@ -695,6 +757,13 @@ namespace Aucma.Scada.Business
return spaceInfo;
}
catch (Exception ex)
{
logHelper.Error(ex.Message.ToString());
return spaceInfo;
}
}
/// <summary>
/// 测试方法,联调时不用

@ -1,6 +1,7 @@
using Aucma.Core.Scanner;
using Aucma.Scada.HikRobot;
using HighWayIot.Config;
using HighWayIot.Log4net;
using HighWayIot.Plc;
using System;
using System.Threading;
@ -12,6 +13,7 @@ namespace Aucma.Scada.Business
{
#region 单例实现
private static readonly Lazy<MainBusiness> lazy = new Lazy<MainBusiness>(() => new MainBusiness());
private LogHelper logHelper = LogHelper.Instance;
public static MainBusiness Instance
{
@ -67,24 +69,22 @@ namespace Aucma.Scada.Business
Task.Run(() =>
{
Thread.Sleep(2000);
//MvCodeHelper1.DeviceListAcq();//获取创建设备
// MvCodeHelper1.StartGrab(); // 开启触发扫码接收数据
MvCodeHelper.Shell();
});
Task.Run(() =>
{
Thread.Sleep(2500);
//MvCodeHelper1.DeviceListAcq();//获取创建设备
// MvCodeHelper1.StartGrab(); // 开启触发扫码接收数据
Thread.Sleep(4000);
MvCodeHelper.Liner();
});
}
catch (Exception ex)
{
//MvCodeHelper.CloseAllDevice();
InitHikRobot();
logHelper.Error("InitHikRobotAndGun()开启海康扫码器和扫码枪方法异常" + ex.Message.ToString());
}
}

@ -5,6 +5,7 @@ using HighWayIot.Repository;
using HighWayIot.Repository.service;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
@ -117,6 +118,7 @@ namespace Aucma.Scada.Business
assemblyPlanBusiness.NextPassExecutePlanInfoEvent += PlanHandle;
taskHandleBusiness.OutStoreAnswerEvent += OutStoreAnswer;
taskHandleBusiness.OutStoreFinsihEvent += OutStoreFinish;
taskHandleBusiness.UpdateMesPlanCompleteEvent += UpdatePlanInfo;
StartPassDown();
}
@ -208,15 +210,25 @@ namespace Aucma.Scada.Business
/// 创建出库任务
/// </summary>
/// <param name="spaceInfo"></param>
private RealTaskInfo CreateOutStoreTask(BaseSpaceInfo spaceInfo, string planCode, string taksCode, int taskModel = 0)
private RealTaskInfo CreateOutStoreTask(BaseSpaceInfo spaceInfo, string planCode, string taksCode, int taskModel = 0,int emptyDetailFlag=0)
{
bool result = false;
try
{
//获取出库的货道明细物料信息
BaseSpaceDetail spaceDetail = GetSpaceDetailFirstOrderByCreatTime(spaceInfo);
string type = emptyDetailFlag == 1 ? "1111111111" : spaceInfo.materialType;
BaseSpaceDetail spaceDetail = GetSpaceDetailFirstOrderByCreatTime(spaceInfo,type);
if (spaceDetail != null)
{
List<BaseSpaceDetail> emptyList = GetAllFrontEmptySpaceDetail(spaceDetail);
if (emptyList!=null && emptyList.Count > 0)
{ // 判断要出的货道明细前面是否有空板,有的话先给前面所有空板递归创建任务
for(int i = 0; i < emptyList.Count; i++)
{
CreateOutStoreTask(spaceInfo, System.Guid.NewGuid().ToString("N"), System.Guid.NewGuid().ToString("N"), taskModel,1);
}
}
#region 出库任务赋值
RealTaskInfo realTaskInfo = new RealTaskInfo();
realTaskInfo.planCode = planCode;
@ -231,6 +243,7 @@ namespace Aucma.Scada.Business
realTaskInfo.planAmount = 1;
realTaskInfo.taskStatus = 1;
realTaskInfo.createTime = DateTime.Now;
realTaskInfo.detailCode = spaceDetail.detailCode;
#endregion
result = _taskInfoService.AddTaskInfo(realTaskInfo);
@ -250,7 +263,7 @@ namespace Aucma.Scada.Business
}
else
{
PrintLogInfoMessage("出库任务创建失败,货道明细为空");
PrintLogInfoMessage("出库任务创建失败,该类型货道明细为空");
}
}
catch (Exception ex)
@ -261,11 +274,40 @@ namespace Aucma.Scada.Business
}
/// <summary>
/// 根据创建时间获取第一个货道明细
/// 判断该货道要出的货物明细前面是否有空板明细,有的话返回所有空板明细
/// </summary>
/// <param name="spaceInfo"></param>
/// <returns></returns>
private List<BaseSpaceDetail> GetAllFrontEmptySpaceDetail(BaseSpaceDetail targetDetail)
{
List<BaseSpaceDetail> spaceDetails = null;
try
{
spaceDetails = _spaceDetailService.GetSpaceDetailsBySpaceCode(targetDetail.storeCode, targetDetail.spaceCode);
if (spaceDetails.Count > 0)
{
spaceDetails = spaceDetails.Where(x => x.materialType=="1111111111" && x.isFlag != 1 && x.createTime<targetDetail.createTime).ToList();
if (spaceDetails.Count > 0 )
{
spaceDetails = spaceDetails.OrderBy(x => x.createTime).ToList();
}
}
}
catch (Exception ex)
{
PrintLogErrorMessage("获取货道明细信息异常", ex);
}
return spaceDetails;
}
/// <summary>
/// 根据创建时间获取第一个该型号的货道明细
/// </summary>
/// <param name="spaceInfo"></param>
/// <returns></returns>
private BaseSpaceDetail GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo)
private BaseSpaceDetail GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo,string type)
{
BaseSpaceDetail spaceDetail = null;
try
@ -273,7 +315,7 @@ namespace Aucma.Scada.Business
List<BaseSpaceDetail> spaceDetails = _spaceDetailService.GetSpaceDetailsBySpaceCode(spaceInfo.storeCode, spaceInfo.spaceCode);
if (spaceDetails.Count > 0)
{
spaceDetails = spaceDetails.Where(x => x.isFlag != 1).ToList();
spaceDetails = spaceDetails.Where(x => x.isFlag != 1 && x.materialType==type).ToList();
if (spaceDetails.Count > 0)
{
spaceDetail = spaceDetails.OrderBy(x => x.createTime).First();
@ -382,7 +424,7 @@ namespace Aucma.Scada.Business
}
else
{
PrintLogInfoMessage("未获取到需要下发的箱壳出库任务");
// PrintLogInfoMessage("未获取到需要下发的箱壳出库任务");
}
}catch(Exception ex)
{
@ -427,7 +469,7 @@ namespace Aucma.Scada.Business
}
else
{
PrintLogInfoMessage("未获取到需要下发的内胆出库任务");
// PrintLogInfoMessage("未获取到需要下发的内胆出库任务");
}
}
catch (Exception ex)
@ -674,18 +716,26 @@ namespace Aucma.Scada.Business
#endregion
}
//更新计划信息
UpdatePlanInfo(taskInfo.planCode);
//更新计划信息-->放到箱壳内胆绑定以后再更新计划信息
// UpdatePlanInfo(taskInfo.planCode);
RefreshStoreStockEvent?.Invoke();
//更新任务状态
if (taskInfo.materialType != "1111111111")
{
taskInfo.taskStatus = 3;
_taskInfoService.UpdateTaskInfo(taskInfo);
}
else
{
_taskInfoService.DeleteTaskInfoById(taskInfo.objId);
}
_spaceDetailService.DeleteSpaceDetailByMaterialCode(taskInfo.materialCode);
_spaceDetailService.DeleteSpaceDetailByMaterialCode(taskInfo.spaceCode,taskInfo.materialCode,taskInfo.detailCode);
//刷新界面
RefreshAssemblyPlanInitEvent?.Invoke();
RefreshScanMateriaCodeEvent?.Invoke(string.Empty, string.Empty, string.Empty, taskInfo.storeCode);
}
@ -700,7 +750,7 @@ namespace Aucma.Scada.Business
/// 更新计划信息
/// </summary>
/// <param name="planCode"></param>
private void UpdatePlanInfo(string planCode)
public void UpdatePlanInfo(string planCode)
{
try
{
@ -770,10 +820,11 @@ namespace Aucma.Scada.Business
{
bool result = false;
var info = _taskInfoService.GetTaskInfosByTaskCode(taskCode);
if(info != null)
{
foreach(var taskInfo in info)
if(info != null && info.Count>0)
{
RealTaskInfo taskInfo = info[0];
//foreach(var taskInfo in info)
//{
//if(taskInfo.taskStatus == 2)
//{
// PrintLogInfoMessage("任务正在执行中不运行删除");
@ -783,7 +834,7 @@ namespace Aucma.Scada.Business
result = _taskInfoService.DeleteTaskInfoById(taskInfo.objId);
if (result)
{
var spaceDetailInfo =_spaceDetailService.GetSpaceDetailByMaterialCode(taskInfo.materialCode);
var spaceDetailInfo =_spaceDetailService.GetSpaceDetailByMaterialCode(taskInfo.spaceCode,taskInfo.materialCode,taskInfo.detailCode);
if(spaceDetailInfo != null)
{
if (!isFlag)
@ -793,11 +844,11 @@ namespace Aucma.Scada.Business
}
else
{
_spaceDetailService.DeleteSpaceDetailByMaterialCode(spaceDetailInfo.materialCode);
_spaceDetailService.DeleteSpaceDetailByMaterialCode(spaceDetailInfo.spaceCode,spaceDetailInfo.materialCode,spaceDetailInfo.detailCode);
}
}
}
// }
}
}
return result;
@ -817,7 +868,7 @@ namespace Aucma.Scada.Business
BaseSpaceInfo spaceInfo = _spaceInfoService.GetSpaceInfoBySpaceCode(storeCode, spaceCode);
if (spaceInfo.spaceStock > 0)
{
RealTaskInfo task = this.CreateOutStoreTask(spaceInfo, System.Guid.NewGuid().ToString("N"), DateTime.Now.ToString("HH:mm:ss"), 1);
RealTaskInfo task = this.CreateOutStoreTask(spaceInfo, System.Guid.NewGuid().ToString("N"), System.Guid.NewGuid().ToString("N"), 1);
if (task != null)
result = true;
}
@ -859,6 +910,7 @@ namespace Aucma.Scada.Business
{
materialName = info.materialName;
}
if (materialName == "1111111111") materialName = "空板";
return materialName;
}

@ -78,6 +78,14 @@ namespace Aucma.Scada.Business
public delegate void OutStoreFinsih(string storeCode, string taskCode);
public event OutStoreFinsih OutStoreFinsihEvent;
/// <summary>
/// 条码绑定以后更新mes计划
/// </summary>
/// <param name="storeCode"></param>
/// <param name="taskCode"></param>
public delegate void UpdateMesPlanComplete(string taskCode);
public event UpdateMesPlanComplete UpdateMesPlanCompleteEvent;
/// <summary>
/// PLC应答
/// </summary>
@ -478,9 +486,11 @@ namespace Aucma.Scada.Business
{
Console.WriteLine($"绑定箱壳:{shellTask.materialCode};内胆:{linerTask.materialCode};条码");
_codeBindingRecordServices.BindingCode(shellTask.materialCode, linerTask.materialCode);
// 更新mes完成计划数
UpdateMesPlanCompleteEvent?.Invoke(shellTask.planCode);
_taskInfoService.DeleteTaskInfoById(shellTask.objId);
_taskInfoService.DeleteTaskInfoById(linerTask.objId);
// shellTaskInfos.Remove(shellTask);
// linerTaskInfos.Remove(linerTask);
}

@ -16,16 +16,34 @@ namespace Aucma.Core.Scanner
{
private static AppConfig appConfig = AppConfig.Instance;
public static bool m_bGrabbing = true;
private static string lastCode;
private static string SheellLastCode;
private static string LinerLastCode;
// 内胆扫码器ip
private static string LinerScannerIp = appConfig.linerHikRobotIp;
// 箱壳扫码器ip
private static string ShellScannerIp = appConfig.shellHikRobotIp;
#region 全局变量定义
public static DateTime ShellLiveTime = DateTime.Now;
public static DateTime LinerLiveTime = DateTime.Now;
#endregion
#region 委托事件
/// <summary>
/// 刷新扫码器状态
/// </summary>
/// <param name="materialCodeStr"></param>
/// <param name="ip"></param>
public delegate void RefreshState(string ip, bool flag);
public static event RefreshState RefreshStateEvent;
public delegate void RefreshMaterialCodeStr(string materialCodeStr, string ip);
public static event RefreshMaterialCodeStr RefreshMaterialCodeStrEvent;
//NoRead事件通知
public delegate void MessageNoRead(string storeCode);
public static event MessageNoRead MessageNoReadEvent;
/// <summary>
/// 日志信息刷新
/// </summary>
@ -43,7 +61,11 @@ namespace Aucma.Core.Scanner
// Console.WriteLine("CodeNum[" + Convert.ToString(stBcrResult.nCodeNum) + "]");
if(stBcrResult.nCodeNum==0)
{
Console.WriteLine("No Read 处理");
//更新扫码器存活时间
ShellLiveTime = DateTime.Now;
Console.WriteLine("箱壳No Read 处理");
MessageNoReadEvent(appConfig.shellStoreCode);
}
for (Int32 i = 0; i < stBcrResult.nCodeNum; i++)
{
@ -56,8 +78,16 @@ namespace Aucma.Core.Scanner
else
{
string strCode = Encoding.GetEncoding("GB2312").GetString(stBcrResult.stBcrInfoEx2[i].chCode);
Console.WriteLine("Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
Console.WriteLine(DateTime.Now + ":箱壳扫码器==>Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
if (string.IsNullOrEmpty(SheellLastCode) || SheellLastCode!= strCode.Trim().TrimEnd('\0'))
{
//更新扫码器存活时间
ShellLiveTime = DateTime.Now;
RefreshMaterialCodeStrEvent?.Invoke(strCode.Trim().TrimEnd('\0'), ShellScannerIp);
SheellLastCode = strCode.Trim().TrimEnd('\0');
}
}
}
@ -80,7 +110,10 @@ namespace Aucma.Core.Scanner
// Console.WriteLine("CodeNum[" + Convert.ToString(stBcrResult.nCodeNum) + "]");
if (stBcrResult.nCodeNum == 0)
{
Console.WriteLine("No Read 处理");
// 更新存活时间
LinerLiveTime = DateTime.Now;
Console.WriteLine("内胆No Read 处理");
MessageNoReadEvent(appConfig.linerStoreCode);
}
for (Int32 i = 0; i < stBcrResult.nCodeNum; i++)
{
@ -93,8 +126,16 @@ namespace Aucma.Core.Scanner
else
{
string strCode = Encoding.GetEncoding("GB2312").GetString(stBcrResult.stBcrInfoEx2[i].chCode);
Console.WriteLine("Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
Console.WriteLine(DateTime.Now + ":内胆扫码器==>Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
//if (string.IsNullOrEmpty(LinerLastCode) || LinerLastCode != strCode.Trim().TrimEnd('\0'))
//{
// 更新存活时间
LinerLiveTime = DateTime.Now;
RefreshMaterialCodeStrEvent?.Invoke(strCode.Trim().TrimEnd('\0'), LinerScannerIp);
LinerLastCode = strCode.Trim().TrimEnd('\0');
//}
}
}
@ -108,10 +149,9 @@ namespace Aucma.Core.Scanner
}
}
public static void Shell()
{
ShellLiveTime = DateTime.Now;
MvCodeReader.cbOutputEx2delegate ImageCallback;
MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2 stFrameInfo = new MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2();
@ -125,17 +165,28 @@ namespace Aucma.Core.Scanner
nRet = MvCodeReader.MV_CODEREADER_EnumDevices_NET(ref stDevList, MvCodeReader.MV_CODEREADER_GIGE_DEVICE);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
RefreshStateEvent?.Invoke("内胆", false);
Thread.Sleep(1000 * 10);
Console.WriteLine("Enum device failed:{0:x8}", nRet);
break;
}
Console.WriteLine("Enum device count : " + Convert.ToString(stDevList.nDeviceNum));
if (0 == stDevList.nDeviceNum)
{
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
RefreshStateEvent?.Invoke("内胆", false);
Thread.Sleep(1000 * 10);
break;
}
MvCodeReader.MV_CODEREADER_DEVICE_INFO stDevInfo; // 通用设备信息
Int32 nDevIndex = -1;
int nDevIndex = -1;
// ch:打印设备信息 | en:Print device info
for (Int32 i = 0; i < stDevList.nDeviceNum; i++)
{
@ -155,10 +206,18 @@ namespace Aucma.Core.Scanner
{
nDevIndex = i;
Console.WriteLine("device IP :" + ipStr);
}
}
}
if (nDevIndex < 0)
{
Console.WriteLine("未找到箱壳扫码器");
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
Thread.Sleep(1000 * 30);
break;
}
if (nDevIndex < 0) return;
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(stDevList.pDeviceInfo[nDevIndex], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
// ch:创建设备 | en:Create device
@ -166,24 +225,32 @@ namespace Aucma.Core.Scanner
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Create device failed:{0:x8}", nRet);
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
break;
}
// ch:打开设备 | en:Open device
nRet = device.MV_CODEREADER_OpenDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Open device failed:{0:x8}", nRet);
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
break;
}
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", true);
// ch:注册回调函数 | en:Register image callback
ImageCallback = new MvCodeReader.cbOutputEx2delegate(ShellImageCallbackFunc);
nRet = device.MV_CODEREADER_RegisterImageCallBackEx2_NET(ImageCallback, IntPtr.Zero);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Register image callback failed!");
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
break;
}
@ -192,12 +259,31 @@ namespace Aucma.Core.Scanner
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Start grabbing failed:{0:x8}", nRet);
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
break;
}
Console.WriteLine("Press enter to exit");
Console.ReadLine();
Console.WriteLine(DateTime.Now.ToString());
while (true)
{
Thread.Sleep(1000 * 60);
DateTime dateTime = DateTime.Now;
TimeSpan timeSpan = dateTime.Subtract(ShellLiveTime);
if (timeSpan.TotalMinutes >= 10)
{
Console.WriteLine("箱壳扫码器超时");
//CloseShell();
//Shell();
break;
}
}
// Console.ReadLine();
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
// ch:停止抓图 | en:Stop grabbing
nRet = device.MV_CODEREADER_StopGrabbing_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
@ -222,16 +308,17 @@ namespace Aucma.Core.Scanner
break;
}
} while (false);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
// ch:销毁设备 | en:Destroy device
nRet = device.MV_CODEREADER_DestroyHandle_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
}
}
Thread.Sleep (1000);
Shell();
//if (MvCodeReader.MV_CODEREADER_OK != nRet)
//{
// // ch:销毁设备 | en:Destroy device
// nRet = device.MV_CODEREADER_DestroyHandle_NET();
// if (MvCodeReader.MV_CODEREADER_OK != nRet)
// {
// Console.WriteLine("Destroy device failed:{0:x8}", nRet);
// }
//}
}
@ -239,7 +326,7 @@ namespace Aucma.Core.Scanner
public static void Liner()
{
LinerLiveTime = DateTime.Now;
MvCodeReader.cbOutputEx2delegate ImageCallback;
MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2 stFrameInfo = new MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2();
@ -253,12 +340,22 @@ namespace Aucma.Core.Scanner
nRet = MvCodeReader.MV_CODEREADER_EnumDevices_NET(ref stDevList, MvCodeReader.MV_CODEREADER_GIGE_DEVICE);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
RefreshStateEvent?.Invoke("内胆", false);
Thread.Sleep(1000 * 10);
Console.WriteLine("Enum device failed:{0:x8}", nRet);
break;
}
Console.WriteLine("Enum device count : " + Convert.ToString(stDevList.nDeviceNum));
if (0 == stDevList.nDeviceNum)
{
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
RefreshStateEvent?.Invoke("内胆", false);
Thread.Sleep(1000 * 10);
break;
}
@ -286,7 +383,15 @@ namespace Aucma.Core.Scanner
}
}
}
if (nDevIndex < 0) return;
if (nDevIndex < 0)
{
Console.WriteLine("未找到内胆扫码器");
// 刷新扫码器状态
RefreshStateEvent?.Invoke("内胆", false);
Thread.Sleep(1000 * 30);
break;
}
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(stDevList.pDeviceInfo[nDevIndex], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
// ch:创建设备 | en:Create device
@ -302,9 +407,12 @@ namespace Aucma.Core.Scanner
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Open device failed:{0:x8}", nRet);
// 刷新扫码器状态
RefreshStateEvent?.Invoke("箱壳", false);
break;
}
// 刷新扫码器状态
RefreshStateEvent?.Invoke("内胆", true);
// ch:注册回调函数 | en:Register image callback
ImageCallback = new MvCodeReader.cbOutputEx2delegate(LinerImageCallbackFunc);
@ -324,7 +432,22 @@ namespace Aucma.Core.Scanner
}
Console.WriteLine("Press enter to exit");
Console.ReadLine();
Console.WriteLine(DateTime.Now.ToString());
while (true)
{
Thread.Sleep(1000 * 60);
DateTime dateTime = DateTime.Now;
TimeSpan timeSpan = dateTime.Subtract(LinerLiveTime);
if (timeSpan.TotalMinutes >= 10)
{
Console.WriteLine("内胆扫码器超时");
//CloseShell();
//Shell();
break;
}
}
//Console.ReadLine();
// ch:停止抓图 | en:Stop grabbing
nRet = device.MV_CODEREADER_StopGrabbing_NET();
@ -349,6 +472,7 @@ namespace Aucma.Core.Scanner
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
break;
}
} while (false);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
@ -360,6 +484,8 @@ namespace Aucma.Core.Scanner
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
}
}
Thread.Sleep(1000);
Liner();
}

@ -16,10 +16,25 @@ namespace Aucma.Core.Scanner
{
private static AppConfig appConfig = AppConfig.Instance;
public static bool m_bGrabbing = true;
private static string lastCode;
private static string SheellLastCode;
private static string LinerLastCode;
// 内胆扫码器ip
private static string LinerScannerIp = appConfig.linerHikRobotIp;
// 箱壳扫码器ip
private static string ShellScannerIp = appConfig.shellHikRobotIp;
#region 全局变量定义
public static DateTime ShellLiveTime = DateTime.Now;
public static DateTime LinerLiveTime = DateTime.Now;
#endregion
#region 委托事件
public delegate void RefreshMaterialCodeStr(string materialCodeStr, string ip);
public static event RefreshMaterialCodeStr RefreshMaterialCodeStrEvent;
//NoRead事件通知
public delegate void MessageNoRead(string storeCode);
public static event MessageNoRead MessageNoReadEvent;
/// <summary>
/// 日志信息刷新
/// </summary>
@ -28,264 +43,357 @@ namespace Aucma.Core.Scanner
public static event RefreshLogMessage RefreshLogMessageEvent;
#endregion
// 获取到的所有设备
public static MvCodeReader.MV_CODEREADER_DEVICE_INFO_LIST m_stDeviceList = new MvCodeReader.MV_CODEREADER_DEVICE_INFO_LIST();
public static void ShellImageCallbackFunc(IntPtr pData, IntPtr pstFrameInfoEx2, IntPtr pUser)
{
var stFrameInfo = (MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2)Marshal.PtrToStructure(pstFrameInfoEx2, typeof(MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2));
// (成功创建)连接上的设备和其ip(string)集合
public static Dictionary<string, MvCodeReader> m_cMyDevices = new Dictionary<string, MvCodeReader>();
MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2 stBcrResult = (MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2)Marshal.PtrToStructure(stFrameInfo.UnparsedBcrList.pstCodeListEx2, typeof(MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2));
#region 设备连接状态
/// <summary>
/// 获取不到任务设备即连接失败
/// </summary>
/// <returns></returns>
public static bool ConnectionStatus(string ip)
// Console.WriteLine("CodeNum[" + Convert.ToString(stBcrResult.nCodeNum) + "]");
if (stBcrResult.nCodeNum == 0)
{
// 遍历所有已打开相机
foreach (var hashmap in m_cMyDevices)
//更新扫码器存活时间
ShellLiveTime = DateTime.Now;
Console.WriteLine("No Read 处理");
MessageNoReadEvent(appConfig.shellStoreCode);
}
for (Int32 i = 0; i < stBcrResult.nCodeNum; i++)
{
if (ip.Equals(hashmap.Key))
bool bIsValidUTF8 = IsTextUTF8(stBcrResult.stBcrInfoEx2[i].chCode);
if (bIsValidUTF8)
{
return true;
}
}
//// 没有连接上,重新获取并创建设备
//Task.Run(() =>
//{
// DeviceListAcq();
//});
return false;
string strCode = Encoding.UTF8.GetString(stBcrResult.stBcrInfoEx2[i].chCode);
Console.WriteLine("Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
}
#endregion
#region 获取并创建设备列表
/// <summary>
/// 获取并创建设备列表
/// </summary>
public static void DeviceListAcq()
{
try
else
{
RefreshLogMessageEvent?.Invoke("获取扫码器设备列表,进入DeviceListAcq()方法");
// 内胆扫码器ip
string LinerScannerIp = appConfig.linerHikRobotIp;
// 箱壳扫码器ip
string ShellScannerIp = appConfig.shellHikRobotIp;
string strCode = Encoding.GetEncoding("GB2312").GetString(stBcrResult.stBcrInfoEx2[i].chCode);
Console.WriteLine(DateTime.Now + ":箱壳扫码器==>Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
System.GC.Collect();
m_stDeviceList.nDeviceNum = 0;
// 获取设备列表
int nRet = MvCodeReader.MV_CODEREADER_EnumDevices_NET(ref m_stDeviceList, MvCodeReader.MV_CODEREADER_GIGE_DEVICE);
if (0 != nRet)
if (string.IsNullOrEmpty(SheellLastCode) || SheellLastCode != strCode.Trim().TrimEnd('\0'))
{
RefreshLogMessageEvent?.Invoke("获取扫码器列表失败,扫码器错误码:" + nRet);
return;
//更新扫码器存活时间
ShellLiveTime = DateTime.Now;
RefreshMaterialCodeStrEvent?.Invoke(strCode.Trim().TrimEnd('\0'), ShellScannerIp);
SheellLastCode = strCode.Trim().TrimEnd('\0');
}
if (0 == m_stDeviceList.nDeviceNum)
{
RefreshLogMessageEvent?.Invoke("获取扫码器数量为0请检查扫码器连接:");
return;
}
}
MvCodeReader m_cMyDevice = new MvCodeReader();
MvCodeReader.MV_CODEREADER_OCR_INFO_LIST stOcrInfo = (MvCodeReader.MV_CODEREADER_OCR_INFO_LIST)Marshal.PtrToStructure(stFrameInfo.UnparsedOcrList.pstOcrList, typeof(MvCodeReader.MV_CODEREADER_OCR_INFO_LIST));
//创建所有设备
for (int i = 0; i < m_stDeviceList.nDeviceNum; i++)
for (int i = 0; i < stOcrInfo.nOCRAllNum; i++)
{
MvCodeReader.MV_CODEREADER_DEVICE_INFO stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(m_stDeviceList.pDeviceInfo[i], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
if (stDevInfo.nTLayerType == MvCodeReader.MV_CODEREADER_GIGE_DEVICE)
string strOcrCharCode = Encoding.UTF8.GetString(stOcrInfo.stOcrRowInfo[i].chOcr);
Console.WriteLine("Get OcrInfo:" + "ocrNum[" + i.ToString() + "], ocrLen[" + Convert.ToString(stOcrInfo.stOcrRowInfo[i].nOcrLen) + "], ocrChar[" + strOcrCharCode.Trim().TrimEnd('\0') + "]");
}
}
public static void LinerImageCallbackFunc(IntPtr pData, IntPtr pstFrameInfoEx2, IntPtr pUser)
{
IntPtr buffer = Marshal.UnsafeAddrOfPinnedArrayElement(stDevInfo.SpecialInfo.stGigEInfo, 0);
MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO stGigEDeviceInfo = (MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO)Marshal.PtrToStructure(buffer, typeof(MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO));
var stFrameInfo = (MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2)Marshal.PtrToStructure(pstFrameInfoEx2, typeof(MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2));
// 获取ip
string ip = ((stGigEDeviceInfo.nCurrentIp & 0xff000000) >> 24) + "." + ((stGigEDeviceInfo.nCurrentIp & 0x00ff0000) >> 16) + "." + ((stGigEDeviceInfo.nCurrentIp & 0x0000ff00) >> 8) + "." + (stGigEDeviceInfo.nCurrentIp & 0x000000ff);
// 只连接配置的扫码器
if (!ip.Equals(LinerScannerIp) && !ip.Equals(ShellScannerIp)) continue;
MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2 stBcrResult = (MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2)Marshal.PtrToStructure(stFrameInfo.UnparsedBcrList.pstCodeListEx2, typeof(MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2));
Console.Write("扫码器设备[" + i + "],ip:" + ip);
// 创建第i个设备
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(m_stDeviceList.pDeviceInfo[i], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
nRet = m_cMyDevice.MV_CODEREADER_CreateHandle_NET(ref stDevInfo);//创建设备
if (MvCodeReader.MV_CODEREADER_OK != nRet)
// Console.WriteLine("CodeNum[" + Convert.ToString(stBcrResult.nCodeNum) + "]");
if (stBcrResult.nCodeNum == 0)
{
Console.WriteLine("创建第" + i + "个扫码器设备失败,ip:" + ip);
return;
// 更新存活时间
LinerLiveTime = DateTime.Now;
Console.WriteLine("No Read 处理");
MessageNoReadEvent(appConfig.linerStoreCode);
}
// 打开设备
nRet = m_cMyDevice.MV_CODEREADER_OpenDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
for (Int32 i = 0; i < stBcrResult.nCodeNum; i++)
{
m_cMyDevice.MV_CODEREADER_DestroyHandle_NET();
Console.WriteLine("Device open fail!");
return;
bool bIsValidUTF8 = IsTextUTF8(stBcrResult.stBcrInfoEx2[i].chCode);
if (bIsValidUTF8)
{
string strCode = Encoding.UTF8.GetString(stBcrResult.stBcrInfoEx2[i].chCode);
Console.WriteLine("Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
}
RefreshLogMessageEvent?.Invoke("创建并打开第" + i + "个扫码器设备成功,ip:" + ip);
//设置触发模式
//nRet = m_cMyDevice.MV_CODEREADER_SetEnumValue_NET("TriggerMode", (uint)MvCodeReader.MV_CODEREADER_TRIGGER_MODE.MV_CODEREADER_TRIGGER_MODE_ON);
//if (MvCodeReader.MV_CODEREADER_OK != nRet)
//{
// Console.WriteLine("设置触发模式失败");
// return;
//}
//添加到集合
m_cMyDevices.Add(ip, m_cMyDevice);
else
{
string strCode = Encoding.GetEncoding("GB2312").GetString(stBcrResult.stBcrInfoEx2[i].chCode);
Console.WriteLine(DateTime.Now + ":内胆扫码器==>Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
if (string.IsNullOrEmpty(LinerLastCode) || LinerLastCode != strCode.Trim().TrimEnd('\0'))
{
// 更新存活时间
LinerLiveTime = DateTime.Now;
RefreshMaterialCodeStrEvent?.Invoke(strCode.Trim().TrimEnd('\0'), LinerScannerIp);
LinerLastCode = strCode.Trim().TrimEnd('\0');
}
}
}
catch (Exception ex)
MvCodeReader.MV_CODEREADER_OCR_INFO_LIST stOcrInfo = (MvCodeReader.MV_CODEREADER_OCR_INFO_LIST)Marshal.PtrToStructure(stFrameInfo.UnparsedOcrList.pstOcrList, typeof(MvCodeReader.MV_CODEREADER_OCR_INFO_LIST));
Console.WriteLine("ocrAllNum[" + Convert.ToString(stOcrInfo.nOCRAllNum) + "]");
for (int i = 0; i < stOcrInfo.nOCRAllNum; i++)
{
Console.WriteLine("获取和创建设备异常:" + ex);
string strOcrCharCode = Encoding.UTF8.GetString(stOcrInfo.stOcrRowInfo[i].chOcr);
Console.WriteLine("Get OcrInfo:" + "ocrNum[" + i.ToString() + "], ocrLen[" + Convert.ToString(stOcrInfo.stOcrRowInfo[i].nOcrLen) + "], ocrChar[" + strOcrCharCode.Trim().TrimEnd('\0') + "]");
}
}
#endregion
#region 光电触发扫码器接收条码处理业务
public static void StartGrab()
{
try
public static void Shell()
{
MvCodeReader.cbOutputEx2delegate ImageCallback;
MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2 stFrameInfo = new MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2();
MvCodeReader device = new MvCodeReader();
int nRet = MvCodeReader.MV_CODEREADER_OK;
// 3.开启抓图
int nCount = 0;
IntPtr pData = IntPtr.Zero;
MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2 stFrameInfoEx2 = new MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2();
IntPtr pstFrameInfoEx2 = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2)));
Marshal.StructureToPtr(stFrameInfoEx2, pstFrameInfoEx2, false);
foreach (var hashmap in m_cMyDevices)
do
{
Task.Run(() =>
// ch:枚举设备 | en:Enum device
MvCodeReader.MV_CODEREADER_DEVICE_INFO_LIST stDevList = new MvCodeReader.MV_CODEREADER_DEVICE_INFO_LIST();
nRet = MvCodeReader.MV_CODEREADER_EnumDevices_NET(ref stDevList, MvCodeReader.MV_CODEREADER_GIGE_DEVICE);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
nRet = hashmap.Value.MV_CODEREADER_StartGrabbing_NET();
while (m_bGrabbing)
Console.WriteLine("Enum device failed:{0:x8}", nRet);
break;
}
Console.WriteLine("Enum device count : " + Convert.ToString(stDevList.nDeviceNum));
if (0 == stDevList.nDeviceNum)
{
// 光电触发了有图像
nRet = hashmap.Value.MV_CODEREADER_GetOneFrameTimeoutEx2_NET(ref pData, pstFrameInfoEx2, 1000);
// ch:获取一帧图像 | en:Get one image
if (MvCodeReader.MV_CODEREADER_OK == nRet)
break;
}
MvCodeReader.MV_CODEREADER_DEVICE_INFO stDevInfo; // 通用设备信息
Int32 nDevIndex = -1;
// ch:打印设备信息 | en:Print device info
for (Int32 i = 0; i < stDevList.nDeviceNum; i++)
{
stFrameInfoEx2 = (MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2)Marshal.PtrToStructure(pstFrameInfoEx2, typeof(MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2));
// 分配条码内存空间
MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2 stBcrResult = (MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2)Marshal.PtrToStructure(stFrameInfoEx2.UnparsedBcrList.pstCodeListEx2, typeof(MvCodeReader.MV_CODEREADER_RESULT_BCR_EX2));
for (int i = 0; i < stBcrResult.nCodeNum; ++i)
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(stDevList.pDeviceInfo[i], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
if (MvCodeReader.MV_CODEREADER_GIGE_DEVICE == stDevInfo.nTLayerType)
{
bool bIsValidUTF8 = IsTextUTF8(stBcrResult.stBcrInfoEx2[i].chCode);
if (bIsValidUTF8)
MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO stGigEDeviceInfo = (MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO)MvCodeReader.ByteToStruct(stDevInfo.SpecialInfo.stGigEInfo, typeof(MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO));
uint nIp1 = ((stGigEDeviceInfo.nCurrentIp & 0xff000000) >> 24);
uint nIp2 = ((stGigEDeviceInfo.nCurrentIp & 0x00ff0000) >> 16);
uint nIp3 = ((stGigEDeviceInfo.nCurrentIp & 0x0000ff00) >> 8);
uint nIp4 = (stGigEDeviceInfo.nCurrentIp & 0x000000ff);
// Console.WriteLine("\n" + i.ToString() + ": [GigE] User Define Name : " + stGigEDeviceInfo.chUserDefinedName);
// Console.WriteLine("device IP :" + nIp1 + "." + nIp2 + "." + nIp3 + "." + nIp4);
string ipStr = nIp1 + "." + nIp2 + "." + nIp3 + "." + nIp4;
if (ipStr == ShellScannerIp)
{
// string strCode = System.Text.Encoding.Default.GetString(stBcrResult.stBcrInfoEx2[i].chCode);
string strCode = Encoding.UTF8.GetString(stBcrResult.stBcrInfoEx2[i].chCode);
// logHelper.Info("bIsValidUTF8:: Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode.Trim().TrimEnd('\0') + "]");
nDevIndex = i;
Console.WriteLine("device IP :" + ipStr);
}
else
{
byte[] buffer = new byte[22];
if (stBcrResult.stBcrInfoEx2[i].chCode.Length > 0)
}
}
if (nDevIndex < 0) return;
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(stDevList.pDeviceInfo[nDevIndex], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
// ch:创建设备 | en:Create device
nRet = device.MV_CODEREADER_CreateHandle_NET(ref stDevInfo);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Array.Copy(stBcrResult.stBcrInfoEx2[i].chCode, buffer, 22);
Console.WriteLine("Create device failed:{0:x8}", nRet);
break;
}
string strCode = Encoding.GetEncoding("UTF-8").GetString(buffer).Trim().TrimEnd('\0');
RefreshLogMessageEvent?.Invoke("相机ip:" + hashmap.Key + " Get CodeNum: " + "CodeNum[" + i.ToString() + "], CodeString[" + strCode + "]");
if (!string.IsNullOrEmpty(strCode) && lastCode != strCode)
// ch:打开设备 | en:Open device
nRet = device.MV_CODEREADER_OpenDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Open device failed:{0:x8}", nRet);
break;
}
RefreshMaterialCodeStrEvent?.Invoke(strCode, hashmap.Key);
lastCode = strCode;
// ch:注册回调函数 | en:Register image callback
ImageCallback = new MvCodeReader.cbOutputEx2delegate(ShellImageCallbackFunc);
nRet = device.MV_CODEREADER_RegisterImageCallBackEx2_NET(ImageCallback, IntPtr.Zero);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Register image callback failed!");
break;
}
// ch:开启抓图 || en: start grab image
nRet = device.MV_CODEREADER_StartGrabbing_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Start grabbing failed:{0:x8}", nRet);
break;
}
}
}
Thread.Sleep(500);
Console.WriteLine("Press enter to exit");
Console.ReadLine();
// ch:停止抓图 | en:Stop grabbing
nRet = device.MV_CODEREADER_StopGrabbing_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Stop grabbing failed{0:x8}", nRet);
break;
}
});
// ch:关闭设备 | en:Close device
nRet = device.MV_CODEREADER_CloseDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Close device failed{0:x8}", nRet);
break;
}
// ch:销毁设备 | en:Destroy device
nRet = device.MV_CODEREADER_DestroyHandle_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
break;
}
catch (Exception ex)
} while (false);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
// ch:销毁设备 | en:Destroy device
nRet = device.MV_CODEREADER_DestroyHandle_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("扫码异常:" + ex);
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
}
}
#endregion
}
#region 关闭所有设备
public static void CloseAllDevice()
{
try
public static void Liner()
{
Console.WriteLine("开始关闭所有设备");
MvCodeReader.cbOutputEx2delegate ImageCallback;
MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2 stFrameInfo = new MvCodeReader.MV_CODEREADER_IMAGE_OUT_INFO_EX2();
MvCodeReader device = new MvCodeReader();
int nRet = MvCodeReader.MV_CODEREADER_OK;
// 关闭所有已打开相机
foreach (var hashmap in m_cMyDevices)
do
{
// ch:停止抓图 | en:Stop grab image
nRet = hashmap.Value.MV_CODEREADER_StopGrabbing_NET();
// ch:枚举设备 | en:Enum device
MvCodeReader.MV_CODEREADER_DEVICE_INFO_LIST stDevList = new MvCodeReader.MV_CODEREADER_DEVICE_INFO_LIST();
nRet = MvCodeReader.MV_CODEREADER_EnumDevices_NET(ref stDevList, MvCodeReader.MV_CODEREADER_GIGE_DEVICE);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("设备ip:" + hashmap.Value + "停止抓图失败");
Console.WriteLine("Stop grabbing failed{0:x8}", nRet);
Console.WriteLine("Enum device failed:{0:x8}", nRet);
break;
}
// ch:关闭设备 | en:Close device
nRet = hashmap.Value.MV_CODEREADER_CloseDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
Console.WriteLine("Enum device count : " + Convert.ToString(stDevList.nDeviceNum));
if (0 == stDevList.nDeviceNum)
{
Console.WriteLine("设备ip:" + hashmap.Value + "关闭失败");
break;
}
// ch:销毁设备 | en:Destroy device
nRet = hashmap.Value.MV_CODEREADER_DestroyHandle_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
MvCodeReader.MV_CODEREADER_DEVICE_INFO stDevInfo; // 通用设备信息
Int32 nDevIndex = -1;
// ch:打印设备信息 | en:Print device info
for (Int32 i = 0; i < stDevList.nDeviceNum; i++)
{
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(stDevList.pDeviceInfo[i], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
if (MvCodeReader.MV_CODEREADER_GIGE_DEVICE == stDevInfo.nTLayerType)
{
Console.WriteLine("设备ip:" + hashmap.Value + "销毁失败");
MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO stGigEDeviceInfo = (MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO)MvCodeReader.ByteToStruct(stDevInfo.SpecialInfo.stGigEInfo, typeof(MvCodeReader.MV_CODEREADER_GIGE_DEVICE_INFO));
uint nIp1 = ((stGigEDeviceInfo.nCurrentIp & 0xff000000) >> 24);
uint nIp2 = ((stGigEDeviceInfo.nCurrentIp & 0x00ff0000) >> 16);
uint nIp3 = ((stGigEDeviceInfo.nCurrentIp & 0x0000ff00) >> 8);
uint nIp4 = (stGigEDeviceInfo.nCurrentIp & 0x000000ff);
// Console.WriteLine("\n" + i.ToString() + ": [GigE] User Define Name : " + stGigEDeviceInfo.chUserDefinedName);
string ip = ((stGigEDeviceInfo.nCurrentIp & 0xff000000) >> 24) + "." + ((stGigEDeviceInfo.nCurrentIp & 0x00ff0000) >> 16) + "." + ((stGigEDeviceInfo.nCurrentIp & 0x0000ff00) >> 8) + "." + (stGigEDeviceInfo.nCurrentIp & 0x000000ff);
string ipStr = nIp1 + "." + nIp2 + "." + nIp3 + "." + nIp4;
if (ipStr == LinerScannerIp)
{
Console.WriteLine("device IP :" + ipStr);
nDevIndex = i;
}
Console.WriteLine("设备ip:" + hashmap.Value + "关闭成功!");
}
}
catch (Exception ex)
if (nDevIndex < 0) return;
stDevInfo = (MvCodeReader.MV_CODEREADER_DEVICE_INFO)Marshal.PtrToStructure(stDevList.pDeviceInfo[nDevIndex], typeof(MvCodeReader.MV_CODEREADER_DEVICE_INFO));
// ch:创建设备 | en:Create device
nRet = device.MV_CODEREADER_CreateHandle_NET(ref stDevInfo);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("设备关闭异常:" + ex);
Console.WriteLine("Create device failed:{0:x8}", nRet);
break;
}
// ch:打开设备 | en:Open device
nRet = device.MV_CODEREADER_OpenDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Open device failed:{0:x8}", nRet);
break;
}
#endregion
#region 关闭指定设备
public void CloseDevice(KeyValuePair<MvCodeReader, string> hashmap)
// ch:注册回调函数 | en:Register image callback
ImageCallback = new MvCodeReader.cbOutputEx2delegate(LinerImageCallbackFunc);
nRet = device.MV_CODEREADER_RegisterImageCallBackEx2_NET(ImageCallback, IntPtr.Zero);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
try
Console.WriteLine("Register image callback failed!");
break;
}
// ch:开启抓图 || en: start grab image
nRet = device.MV_CODEREADER_StartGrabbing_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
int nRet = MvCodeReader.MV_CODEREADER_OK;
// ch:停止抓图 | en:Stop grab image
nRet = hashmap.Key.MV_CODEREADER_StopGrabbing_NET();
Console.WriteLine("Start grabbing failed:{0:x8}", nRet);
break;
}
Console.WriteLine("Press enter to exit");
Console.ReadLine();
// ch:停止抓图 | en:Stop grabbing
nRet = device.MV_CODEREADER_StopGrabbing_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("设备ip:" + hashmap.Value + "停止抓图失败");
Console.WriteLine("Stop grabbing failed{0:x8}", nRet);
return;
break;
}
// ch:关闭设备 | en:Close device
nRet = hashmap.Key.MV_CODEREADER_CloseDevice_NET();
nRet = device.MV_CODEREADER_CloseDevice_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("设备ip:" + hashmap.Value + "关闭失败");
return;
Console.WriteLine("Close device failed{0:x8}", nRet);
break;
}
// ch:销毁设备 | en:Destroy device
nRet = device.MV_CODEREADER_DestroyHandle_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
break;
}
catch (Exception ex)
} while (false);
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("设备关闭异常:" + ex);
// ch:销毁设备 | en:Destroy device
nRet = device.MV_CODEREADER_DestroyHandle_NET();
if (MvCodeReader.MV_CODEREADER_OK != nRet)
{
Console.WriteLine("Destroy device failed:{0:x8}", nRet);
}
}
#endregion
}
#region 判断字符编码
/// <summary>
@ -360,28 +468,6 @@ namespace Aucma.Core.Scanner
#endregion
#region 将Byte转换为结构体类型
//将Byte转换为结构体类型
public static object ByteToStruct(byte[] bytes, Type type)
{
int size = Marshal.SizeOf(type);
if (size > bytes.Length)
{
return null;
}
//分配结构体内存空间
IntPtr structPtr = Marshal.AllocHGlobal(size);
//将byte数组拷贝到分配好的内存空间
Marshal.Copy(bytes, 0, structPtr, size);
//将内存空间转换为目标结构体
object obj = Marshal.PtrToStructure(structPtr, type);
//释放内存空间
Marshal.FreeHGlobal(structPtr);
return obj;
}
#endregion
}
}

@ -62,5 +62,11 @@ namespace Aucma.Scada.Model.domain
/// </summary>
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? createTime { get; set; }
/// <summary>
/// 空板编码,空板条形码都一样,用此编码区分空板
/// </summary>
[SugarColumn(ColumnName = "DETAIL_CODE")]
public string detailCode { get; set; }
}
}

@ -107,5 +107,11 @@ namespace Aucma.Scada.Model.domain
/// </summary>
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? createTime { get; set; }
/// <summary>
/// 空板编码,空板条形码都一样,用此编码区分空板
/// </summary>
[SugarColumn(ColumnName = "DETAIL_CODE")]
public string detailCode { get; set; }
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,457 @@
<-------------->
日志时间2024-03-01 13:46:52,498 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:46:54,541 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:46:58,148 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:46:58,531 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的执行计划信息[{"objId":583,"executePlanCode":"fcd131dab8a94017b04a2b804e3a87dd","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709187489000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":3,"createdTime":"\/Date(1709187484000)\/"},{"objId":586,"executePlanCode":"8d08eb9cfbde462f9de8c547607333fb","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":1,"beginTime":"\/Date(1709188628000)\/","endTime":null,"isFlag":0,"executeOrder":3,"executeStatus":3,"createdTime":"\/Date(1709188623000)\/"},{"objId":582,"executePlanCode":"dc0a98d18e2a4d4b913b70122717d91c","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186992000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":3,"createdTime":"\/Date(1709186987000)\/"},{"objId":581,"executePlanCode":"6bdcb3c0fe2c4be797c7fdc4b65940b2","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186966000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":3,"createdTime":"\/Date(1709186961000)\/"}]
<-------------->
日志时间2024-03-01 13:48:11,964 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:48:13,992 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:48:17,175 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:48:17,548 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的执行计划信息[{"objId":583,"executePlanCode":"fcd131dab8a94017b04a2b804e3a87dd","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709187489000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":3,"createdTime":"\/Date(1709187484000)\/"},{"objId":586,"executePlanCode":"8d08eb9cfbde462f9de8c547607333fb","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":1,"beginTime":"\/Date(1709188628000)\/","endTime":null,"isFlag":0,"executeOrder":3,"executeStatus":3,"createdTime":"\/Date(1709188623000)\/"},{"objId":582,"executePlanCode":"dc0a98d18e2a4d4b913b70122717d91c","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186992000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":3,"createdTime":"\/Date(1709186987000)\/"},{"objId":581,"executePlanCode":"6bdcb3c0fe2c4be797c7fdc4b65940b2","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186966000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":3,"createdTime":"\/Date(1709186961000)\/"}]
<-------------->
日志时间2024-03-01 13:48:41,618 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:48:43,647 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:48:46,771 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:48:47,058 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的执行计划信息[{"objId":583,"executePlanCode":"fcd131dab8a94017b04a2b804e3a87dd","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709187489000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":3,"createdTime":"\/Date(1709187484000)\/"},{"objId":586,"executePlanCode":"8d08eb9cfbde462f9de8c547607333fb","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":1,"beginTime":"\/Date(1709188628000)\/","endTime":null,"isFlag":0,"executeOrder":3,"executeStatus":3,"createdTime":"\/Date(1709188623000)\/"},{"objId":582,"executePlanCode":"dc0a98d18e2a4d4b913b70122717d91c","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186992000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":3,"createdTime":"\/Date(1709186987000)\/"},{"objId":581,"executePlanCode":"6bdcb3c0fe2c4be797c7fdc4b65940b2","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186966000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":3,"createdTime":"\/Date(1709186961000)\/"}]
<-------------->
日志时间2024-03-01 13:51:14,004 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:51:16,027 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-01 13:51:19,511 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:20,208 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的执行计划信息[{"objId":583,"executePlanCode":"fcd131dab8a94017b04a2b804e3a87dd","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709187489000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":3,"createdTime":"\/Date(1709187484000)\/"},{"objId":586,"executePlanCode":"8d08eb9cfbde462f9de8c547607333fb","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":1,"beginTime":"\/Date(1709188628000)\/","endTime":null,"isFlag":0,"executeOrder":3,"executeStatus":3,"createdTime":"\/Date(1709188623000)\/"},{"objId":582,"executePlanCode":"dc0a98d18e2a4d4b913b70122717d91c","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186992000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":3,"createdTime":"\/Date(1709186987000)\/"},{"objId":581,"executePlanCode":"6bdcb3c0fe2c4be797c7fdc4b65940b2","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186966000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":3,"createdTime":"\/Date(1709186961000)\/"}]
<-------------->
日志时间2024-03-01 13:51:21,547 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:23,562 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:25,604 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:27,622 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:29,643 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:31,659 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:33,685 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:35,706 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:37,729 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:39,071 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的计划信息[{"objId":101,"planCode":"2401109907","orderCode":"11239723","saleOrderCode":null,"saleOrderLineNumber":null,"materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":500,"completeAmount":7,"beginTime":null,"endTime":null,"isFlag":0},{"objId":100,"planCode":"2401109901","orderCode":"11239729","saleOrderCode":null,"saleOrderLineNumber":null,"materialCode":"8302501263","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,炫金色,炫金色,1156*570,…","productLineCode":"1002","planAmount":500,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":8093,"planCode":"2402290017","orderCode":"11256191","saleOrderCode":null,"saleOrderLineNumber":null,"materialCode":"8302502535","materialName":"?发泡箱体,BC/BD-100HT,预涂钢板,标准白,标准白,525*525,…","productLineCode":"1002","planAmount":300,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":8089,"planCode":"2402290013","orderCode":"11256192","saleOrderCode":null,"saleOrderLineNumber":null,"materialCode":"8302502535","materialName":"?发泡箱体,BC/BD-100HT,预涂钢板,标准白,标准白,525*525,…","productLineCode":"1002","planAmount":300,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":8085,"planCode":"2402290009","orderCode":"11256193","saleOrderCode":null,"saleOrderLineNumber":null,"materialCode":"8302502535","materialName":"?发泡箱体,BC/BD-100HT,预涂钢板,标准白,标准白,525*525,…","productLineCode":"1002","planAmount":300,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2024-03-01 13:51:39,756 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:41,785 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:43,802 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:45,833 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:47,911 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:49,941 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:51,978 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:54,007 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:56,068 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:51:58,097 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:00,130 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:02,195 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:04,224 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:06,254 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:08,291 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:10,328 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:12,401 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:14,438 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:16,490 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:18,520 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:20,551 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:22,581 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:24,609 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:26,638 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:28,664 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:30,693 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:32,725 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:34,780 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:36,802 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:38,828 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:40,861 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:42,893 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:44,934 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:46,963 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:48,988 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:51,022 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:53,063 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:55,084 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:57,106 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:52:59,121 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:01,144 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:03,165 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:05,192 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:07,224 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:09,257 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:11,282 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:13,310 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:15,338 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:17,369 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:19,403 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:21,444 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:23,473 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:25,494 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:27,539 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:29,569 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:31,603 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:33,627 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:35,657 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:37,722 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:39,751 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:41,781 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:43,800 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:45,820 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:47,856 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:49,886 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:51,914 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:53,939 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:55,967 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:53:57,996 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:00,025 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:02,057 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:04,107 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:06,139 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:08,167 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:10,211 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:12,272 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:14,300 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:16,328 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:18,379 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:20,409 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:22,446 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:24,478 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:26,512 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:28,543 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:30,572 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:32,601 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:34,619 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-01 13:54:35,132 [1]
日志级别INFO
日志内容:程序退出

@ -0,0 +1,65 @@
<-------------->
日志时间2024-03-01 13:46:52,516 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:46:54,540 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:46:54,541 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:46:56,543 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:48:11,975 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:48:13,991 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:48:13,992 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:48:16,009 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:48:41,626 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:48:43,645 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:48:43,647 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:48:45,650 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:51:14,011 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:51:16,026 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-01 13:51:16,027 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-01 13:51:18,032 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败

@ -0,0 +1,161 @@
<-------------->
日志时间2024-03-01 13:46:58,195 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,207 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ((( "STORE_CODE" = :storeCode0 ) OR ( "STORE_CODE" = :storeCode1 )) AND ( "SPACE_STOCK" > :spaceStock2 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":spaceStock2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":0,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,278 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":2,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,295 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND(( "TASK_TYPE" = :taskType1 ) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,312 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,538 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_MATERIALSTATS" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,566 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_HOURAMOUNT" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,626 [1]
日志级别INFO
日志内容SELECT * FROM (SELECT "OBJ_ID","BOM_CODE","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_TYPE","STANDARD_AMOUNT","PARENT_ID","PLANT_CODE","PRODUCT_LINE_CODE","IS_FLAG",ROW_NUMBER() OVER(ORDER BY sysdate ) AS RowIndex FROM "BASE_BOMINFO" WHERE ( "MATERIAL_CODE" = :materialCode0 )) T WHERE RowIndex BETWEEN 1 AND 1参数[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":materialCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1111111111","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:46:58,636 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,160 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,179 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ((( "STORE_CODE" = :storeCode0 ) OR ( "STORE_CODE" = :storeCode1 )) AND ( "SPACE_STOCK" > :spaceStock2 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":spaceStock2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":0,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,222 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":2,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,243 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND(( "TASK_TYPE" = :taskType1 ) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,257 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,555 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_MATERIALSTATS" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,577 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_HOURAMOUNT" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,639 [1]
日志级别INFO
日志内容SELECT * FROM (SELECT "OBJ_ID","BOM_CODE","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_TYPE","STANDARD_AMOUNT","PARENT_ID","PLANT_CODE","PRODUCT_LINE_CODE","IS_FLAG",ROW_NUMBER() OVER(ORDER BY sysdate ) AS RowIndex FROM "BASE_BOMINFO" WHERE ( "MATERIAL_CODE" = :materialCode0 )) T WHERE RowIndex BETWEEN 1 AND 1参数[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":materialCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1111111111","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:17,653 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:46,754 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:46,773 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ((( "STORE_CODE" = :storeCode0 ) OR ( "STORE_CODE" = :storeCode1 )) AND ( "SPACE_STOCK" > :spaceStock2 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":spaceStock2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":0,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:46,799 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":2,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:46,814 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND(( "TASK_TYPE" = :taskType1 ) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:46,827 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:47,064 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_MATERIALSTATS" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:47,076 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_HOURAMOUNT" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:47,106 [1]
日志级别INFO
日志内容SELECT * FROM (SELECT "OBJ_ID","BOM_CODE","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_TYPE","STANDARD_AMOUNT","PARENT_ID","PLANT_CODE","PRODUCT_LINE_CODE","IS_FLAG",ROW_NUMBER() OVER(ORDER BY sysdate ) AS RowIndex FROM "BASE_BOMINFO" WHERE ( "MATERIAL_CODE" = :materialCode0 )) T WHERE RowIndex BETWEEN 1 AND 1参数[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":materialCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1111111111","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:48:47,113 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:19,294 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:19,640 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ((( "STORE_CODE" = :storeCode0 ) OR ( "STORE_CODE" = :storeCode1 )) AND ( "SPACE_STOCK" > :spaceStock2 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":spaceStock2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":0,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:19,762 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":2,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:19,777 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND(( "TASK_TYPE" = :taskType1 ) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:19,808 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:20,214 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_MATERIALSTATS" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:20,252 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_HOURAMOUNT" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:20,297 [1]
日志级别INFO
日志内容SELECT * FROM (SELECT "OBJ_ID","BOM_CODE","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_TYPE","STANDARD_AMOUNT","PARENT_ID","PLANT_CODE","PRODUCT_LINE_CODE","IS_FLAG",ROW_NUMBER() OVER(ORDER BY sysdate ) AS RowIndex FROM "BASE_BOMINFO" WHERE ( "MATERIAL_CODE" = :materialCode0 )) T WHERE RowIndex BETWEEN 1 AND 1参数[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":materialCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1111111111","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:20,309 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:31,004 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:31,064 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_SUBCLASS","MATERIAL_TYPE" FROM "BASE_MATERIALINFO" WHERE (( "MATERIAL_SUBCLASS" = :MaterialSubclass0 ) OR ( "MATERIAL_SUBCLASS" = :MaterialSubclass1 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"400","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"500","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:31,151 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-01 13:51:39,060 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","PLAN_CODE","ORDER_CODE","SALEORDER_CODE","SALEORDER_LINENUMBER","MATERIAL_CODE","MATERIAL_NAME","PRODUCTLINE_CODE","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG" FROM "PRODUCT_PLANINFO" WHERE (( 1 = 1 ) AND( "PRODUCTLINE_CODE" = :productLineCode1 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":productLineCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]

File diff suppressed because it is too large Load Diff

@ -0,0 +1,193 @@
<-------------->
日志时间2024-03-02 15:09:17,420 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-02 15:09:19,454 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-02 15:09:22,991 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:23,507 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的执行计划信息[{"objId":583,"executePlanCode":"fcd131dab8a94017b04a2b804e3a87dd","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709187489000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":3,"createdTime":"\/Date(1709187484000)\/"},{"objId":586,"executePlanCode":"8d08eb9cfbde462f9de8c547607333fb","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":1,"beginTime":"\/Date(1709188628000)\/","endTime":null,"isFlag":0,"executeOrder":3,"executeStatus":3,"createdTime":"\/Date(1709188623000)\/"},{"objId":582,"executePlanCode":"dc0a98d18e2a4d4b913b70122717d91c","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186992000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":3,"createdTime":"\/Date(1709186987000)\/"},{"objId":581,"executePlanCode":"6bdcb3c0fe2c4be797c7fdc4b65940b2","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186966000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":3,"createdTime":"\/Date(1709186961000)\/"}]
<-------------->
日志时间2024-03-02 15:09:25,091 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:27,106 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:29,124 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:31,137 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:33,153 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:35,171 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:37,192 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:39,226 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:41,241 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:43,279 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:45,304 [12]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:09:45,746 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2024-03-02 15:18:20,196 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-02 15:18:22,247 [1]
日志级别INFO
日志内容HslCommunication 11.0.6.0激活成功
<-------------->
日志时间2024-03-02 15:18:25,427 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:25,754 [1]
日志级别INFO
日志内容根据产线工位编号1002获取到的执行计划信息[{"objId":583,"executePlanCode":"fcd131dab8a94017b04a2b804e3a87dd","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709187489000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":3,"createdTime":"\/Date(1709187484000)\/"},{"objId":586,"executePlanCode":"8d08eb9cfbde462f9de8c547607333fb","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":1,"beginTime":"\/Date(1709188628000)\/","endTime":null,"isFlag":0,"executeOrder":3,"executeStatus":3,"createdTime":"\/Date(1709188623000)\/"},{"objId":582,"executePlanCode":"dc0a98d18e2a4d4b913b70122717d91c","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186992000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":3,"createdTime":"\/Date(1709186987000)\/"},{"objId":581,"executePlanCode":"6bdcb3c0fe2c4be797c7fdc4b65940b2","productPlanCode":"2401109907","orderCode":"11239723","materialCode":"8302501428","materialName":"发泡箱体,BC/BD-310NF,预涂钢板,标准白,标准白,1156*570,…","productLineCode":"1002","planAmount":1,"completeAmount":2,"beginTime":"\/Date(1709186966000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":3,"createdTime":"\/Date(1709186961000)\/"}]
<-------------->
日志时间2024-03-02 15:18:27,517 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:29,538 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:31,604 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:33,618 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:35,647 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:37,711 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:39,744 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:41,777 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:43,805 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:45,833 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:47,863 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:49,914 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:51,936 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:53,989 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:56,020 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:18:58,080 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:00,110 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:02,134 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:04,155 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:06,183 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:08,213 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:10,232 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:12,250 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:14,269 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:16,288 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:18,321 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:20,343 [11]
日志级别INFO
日志内容箱壳入库任务9f5e80下发失败请排除PLC连接
<-------------->
日志时间2024-03-02 15:19:20,500 [1]
日志级别INFO
日志内容:程序退出

@ -0,0 +1,33 @@
<-------------->
日志时间2024-03-02 15:09:17,432 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-02 15:09:19,453 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-02 15:09:19,454 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-02 15:09:21,458 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-02 15:18:20,204 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-02 15:18:22,246 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败
<-------------->
日志时间2024-03-02 15:18:22,247 [1]
日志级别INFO
日志内容三菱Q系列PLC连接开始
<-------------->
日志时间2024-03-02 15:18:24,248 [1]
日志级别INFO
日志内容三菱Q系列PLC建立连接失败

@ -0,0 +1,105 @@
<-------------->
日志时间2024-03-02 15:09:23,177 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,189 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ((( "STORE_CODE" = :storeCode0 ) OR ( "STORE_CODE" = :storeCode1 )) AND ( "SPACE_STOCK" > :spaceStock2 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":spaceStock2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":0,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,233 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":2,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,243 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND(( "TASK_TYPE" = :taskType1 ) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,272 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,515 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_MATERIALSTATS" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,574 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_HOURAMOUNT" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,611 [1]
日志级别INFO
日志内容SELECT * FROM (SELECT "OBJ_ID","BOM_CODE","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_TYPE","STANDARD_AMOUNT","PARENT_ID","PLANT_CODE","PRODUCT_LINE_CODE","IS_FLAG",ROW_NUMBER() OVER(ORDER BY sysdate ) AS RowIndex FROM "BASE_BOMINFO" WHERE ( "MATERIAL_CODE" = :materialCode0 )) T WHERE RowIndex BETWEEN 1 AND 1参数[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":materialCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1111111111","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:23,621 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:30,312 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:30,347 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_SUBCLASS","MATERIAL_TYPE" FROM "BASE_MATERIALINFO" WHERE (( "MATERIAL_SUBCLASS" = :MaterialSubclass0 ) OR ( "MATERIAL_SUBCLASS" = :MaterialSubclass1 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"400","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"500","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:09:30,438 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,465 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,484 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ((( "STORE_CODE" = :storeCode0 ) OR ( "STORE_CODE" = :storeCode1 )) AND ( "SPACE_STOCK" > :spaceStock2 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":spaceStock2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":0,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,505 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND((( "TASK_TYPE" = :taskType1 ) AND ( "TASK_STATUS" <> :taskStatus2 )) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":2,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskStatus2","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":3,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,513 [1]
日志级别INFO
日志内容SELECT "OBJID","TASK_CODE","TASK_TYPE","TASK_STATUS","TASK_MODEL","PLAN_CODE","MATERIAL_CODE","MATERIAL_TYPE","SPACE_CODE","SPACE_NAME","PLAN_AMOUNT","COMPLETE_AMOUNT","BEGIN_TIME","END_TIME","IS_FLAG","STORE_CODE","CREATED_TIME","DETAIL_CODE" FROM "REAL_TASKINFO" WHERE (( 1 = 1 ) AND(( "TASK_TYPE" = :taskType1 ) AND ("STORE_CODE" IN ('XKK-001','NDK-001')) ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":11,"Direction":0,"IsNullable":false,"ParameterName":":taskType1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":1,"TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,544 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,762 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_MATERIALSTATS" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,780 [1]
日志级别INFO
日志内容SELECT * FROM "GET_STATION_HOURAMOUNT" WHERE PRODUCTLINE_CODE = :stationCode ;参数:[{"_Size":0,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":stationCode","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1002","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,806 [1]
日志级别INFO
日志内容SELECT * FROM (SELECT "OBJ_ID","BOM_CODE","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_TYPE","STANDARD_AMOUNT","PARENT_ID","PLANT_CODE","PRODUCT_LINE_CODE","IS_FLAG",ROW_NUMBER() OVER(ORDER BY sysdate ) AS RowIndex FROM "BASE_BOMINFO" WHERE ( "MATERIAL_CODE" = :materialCode0 )) T WHERE RowIndex BETWEEN 1 AND 1参数[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":materialCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"1111111111","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:25,813 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:51,850 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"XKK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:51,861 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_SUBCLASS","MATERIAL_TYPE" FROM "BASE_MATERIALINFO" WHERE (( "MATERIAL_SUBCLASS" = :MaterialSubclass0 ) OR ( "MATERIAL_SUBCLASS" = :MaterialSubclass1 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"400","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"500","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:51,973 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","SPACE_CODE","SPACE_NAME","SPACE_CAPACITY","SPACE_STOCK","SPACE_STATUS","SPACE_TYPE","MATERIAL_TYPE","STORE_CODE","IS_FLAG","ONROUTE_AMOUNT","OUTROUTE_AMOUNT","INSTORE_FLAG","OUTSTORE_FLAG","UNUSUAL_FLAG","TYPE_CODE_B","TYPE_CODE_C","TYPE_NAME_A","TYPE_NAME_B","TYPE_NAME_C" FROM "BASE_SPACEINFO" WHERE ( "STORE_CODE" = :storeCode0 );参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":storeCode0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"NDK-001","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:18:57,351 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_SUBCLASS","MATERIAL_TYPE" FROM "BASE_MATERIALINFO" WHERE (( "MATERIAL_SUBCLASS" = :MaterialSubclass0 ) OR ( "MATERIAL_SUBCLASS" = :MaterialSubclass1 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"400","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"500","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]
<-------------->
日志时间2024-03-02 15:19:12,569 [1]
日志级别INFO
日志内容SELECT "OBJ_ID","MATERIAL_CODE","MATERIAL_NAME","MATERIAL_SUBCLASS","MATERIAL_TYPE" FROM "BASE_MATERIALINFO" WHERE (( "MATERIAL_SUBCLASS" = :MaterialSubclass0 ) OR ( "MATERIAL_SUBCLASS" = :MaterialSubclass1 ));参数:[{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass0","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"400","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0},{"_Size":4000,"IsRefCursor":false,"IsClob":false,"IsNvarchar2":false,"DbType":16,"Direction":0,"IsNullable":false,"ParameterName":":MaterialSubclass1","Size":4000,"SourceColumn":null,"SourceColumnNullMapping":false,"UdtTypeName":null,"Value":"500","TempDate":null,"SourceVersion":0,"TypeName":null,"IsJson":false,"IsArray":false,"CustomDbType":null,"Precision":0,"Scale":0}]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -1,8 +1,8 @@
[plcSystem]
دل؟اPLCIP=10.10.92.22
دل؟اPLC<EFBFBD>ث؟غ=2015
ؤغ<EFBFBD><EFBFBD>PLCIP=10.10.92.6
ؤغ<EFBFBD><EFBFBD>PLC<EFBFBD>ث؟غ=2015
دل؟اPLCIP=127.0.0.1
دل؟اPLC<EFBFBD>ث؟غ=6000
ؤغ<EFBFBD><EFBFBD>PLCIP=127.0.0.1
ؤغ<EFBFBD><EFBFBD>PLC<EFBFBD>ث؟غ=6001
#眊褲⻌踱華硊
[shell_inStore_address]

@ -1,8 +1,8 @@
[plcSystem]
دل؟اPLCIP=127.0.0.1
دل؟اPLC<EFBFBD>ث؟غ=6000
ؤغ<EFBFBD><EFBFBD>PLCIP=127.0.0.1
ؤغ<EFBFBD><EFBFBD>PLC<EFBFBD>ث؟غ=6001
دل؟اPLCIP=10.10.92.22
دل؟اPLC<EFBFBD>ث؟غ=2015
ؤغ<EFBFBD><EFBFBD>PLCIP=10.10.92.6
ؤغ<EFBFBD><EFBFBD>PLC<EFBFBD>ث؟غ=2015
#眊褲⻌踱華硊
[shell_inStore_address]

@ -61,7 +61,7 @@ namespace Aucma.Scada.UI.viewModel.AssemblyPlan
var productPlanInfo = _PlanInfo;
if(productPlanInfo != null)
{ // 8302501428
{ // 8302501428 shell 8301501047 liner 8301501067
var materialType = productPlanInfo.materialCode;
bool shellResult = assemblyPlanBusiness.JudgmentStock(productPlanInfo, Convert.ToInt32(_TransmitAmount), appConfig.shellMaterialType,appConfig.shellStoreCode);

@ -256,9 +256,11 @@ namespace Aucma.Scada.UI.viewModel.InStoreInfo
//info.ForEach(x => RefreshInStoreTask(x));
try
{
info = info.Where(x => !string.IsNullOrEmpty(search) ? x.materialCode == search : 1 == 1 && !string.IsNullOrEmpty(materialTypeCombox) ? x.storeCode == materialTypeCombox : 1 == 1).ToList();
App.Current.Dispatcher.BeginInvoke((Action)(() =>
{
taskItems.Clear();
foreach (var item in info)
{
item.materialType = inStoreBusiness.GetMaterialName(item.materialType);

@ -327,10 +327,18 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (spaceCodes.Contains("XK"))
{
infos = baseMaterialInfoService.getShellAndLiner().Where(x => x.MaterialSubclass == "400" && (x.MaterialName.Contains(searchText) || x.MaterialCode.Contains(searchText))).ToList();
BaseMaterialInfo KbMaterialInfo = new BaseMaterialInfo();
KbMaterialInfo.MaterialCode = "1111111111";
KbMaterialInfo.MaterialName = "空板";
infos.Add(KbMaterialInfo);
}
else
{
infos = baseMaterialInfoService.getShellAndLiner().Where(x => x.MaterialSubclass == "500" && (x.MaterialName.Contains(searchText) || x.MaterialCode.Contains(searchText))).ToList();
BaseMaterialInfo KbMaterialInfo = new BaseMaterialInfo();
KbMaterialInfo.MaterialCode = "1111111111";
KbMaterialInfo.MaterialName = "空板";
infos.Add(KbMaterialInfo);
}
if (infos == null) return;
MaterialDataGrid.Clear();

@ -39,7 +39,7 @@ namespace Aucma.Scada.UI.viewModel
timer.Interval = TimeSpan.FromSeconds(1);
timer.Tick += Timer_Tick;
timer.Start();
MvCodeHelper.RefreshStateEvent += RefreshScanner;
ControlOnClickCommand = new RelayCommand<object>(obj => ControlOnClick(obj));
OpenSystemKeyboardCommand = new RelayCommand(OpenSystemKeyboard);
@ -50,6 +50,18 @@ namespace Aucma.Scada.UI.viewModel
init();
}
public void RefreshScanner(string ip, bool flag)
{
if (ip == "箱壳")
{
ShellScannerState(flag); ;
}
else if (ip == "内胆")
{
LinerScannerState(flag);
}
}
#region 参数定义
/// <summary>
/// PLC设备状态
@ -217,6 +229,8 @@ namespace Aucma.Scada.UI.viewModel
public void init()
{
ShellScannerState(false);
LinerScannerState(false);
// 设备状态刷新定时器
System.Timers.Timer timer = new System.Timers.Timer(1000 * 5);
timer.Elapsed += new System.Timers.ElapsedEventHandler(RefreshStatus);
@ -238,7 +252,7 @@ namespace Aucma.Scada.UI.viewModel
{
RefreshMesDb();
RefreshPlc();
RefreshScanner();
}
catch (Exception ex)
{
@ -298,8 +312,8 @@ namespace Aucma.Scada.UI.viewModel
string ip2 = appConfig.linerHikRobotIp;
//bool flag1 = MvCodeHelper.ConnectionStatus(ip1);
//bool flag2 = MvCodeHelper.ConnectionStatus(ip2);
Scanner1State(true);
Scanner2State(true);
ShellScannerState(false);
LinerScannerState(false);
}
#endregion
@ -506,19 +520,19 @@ namespace Aucma.Scada.UI.viewModel
/// 扫码器1连接状态-true:连接成功false:失败
/// </summary>
/// <param name="type"></param>
public void Scanner1State(bool type)
public void ShellScannerState(bool type)
{
Application.Current.Dispatcher.Invoke(() =>
{
if (type)
{
Scanner1UIStatusWb = "扫码器1连接成功";
Scanner1UIStatusWb = "箱壳扫码器";
Scanner1UIColor = "Green";
Scanner1UIIcon = "templates/image/Green.png";
}
else
{
Scanner1UIStatusWb = "扫码器1状态异常";
Scanner1UIStatusWb = "箱壳扫码器";
Scanner1UIColor = "Red";
Scanner1UIIcon = "templates/image/Red.png";
}
@ -568,19 +582,19 @@ namespace Aucma.Scada.UI.viewModel
/// 扫码器2连接状态-true:连接成功false:失败
/// </summary>
/// <param name="type"></param>
public void Scanner2State(bool type)
public void LinerScannerState(bool type)
{
Application.Current.Dispatcher.Invoke(() =>
{
if (type)
{
Scanner2UIStatusWb = "扫码器2连接成功";
Scanner2UIStatusWb = "内胆扫码器";
Scanner2UIColor = "Green";
Scanner2UIIcon = "templates/image/Green.png";
}
else
{
Scanner2UIStatusWb = "扫码器2状态异常";
Scanner2UIStatusWb = "内胆扫码器";
Scanner2UIColor = "Red";
Scanner2UIIcon = "templates/image/Red.png";
}

@ -300,14 +300,20 @@ namespace Aucma.Scada.UI.viewModel.OutStoreInfo
{
string taskCode = obj as string;
MessageBoxResult result = MessageBox.Show("货物是否已出库?", "出库确认", MessageBoxButton.YesNo, MessageBoxImage.Question);
if(result == MessageBoxResult.Yes)
if (result == MessageBoxResult.Yes)
{
if(outStoreBusiness.DeleteTaskInfoByTaskCode(taskCode,true))
if (outStoreBusiness.DeleteTaskInfoByTaskCode(taskCode, true))
{
MessageBox.Show("任务删除成功","提示",MessageBoxButton.OK,MessageBoxImage.Information,MessageBoxResult.OK,MessageBoxOptions.DefaultDesktopOnly);
MessageBox.Show("任务删除成功", "提示", MessageBoxButton.OK, MessageBoxImage.Information, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
Query();
}
else
{
MessageBox.Show("任务删除失败", "提示", MessageBoxButton.OK, MessageBoxImage.Error, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
}
}
else
{
if (outStoreBusiness.DeleteTaskInfoByTaskCode(taskCode, false))
{
MessageBox.Show("任务删除成功", "提示", MessageBoxButton.OK, MessageBoxImage.Information, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
@ -319,6 +325,8 @@ namespace Aucma.Scada.UI.viewModel.OutStoreInfo
}
}
}
}
}

@ -18,7 +18,7 @@ namespace HighWayIot.Repository.service
/// </summary>
/// <param name="materialCode"></param>
/// <returns></returns>
BaseSpaceDetail GetSpaceDetailByMaterialCode(string materialCode);
BaseSpaceDetail GetSpaceDetailByMaterialCode(string spaceCode,string materialCode, string detailCode);
/// <summary>
/// 根据物料类型获取可用的货道明细
@ -47,7 +47,7 @@ namespace HighWayIot.Repository.service
/// </summary>
/// <param name="materialCode"></param>
/// <returns></returns>
bool DeleteSpaceDetailByMaterialCode(string materialCode);
bool DeleteSpaceDetailByMaterialCode(string spaceCode,string materialCode,string detailCode);
}

@ -3,6 +3,7 @@ using HighWayIot.Common;
using HighWayIot.Log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace HighWayIot.Repository.service.Impl
@ -20,12 +21,12 @@ namespace HighWayIot.Repository.service.Impl
/// </summary>
/// <param name="materialCode"></param>
/// <returns></returns>
public bool DeleteSpaceDetailByMaterialCode(string materialCode)
public bool DeleteSpaceDetailByMaterialCode(string spaceCode, string materialCode,string detailCode)
{
bool result = false;
try
{
BaseSpaceDetail spaceDetail = this.GetSpaceDetailByMaterialCode(materialCode);
BaseSpaceDetail spaceDetail = this.GetSpaceDetailByMaterialCode(spaceCode,materialCode,detailCode);
result = _mesRepository.Delete(spaceDetail);
@ -42,16 +43,20 @@ namespace HighWayIot.Repository.service.Impl
/// </summary>
/// <param name="materialCode"></param>
/// <returns></returns>
public BaseSpaceDetail GetSpaceDetailByMaterialCode(string materialCode)
public BaseSpaceDetail GetSpaceDetailByMaterialCode(string spaceCode,string materialCode, string detailCode)
{
List<BaseSpaceDetail> spaceDetails = null;
BaseSpaceDetail spaceDetail = null;
try
{
Expression<Func<BaseSpaceDetail, bool>> exp = s1 => true;
exp = exp.And(x => x.materialCode == materialCode);
spaceDetail = _mesRepository.GetFirst(exp);
exp = exp.And(x => x.materialCode == materialCode && x.spaceCode==spaceCode);
spaceDetails = _mesRepository.GetList(exp);
if(spaceDetails!=null && spaceDetails.Count>0)
{
spaceDetail = spaceDetails.Where(x => x.detailCode==detailCode).FirstOrDefault();
}
logHelper.Info($"根据物料编号{materialCode};获取到的货道明细信息:{jsonChange.ModeToJson(spaceDetail)}");
}
catch (Exception ex)

@ -62,7 +62,7 @@ namespace HighWayIot.Repository.service.Impl
}
/// <summary>
/// 入库过滤逻辑
/// 入库过滤逻辑,获取库存未满库存最多的货道
/// </summary>
/// <param name="spaceInfos"></param>
private BaseSpaceInfo inStoreFilter(List<BaseSpaceInfo> spaceInfos)
@ -316,10 +316,17 @@ namespace HighWayIot.Repository.service.Impl
spaceInfos = _mesRepository.GetList(exp);
if (spaceInfos.Count == 0) //没有指定该类型物料的货道信息,需获取空白货道信息进行分配
if (spaceInfos==null ||spaceInfos.Count == 0) //没有指定该类型物料的货道信息,需获取空白货道信息进行分配
{
spaceInfos = GetEmptySpaceInfo(storeCode);
}
// 如果是空板,没有空板货道且所有货道都有货,分配空白货道不成功,那么入库存最多的货道
if (materialType == "1111111111" && spaceInfos.Count==0)
{
Expression<Func<BaseSpaceInfo, bool>> exp1 = s1 => true;
exp = exp.And(x => x.storeCode == storeCode && x.spaceStatus == 1); //启用状态的货道信息
spaceInfos = _mesRepository.GetList(exp);
}
logHelper.Info($"根据仓库{storeCode};物料:{materialType};获取到的货道信息:{jsonChange.ModeToJson(spaceInfos)}");
}
catch (Exception ex)

@ -18,6 +18,7 @@ namespace HighWayIot.Repository.service.Impl
CodeBindingRecord codeBindingRecord = new CodeBindingRecord();
codeBindingRecord.BoxCode = boxCode;
codeBindingRecord.LinerCode = linerCode;
return _repository.Insert(codeBindingRecord);
}
}

@ -174,6 +174,7 @@ namespace HighWayIot.Repository.service.Impl
catch (Exception ex)
{
logHelper.Error("通过仓库编号获取待执行的任务信息异常", ex);
new ArgumentNullException($"通过仓库编号获取待执行的任务信息异常:{ex.Message}");
}
return taskInfo;
}

Loading…
Cancel
Save