change - 出库逻辑优化

foamRearStore
wenjy 1 year ago
parent 02529161b3
commit 6442753c80

Binary file not shown.

@ -47,9 +47,14 @@
<Compile Include="MainBusiness.cs" />
<Compile Include="OutStoreBusiness.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TaskHandleBusiness.cs" />
<Compile Include="TaskInfoBusiness.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\HighWayIot.Common\HighWayIot.Common.csproj">
<Project>{89a1edd9-d79e-468d-b6d3-7d07b8843562}</Project>
<Name>HighWayIot.Common</Name>
</ProjectReference>
<ProjectReference Include="..\HighWayIot.Config\HighWayIot.Config.csproj">
<Project>{75180EE5-13AE-499B-B0F6-C7BFEE1140CC}</Project>
<Name>HighWayIot.Config</Name>
@ -58,6 +63,10 @@
<Project>{DEABC30C-EC6F-472E-BD67-D65702FDAF74}</Project>
<Name>HighWayIot.Log4net</Name>
</ProjectReference>
<ProjectReference Include="..\HighWayIot.Plc\HighWayIot.Plc.csproj">
<Project>{4ee4c3e2-ac45-4275-8017-e99d70fc1f52}</Project>
<Name>HighWayIot.Plc</Name>
</ProjectReference>
<ProjectReference Include="..\HighWayIot.Repository\HighWayIot.Repository.csproj">
<Project>{D0DC3CFB-6748-4D5E-B56A-76FDC72AB4B3}</Project>
<Name>HighWayIot.Repository</Name>

@ -1,4 +1,5 @@
using HighWayIot.Log4net;
using HighWayIot.Plc;
using HighWayIot.Repository.domain;
using HighWayIot.Repository.service;
using HighWayIot.Repository.service.Impl;
@ -20,20 +21,13 @@ namespace Aucma.Scada.Business
return lazy.Value;
}
}
private LogHelper logHelper = LogHelper.Instance;
private IBaseSpaceInfoService _spaceInfoService = new BaseSpaceInfoServiceImpl();
private IRealTaskInfoService _taskInfoService = new RealTaskInfoServiceImpl();
public MainBusiness()
{
//初始化扫码器
//初始化PLC
//初始化货道信息,保证系统内的库存信息与实物一致
}

@ -33,8 +33,12 @@ namespace Aucma.Scada.Business
private IBaseBomInfoService _bomInfoService = new BaseBomInfoServiceImpl();
private IBaseSpaceDetailService _spaceDetailService = new BaseSpaceDetailServiceImpl();
private AssemblyPlanBusiness assemblyPlanBusiness = AssemblyPlanBusiness.Instance;
private TaskHandleBusiness taskHandleBusiness = TaskHandleBusiness.Instance;
/// <summary>
/// 初始化出库任务
/// </summary>
@ -48,8 +52,8 @@ namespace Aucma.Scada.Business
/// <param name="materialCode"></param>
/// <param name="materialName"></param>
/// <param name="spaceName"></param>
/// <param name="materialType"></param>
public delegate void RefreshScanMateriaCode(string materialCode, string materialName, string spaceName, string materialType);
/// <param name="storeCode"></param>
public delegate void RefreshScanMateriaCode(string materialCode, string materialName, string spaceName, string storeCode);
public event RefreshScanMateriaCode RefreshScanMateriaCodeEvent;
/// <summary>
@ -62,8 +66,16 @@ namespace Aucma.Scada.Business
public OutStoreBusiness()
{
assemblyPlanBusiness.NextPassExecutePlanInfoEvent += PlanHandle;
Task.Run(() =>
{
StartTimerPassDown();
});
}
/// <summary>
/// 接收下达的组装计划根据BOM获取需要出库的箱壳、内胆物料信息
/// </summary>
/// <param name="planInfo"></param>
private void PlanHandle(ExecutePlanInfo planInfo)
{
lock (string.Empty)
@ -72,13 +84,14 @@ namespace Aucma.Scada.Business
{
if (planInfo != null)
{
string taskCode = DateTime.Now.ToString("HH:mm:ss");
var shellBomInfo = _bomInfoService.GetChildenBomInfoByMaterialCode(planInfo.materialCode, appConfig.shellMaterialType);
var linerBomInfo = _bomInfoService.GetChildenBomInfoByMaterialCode(planInfo.materialCode, appConfig.linerMaterialType);
for (int i = 0; i < planInfo.planAmount-planInfo.completeAmount; i++)
{
OutStore(appConfig.shellStoreCode, shellBomInfo, planInfo.executePlanCode);
OutStore(appConfig.shellStoreCode, shellBomInfo, planInfo.executePlanCode, taskCode);
Thread.Sleep(500);
OutStore(appConfig.linerStoreCode, linerBomInfo, planInfo.executePlanCode);
OutStore(appConfig.linerStoreCode, linerBomInfo, planInfo.executePlanCode, taskCode);
Thread.Sleep(500);
}
@ -87,7 +100,13 @@ namespace Aucma.Scada.Business
}
}
private void OutStore(string storeCode, BaseBomInfo bomInfo,string planCode)
/// <summary>
/// 解析计划创建出库任务
/// </summary>
/// <param name="storeCode"></param>
/// <param name="bomInfo"></param>
/// <param name="planCode"></param>
private void OutStore(string storeCode, BaseBomInfo bomInfo,string planCode,string taskCode)
{
try
{
@ -97,7 +116,7 @@ namespace Aucma.Scada.Business
{
PrintLogInfoMessage($"匹配货道:{spaceInfo.spaceName}");
// RefreshScanMateriaCodeEvent?.Invoke(materiaclCode, materialType, spaceInfo.spaceName, storeCode); //刷新界面扫码信息
CreateOutStoreTask(spaceInfo, bomInfo, planCode); //创建出库任务
CreateOutStoreTask(spaceInfo, planCode, taskCode); //创建出库任务
}
else
{
@ -114,34 +133,169 @@ namespace Aucma.Scada.Business
/// 创建出库任务
/// </summary>
/// <param name="spaceInfo"></param>
private void CreateOutStoreTask(BaseSpaceInfo spaceInfo, BaseBomInfo bomInfo, string planCode)
private bool CreateOutStoreTask(BaseSpaceInfo spaceInfo, string planCode,string taksCode,int taskModel=0)
{
bool result = false;
try
{
//获取出库的货道明细物料信息
BaseSpaceDetail spaceDetail = GetSpaceDetailFirstOrderByCreatTime(spaceInfo);
if (spaceDetail != null)
{
#region 出库任务赋值
RealTaskInfo realTaskInfo = new RealTaskInfo();
realTaskInfo.planCode = planCode;
realTaskInfo.taskType = 2;
realTaskInfo.taskCode = taksCode;
realTaskInfo.taskModel = taskModel;
realTaskInfo.storeCode = spaceInfo.storeCode;
realTaskInfo.spaceCode = spaceInfo.spaceCode;
realTaskInfo.spaceName = spaceInfo.spaceName;
realTaskInfo.materialType = spaceDetail.materialName;
realTaskInfo.materialCode = spaceDetail.materialCode;
realTaskInfo.planAmount = 1;
realTaskInfo.taskStatus = 1;
realTaskInfo.createTime = DateTime.Now;
#endregion
result = _taskInfoService.AddTaskInfo(realTaskInfo);
if (result)
{
PrintLogInfoMessage("出库任务创建成功");
RefreshOutStoreTaskEvent?.Invoke(realTaskInfo);
UpdateSpaceAndDetial(spaceInfo, spaceDetail);
}
else
{
PrintLogInfoMessage("出库任务创建失败");
}
}
}catch(Exception ex)
{
PrintLogErrorMessage("出库任务创建异常", ex);
}
return result;
}
/// <summary>
/// 根据创建时间获取第一个货道明细
/// </summary>
/// <param name="spaceInfo"></param>
/// <returns></returns>
private BaseSpaceDetail GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo)
{
BaseSpaceDetail spaceDetail = null;
try
{
List<BaseSpaceDetail> spaceDetails = _spaceDetailService.GetSpaceDetailsBySpaceCode(spaceInfo.storeCode, spaceInfo.spaceCode);
if (spaceDetails.Count > 0)
{
spaceDetails = spaceDetails.Where(x => x.isFlag != 1).ToList();
if (spaceDetails != null)
{
spaceDetail = spaceDetails.OrderBy(x => x.createTime).First();
}
}
}catch(Exception ex)
{
PrintLogErrorMessage("获取货道明细信息异常", ex);
}
return spaceDetail;
}
/// <summary>
/// 任务创建完成后修改货道信息及货道明细
/// </summary>
/// <param name="spaceInfo"></param>
/// <param name="spaceDetail"></param>
private void UpdateSpaceAndDetial(BaseSpaceInfo spaceInfo,BaseSpaceDetail spaceDetail,int detailIsFlag = 1,bool stockFlag = true)
{
//生成出库任务依次下发至PLC
RealTaskInfo realTaskInfo = new RealTaskInfo();
realTaskInfo.planCode = planCode;
realTaskInfo.taskType = 2;
realTaskInfo.taskCode = System.Guid.NewGuid().ToString("N").Substring(0, 6);
realTaskInfo.storeCode = spaceInfo.storeCode;
realTaskInfo.spaceCode = spaceInfo.spaceCode;
realTaskInfo.spaceName = spaceInfo.spaceName;
realTaskInfo.materialType = bomInfo.materialName;
realTaskInfo.materialCode = bomInfo.materialCode;
realTaskInfo.planAmount = 1;
realTaskInfo.taskStatus = 1;
realTaskInfo.createTime = DateTime.Now;
bool result = _taskInfoService.AddTaskInfo(realTaskInfo);
if (result)
{
PrintLogInfoMessage("出库任务创建成功");
RefreshOutStoreTaskEvent?.Invoke(realTaskInfo);
//任务创建完成后修改货道库存、货道明细修改物料标识物料不可用
spaceDetail.isFlag = detailIsFlag;
var result = _spaceDetailService.UpdateSpaceDetail(spaceDetail);
if (stockFlag)
{
spaceInfo.spaceStock = spaceInfo.spaceStock > 0 ? spaceInfo.spaceStock - 1 : 0;
}
else
{
PrintLogInfoMessage("出库任务创建失败");
spaceInfo.spaceStock = spaceInfo.spaceStock + 1;
}
_spaceInfoService.UpdateSpaceInfo(spaceInfo);
}
#region 开启定时获取出库任务下发至PLC等待PLC执行反馈完成后再次下发
private System.Timers.Timer timer = new System.Timers.Timer(5000);
private void StartTimerPassDown()
{
try
{
if (!timer.Enabled)
{
timer.Elapsed += new System.Timers.ElapsedEventHandler(PassDownTaskInfoByTimer);
timer.AutoReset = true;
timer.Enabled = false;
timer.Start();
PrintLogInfoMessage("StartTimerPassDown(),开启定时获取出库任务进行下发");
}
}
catch (Exception ex)
{
PrintLogErrorMessage("开启定时下发出库任务异常", ex);
}
}
/// <summary>
/// 依次获取任务队列进行下发
/// </summary>
/// <param name="source"></param>
/// <param name="e"></param>
private void PassDownTaskInfoByTimer(object sender, System.Timers.ElapsedEventArgs e)
{
List<RealTaskInfo> realTasks = new List<RealTaskInfo>();
RealTaskInfo shellTask = _taskInfoService.GetTaskInfoByStoreCode(appConfig.shellStoreCode, 2);
RealTaskInfo linerTaks = _taskInfoService.GetTaskInfoByStoreCode(appConfig.linerStoreCode, 2);
if(shellTask != null && linerTaks != null)
{
if (shellTask.taskStatus != 2 && linerTaks.taskStatus != 2)
{
shellTask.taskStatus = 2;
linerTaks.taskStatus = 2;
realTasks.Add(shellTask);
realTasks.Add(linerTaks);
bool result = _taskInfoService.UpdateRangeTaskInfo(realTasks);
if (result)
{
foreach(var item in realTasks)
{
RefreshScanMateriaCodeEvent?.Invoke(item.materialCode, item.materialType, item.spaceName, item.storeCode);
taskHandleBusiness.SendOutStoreTask(item);
}
if (timer.Enabled)
{
timer.Stop();
timer.Close();
timer.Dispose();
timer = new System.Timers.Timer(5000);
}
}
}
}
}
#endregion
/// <summary>
/// 出库完成
/// </summary>
@ -160,7 +314,7 @@ namespace Aucma.Scada.Business
if (spaceInfo != null)
{
//读取PLC获取货道信息存放数量、在途数量
spaceInfo.materialType = taskInfo.materialType;
//spaceInfo.materialType = taskInfo.materialType;
_spaceInfoService.UpdateSpaceInfo(spaceInfo);
//读取PLC获取物料类型进行绑定
@ -176,6 +330,56 @@ namespace Aucma.Scada.Business
}
}
/// <summary>
/// 获取出库任务
/// </summary>
/// <returns></returns>
public List<RealTaskInfo> GetOutStoreTask()
{
var taskInfos = _taskInfoService.GetTaskInfosByStoreCode(new string[] { appConfig.shellStoreCode, appConfig.linerStoreCode }, appConfig.outstoreTaskType);
return taskInfos;
}
/// <summary>
/// 通过任务编号删除任务
///
/// 任务删除后是否需要还原库存,如果出库完成后减少库存则不需要
///
/// </summary>
/// <param name="taskCode"></param>
/// <returns></returns>
public bool DeleteTaskInfoByTaskCode(string taskCode)
{
return _taskInfoService.DeleteTaskInfo(taskCode);
}
/// <summary>
/// 根据货道手动出一个
/// </summary>
/// <param name="storeCode"></param>
/// <param name="spaceCode"></param>
/// <returns></returns>
public bool OutOnlyOneBySpaceCode(string storeCode,string spaceCode)
{
bool result = false;
try
{
BaseSpaceInfo spaceInfo = _spaceInfoService.GetSpaceInfoBySpaceCode(storeCode, spaceCode);
if(spaceInfo.spaceStock > 0)
{
result = this.CreateOutStoreTask(spaceInfo, System.Guid.NewGuid().ToString("N"), DateTime.Now.ToString("HH:mm:ss"), 1);
}
else
{
PrintLogInfoMessage($"仓库:{storeCode};货道:{spaceCode};出一个失败:库存不足");
}
}catch(Exception ex)
{
logHelper.Error("根据货道出一个异常", ex);
}
return result;
}
/// <summary>
/// 日志输出,界面刷新同时记录文件
/// </summary>
@ -196,20 +400,5 @@ namespace Aucma.Scada.Business
RefreshLogMessageEvent?.Invoke(message);
logHelper.Error(message, ex);
}
/// <summary>
/// 获取出库任务
/// </summary>
/// <returns></returns>
public List<RealTaskInfo> GetOutStoreTask()
{
var taskInfos = _taskInfoService.GetTaskInfosByStoreCode(new string[] { appConfig.shellStoreCode, appConfig.linerStoreCode }, appConfig.outstoreTaskType);
return taskInfos;
}
public bool DeleteTaskInfoByTaskCode(string taskCode)
{
return _taskInfoService.DeleteTaskInfo(taskCode);
}
}
}

@ -0,0 +1,78 @@
using HighWayIot.Common;
using HighWayIot.Config;
using HighWayIot.Log4net;
using HighWayIot.Plc;
using HighWayIot.Plc.Impl;
using HighWayIot.Repository.domain;
using HighWayIot.Repository.service;
using HighWayIot.Repository.service.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aucma.Scada.Business
{
public sealed class TaskHandleBusiness
{
private static readonly Lazy<TaskHandleBusiness> lazy = new Lazy<TaskHandleBusiness>(() => new TaskHandleBusiness());
public static TaskHandleBusiness Instance
{
get
{
return lazy.Value;
}
}
public delegate void OutStoreFinsih(string storeCode,string taskCode);
public event OutStoreFinsih OutStoreFinsihEvent;
private IPlc _plc = new SiemensPlc();
private LogHelper logHelper = LogHelper.Instance;
private AppConfig appConfig = AppConfig.Instance;
private PlcConfig plcConfig = PlcConfig.Instance;
private TaskHandleBusiness()
{
}
public void Inite()
{
_plc.Connect("127.0.0.1", 124);
}
public bool SendOutStoreTask(RealTaskInfo realTaskInfo)
{
bool result = false;
try
{
//写入货道号
_plc.writeStringByAddress(plcConfig.out_shell_spaceCode, realTaskInfo.spaceCode);
//写入出库数量
_plc.writeInt32ByAddress(plcConfig.out_shell_amount, realTaskInfo.planAmount);
//写入任务号
_plc.writeStringByAddress(plcConfig.out_shell_task, realTaskInfo.taskCode);
//写入应答字
_plc.writeInt32ByAddress("", 1);
result = true;
}
catch(Exception ex)
{
logHelper.Error("出库任务下发异常", ex);
}
return result;
}
private void ReadPlc()
{
if(_plc.readInt32ByAddress("") == 1) // 读取PLC出库应答字出库完成后读取任务号
{
string taskCode = _plc.readStringByAddress("", (ushort)12);
OutStoreFinsihEvent?.Invoke(appConfig.shellStoreCode, taskCode);
}
}
}
}

@ -1 +1 @@
02a3ee1cdbc10efe85ced710379b17f116f02ce0
918f89fa14a52302b3b036a3ca121e49457622c4

@ -18,3 +18,6 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\obj\Debug\Au
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\obj\Debug\Aucma.Scada.Business.csproj.CopyComplete
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\obj\Debug\Aucma.Scada.Business.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\obj\Debug\Aucma.Scada.Business.pdb
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\bin\Debug\HighWayIot.Plc.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\bin\Debug\HslCommunication.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\bin\Debug\HighWayIot.Plc.pdb

@ -136,7 +136,7 @@
</Border>
<Border Grid.Column="6" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="出一个" Foreground="{Binding onlyOne,Converter={StaticResource StatusLabelConverter}}" FontSize="17" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
<TextBlock Text="出一个" Foreground="Green" FontSize="17" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Button>
</Border>
</Grid>

@ -136,8 +136,8 @@
</Button>
</Border>
<Border Grid.Column="6" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="出一个" Foreground="{Binding onlyOne,Converter={StaticResource StatusLabelConverter}}" FontSize="17" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
<Button Command="{Binding DataContext.OutOnlyOneCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="出一个" Foreground="Green" FontSize="17" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Button>
</Border>
</Grid>

@ -0,0 +1,256 @@
<HR COLOR=red>
异常时间2023-10-13 15:14:02,111 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:14:05,665 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取货道明细信息异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at Aucma.Scada.Business.OutStoreBusiness.GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\OutStoreBusiness.cs:line 190 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:14:38,005 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:14:55,124 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取货道明细信息异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at Aucma.Scada.Business.OutStoreBusiness.GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\OutStoreBusiness.cs:line 190 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:15:23,410 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:17:54,934 [20] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取货道明细信息异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at Aucma.Scada.Business.OutStoreBusiness.GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\OutStoreBusiness.cs:line 190 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:18:51,108 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:19:59,638 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:23:15,615 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:25:06,626 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 15:30:08,696 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取货道明细信息异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at Aucma.Scada.Business.OutStoreBusiness.GetSpaceDetailFirstOrderByCreatTime(BaseSpaceInfo spaceInfo) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\OutStoreBusiness.cs:line 190 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:02:42,262 [2] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : Task线程全局异常捕获成功<br>【异常类型】AggregateException <br>【异常信息】A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. <br>【堆栈调用】: <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:04:37,871 [2] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : Task线程全局异常捕获成功<br>【异常类型】AggregateException <br>【异常信息】A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. <br>【堆栈调用】: <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:05:17,176 [2] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : Task线程全局异常捕获成功<br>【异常类型】AggregateException <br>【异常信息】A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. <br>【堆栈调用】: <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:43:38,057 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 根据任务号获取任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfosByStoreCode(String[] storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 176 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:43:40,526 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取指定状态的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfosByTaskStatus(String[] storeCode, Int32 taskType, Int32 taskStatus) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 203 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:43:42,291 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:29,101 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 根据任务号获取任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfosByStoreCode(String[] storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 176 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:31,352 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取指定状态的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfosByTaskStatus(String[] storeCode, Int32 taskType, Int32 taskStatus) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 203 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:33,617 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:38,409 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取货道信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.BaseSpaceInfoServiceImpl.GetSpaceInfosByStoreCode(String storeCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\BaseSpaceInfoServiceImpl.cs:line 172 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:40,556 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:40,572 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:43,523 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取货道信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.BaseSpaceInfoServiceImpl.GetSpaceInfosByStoreCode(String storeCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\BaseSpaceInfoServiceImpl.cs:line 172 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:45,753 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:48,038 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:54,147 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行计划异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="scada".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="scada" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecutePlanInfosByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 85 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:44:54,257 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 根据产线工位编号获取执行计划异常<br>【异常类型】ArgumentNullException <br>【异常信息】Value cannot be null.<br>Parameter name: source <br>【堆栈调用】: at System.Linq.OrderedEnumerable`2..ctor(IEnumerable`1 source, Func`2 keySelector, IComparer`1 comparer, Boolean descending)<br> at System.Linq.Enumerable.OrderBy[TSource,TKey](IEnumerable`1 source, Func`2 keySelector)<br> at Aucma.Scada.Business.AssemblyPlanBusiness.GetEexecutePlanInfosByProductLineCode() in C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.Business\AssemblyPlanBusiness.cs:line 83 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:02,338 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:02,338 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:02,338 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:04,302 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : UI线程全局异常捕获成功<br>【异常类型】XamlParseException <br>【异常信息】:'The invocation of the constructor on type 'Aucma.Scada.UI.MainWindow' that matches the specified binding constraints threw an exception.' Line number '6' and line position '9'. <br>【堆栈调用】: at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)<br> at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)<br> at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)<br> at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)<br> at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)<br> at System.Windows.Application.DoStartup()<br> at System.Windows.Application.<.ctor>b__1_0(Object unused)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:06,396 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:06,396 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:06,396 [13] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:09,692 [13] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:09,692 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:12,835 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:14,538 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:18,976 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:19,569 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:21,675 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:24,633 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:26,763 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:29,607 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:31,747 [6] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:34,622 [12] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:36,763 [12] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:39,638 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:41,763 [5] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-13 16:45:44,669 [4] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过仓库编号获取待执行的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . Oracle 通信: 无法连接到服务器, 或者无法对连接字符串进行语法分析DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfoByStoreCode(String storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 134 <BR>
<HR Size=1>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,145 @@
<-------------->
日志时间2023-10-13 17:18:04,094 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据XK_001失败
<-------------->
日志时间2023-10-13 17:18:04,095 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:04,097 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:04,098 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据17:18:01失败
<-------------->
日志时间2023-10-13 17:18:04,098 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:04,098 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:04,148 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据ND_001失败
<-------------->
日志时间2023-10-13 17:18:04,148 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:04,148 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:04,148 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据17:18:01失败
<-------------->
日志时间2023-10-13 17:18:04,148 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:04,149 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:29,073 [4]
日志级别INFO
日志内容通过PLC地址写入String类型数据XK_001失败
<-------------->
日志时间2023-10-13 17:18:29,073 [4]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:29,074 [4]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:29,074 [4]
日志级别INFO
日志内容通过PLC地址写入String类型数据17:18:23失败
<-------------->
日志时间2023-10-13 17:18:29,074 [4]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:29,074 [4]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:29,134 [4]
日志级别INFO
日志内容通过PLC地址写入String类型数据ND_001失败
<-------------->
日志时间2023-10-13 17:18:29,135 [4]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:29,135 [4]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:29,136 [4]
日志级别INFO
日志内容通过PLC地址写入String类型数据17:18:23失败
<-------------->
日志时间2023-10-13 17:18:29,136 [4]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:29,136 [4]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:49,065 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据XK_001失败
<-------------->
日志时间2023-10-13 17:18:49,065 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:49,066 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:49,066 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据17:18:46失败
<-------------->
日志时间2023-10-13 17:18:49,066 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:49,066 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:49,121 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据ND_001失败
<-------------->
日志时间2023-10-13 17:18:49,121 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:49,122 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败
<-------------->
日志时间2023-10-13 17:18:49,122 [14]
日志级别INFO
日志内容通过PLC地址写入String类型数据17:18:46失败
<-------------->
日志时间2023-10-13 17:18:49,123 [14]
日志级别INFO
日志内容开始通过PLC地址写入int32类型数据1
<-------------->
日志时间2023-10-13 17:18:49,123 [14]
日志级别INFO
日志内容通过PLC地址写入int32类型数据1失败

File diff suppressed because one or more lines are too long

@ -150,3 +150,6 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\Page\Ass
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\Page\AssemblyPlan\PlanInfoEditWindow.baml
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\Page\InventoryInfo\SpaceDetailWindow.g.cs
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\Page\InventoryInfo\SpaceDetailWindow.baml
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\bin\Debug\HighWayIot.Plc.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\bin\Debug\HslCommunication.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\bin\Debug\HighWayIot.Plc.pdb

@ -1,4 +1,4 @@

C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\GeneratedInternalTypeHelper.g.cs
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\App.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\AssemblyPlan\AssemblyPlanControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\AssemblyPlan\PlanInfoEditWindow.xaml;;

@ -1,62 +1,2 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}


@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9304FC8172CB52D504E9617BDBABDBDAD65770A58C85BA08E7AD74C367EB3268"
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "06507D825DC145C5CF86ED02B33B33F7683F5F7C917F456664BC2E5A5A3D8920"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9304FC8172CB52D504E9617BDBABDBDAD65770A58C85BA08E7AD74C367EB3268"
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "06507D825DC145C5CF86ED02B33B33F7683F5F7C917F456664BC2E5A5A3D8920"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "05067D3A2D27ED28509706FACEABCFB7007D8C6D3AF240FDBE1969C7821EC8B2"
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A66EF30E1A2BFFAC6417419793D545694E00FD8782EB560AF243A3F0FC412825"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "05067D3A2D27ED28509706FACEABCFB7007D8C6D3AF240FDBE1969C7821EC8B2"
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A66EF30E1A2BFFAC6417419793D545694E00FD8782EB560AF243A3F0FC412825"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -8,6 +8,7 @@ using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
@ -16,15 +17,21 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
{
public class LinerInventoryViewModel :ViewModelBase
{
[DllImport("user32.dll")]
public static extern int MessageBoxTimeoutA(IntPtr hWnd, string msg, string Caps, int type, int Id, int time);
private ObservableCollection<BaseSpaceInfo> spaceItems = new ObservableCollection<BaseSpaceInfo>();
private InventoryInfoBusiness inventoryInfoBusiness = InventoryInfoBusiness.Instance;
private OutStoreBusiness outStoreBusiness = OutStoreBusiness.Instance;
private AppConfig appConfig = AppConfig.Instance;
public LinerInventoryViewModel()
{
#region 事件绑定
UpdateInStoreFlagCommand = new RelayCommand<object>(obj => UpdateInStoreFlag(obj));
UpdateOutStoreFlagCommand = new RelayCommand<object>(obj => UpdateOutStoreFlag(obj));
@ -35,6 +42,9 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
SpaceDetailCommand = new RelayCommand<object>(obj => SpaceDetail(obj));
OutOnlyOneCommand = new RelayCommand<object>(obj => OutOnlyOne(obj));
#endregion
Query();
}
@ -50,21 +60,36 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
#endregion
#region 事件定义
/// <summary>
/// 修改入库状态标识
/// </summary>
public RelayCommand<object> UpdateInStoreFlagCommand { get; set; }
/// <summary>
/// 修改出库状态标识
/// </summary>
public RelayCommand<object> UpdateOutStoreFlagCommand { get; set; }
/// <summary>
/// 修改异常状态标识
/// </summary>
public RelayCommand<object> UpdateUnusualFlagCommand { get; set; }
/// <summary>
/// 修改货道状态
/// </summary>
public RelayCommand<object> UpdateSpaceStatusCommand { get; set; }
/// <summary>
/// 货道明细
/// </summary>
public RelayCommand<object> SpaceDetailCommand { get; set; }
#endregion
private void update(object obj)
{
string info = obj as string;
MessageBox.Show("编号:" + info);
}
/// <summary>
/// 出一个
/// </summary>
public RelayCommand<object> OutOnlyOneCommand { get; set; }
#endregion
private void Query()
{
@ -95,7 +120,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道入库状态修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道入库状态修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -114,7 +139,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道出库状态修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道出库状态修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -133,7 +158,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道异常标识修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道异常标识修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -152,7 +177,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道状态修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道状态修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -160,6 +185,10 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
}
}
/// <summary>
/// 货道明细
/// </summary>
/// <param name="obj"></param>
private void SpaceDetail(object obj)
{
string info = obj as string;
@ -168,6 +197,25 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
inventoryInfoBusiness.RefreshBaseSpaceDetails(appConfig.linerStoreCode, info);
}
/// <summary>
/// 手动出一个
/// </summary>
/// <param name="obj"></param>
private void OutOnlyOne(object obj)
{
string info = obj as string;
bool result = outStoreBusiness.OutOnlyOneBySpaceCode(appConfig.linerStoreCode, info);
if (result)
{
Query();
MessageBoxTimeoutA((IntPtr)0, $"出库任务创建成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
MessageBox.Show("出库任务创建失败");
}
}
}
}

@ -4,24 +4,31 @@ using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HighWayIot.Config;
using HighWayIot.Repository.domain;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.InteropServices;
using System.Windows;
namespace Aucma.Scada.UI.viewModel.InventoryInfo
{
public class ShellInventoryViewModel : ViewModelBase
{
[DllImport("user32.dll")]
public static extern int MessageBoxTimeoutA(IntPtr hWnd, string msg, string Caps, int type, int Id, int time);
private ObservableCollection<BaseSpaceInfo> spaceItems = new ObservableCollection<BaseSpaceInfo>();
private InventoryInfoBusiness inventoryInfoBusiness = InventoryInfoBusiness.Instance;
private OutStoreBusiness outStoreBusiness = OutStoreBusiness.Instance;
private AppConfig appConfig = AppConfig.Instance;
public ShellInventoryViewModel()
{
#region 事件绑定
UpdateInStoreFlagCommand = new RelayCommand<object>(obj => UpdateInStoreFlag(obj));
UpdateOutStoreFlagCommand = new RelayCommand<object>(obj => UpdateOutStoreFlag(obj));
@ -31,6 +38,9 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
UpdateSpaceStatusCommand = new RelayCommand<object>(obj => UpdateSpaceStatus(obj));
SpaceDetailCommand = new RelayCommand<object>(obj => SpaceDetail(obj));
OutOnlyOneCommand = new RelayCommand<object>(obj => OutOnlyOne(obj));
#endregion
Query();
}
@ -46,16 +56,36 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
#endregion
#region 事件定义
/// <summary>
/// 修改入库状态标识
/// </summary>
public RelayCommand<object> UpdateInStoreFlagCommand { get; set; }
/// <summary>
/// 修改出库状态标识
/// </summary>
public RelayCommand<object> UpdateOutStoreFlagCommand { get; set; }
/// <summary>
/// 修改异常状态标识
/// </summary>
public RelayCommand<object> UpdateUnusualFlagCommand { get; set; }
/// <summary>
/// 修改货道状态
/// </summary>
public RelayCommand<object> UpdateSpaceStatusCommand { get; set; }
/// <summary>
/// 货道明细
/// </summary>
public RelayCommand<object> SpaceDetailCommand { get; set; }
/// <summary>
/// 出一个
/// </summary>
public RelayCommand<object> OutOnlyOneCommand { get; set; }
#endregion
private void Query()
@ -87,7 +117,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道入库状态修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道入库状态修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -106,7 +136,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道出库状态修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道出库状态修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -125,7 +155,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道异常标识修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道异常标识修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -144,7 +174,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
if (result)
{
Query();
MessageBox.Show("货道状态修改成功");
MessageBoxTimeoutA((IntPtr)0, $"货道状态修改成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
@ -152,6 +182,10 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
}
}
/// <summary>
/// 货道明细
/// </summary>
/// <param name="obj"></param>
private void SpaceDetail(object obj)
{
string info = obj as string;
@ -160,6 +194,25 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
inventoryInfoBusiness.RefreshBaseSpaceDetails(appConfig.shellStoreCode, info);
}
/// <summary>
/// 手动出一个
/// </summary>
/// <param name="obj"></param>
private void OutOnlyOne(object obj)
{
string info = obj as string;
bool result = outStoreBusiness.OutOnlyOneBySpaceCode(appConfig.shellStoreCode, info);
if (result)
{
Query();
MessageBoxTimeoutA((IntPtr)0, $"出库任务创建成功3秒后关闭提示", "提示", 0, 0, 3000);
}
else
{
MessageBox.Show("出库任务创建失败");
}
}
}

@ -221,21 +221,22 @@ namespace Aucma.Scada.UI.viewModel.OutStoreInfo
/// <param name="materialCode"></param>
/// <param name="materialName"></param>
/// <param name="spaceName"></param>
/// <param name="materialType"></param>
private void RefreshScanInfo(string materialCode, string materialName, string spaceName, string materialType)
/// <param name="storeCode"></param>
private void RefreshScanInfo(string materialCode, string materialName, string spaceName, string storeCode)
{
if (materialType == appConfig.shellStoreCode)
if (storeCode == appConfig.shellStoreCode)
{
ShellMaterialCode = materialCode;
ShellMaterialName = materialName;
ShellSpaceName = spaceName;
}
else if (materialType == appConfig.linerStoreCode)
else if (storeCode == appConfig.linerStoreCode)
{
LinerMaterialCode = materialCode;
LinerMaterialName = materialName;
LinerSpaceName = spaceName;
}
Query();
}
/// <summary>

@ -41,6 +41,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="PlcConfig.cs" />
<Compile Include="AppConfig.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

@ -0,0 +1,86 @@
using HighWayIot.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HighWayIot.Config
{
public sealed class PlcConfig
{
private static IniHelper iniHelper = new IniHelper(System.Environment.CurrentDirectory + "/config/Plc.InI");
private static readonly Lazy<PlcConfig> lazy = new Lazy<PlcConfig>(() => new PlcConfig());
public static PlcConfig Instance
{
get
{
return lazy.Value;
}
}
private StringChange stringChange = StringChange.Instance;
private PlcConfig()
{
}
/// <summary>
/// 箱壳——出库货道号
/// </summary>
public string out_shell_spaceCode
{
get { return iniHelper.IniReadValue("shell_outStore_address", "出库货道号"); }
set { iniHelper.IniWriteValue("shell_outStore_address", "出库货道号", value); }
}
/// <summary>
/// 箱壳——出库数量
/// </summary>
public string out_shell_amount
{
get { return iniHelper.IniReadValue("shell_outStore_address", "出库数量"); }
set { iniHelper.IniWriteValue("shell_outStore_address", "出库数量", value); }
}
/// <summary>
/// 箱壳——出库任务号
/// </summary>
public string out_shell_task
{
get { return iniHelper.IniReadValue("shell_outStore_address", "出库任务号"); }
set { iniHelper.IniWriteValue("shell_outStore_address", "出库任务号", value); }
}
/// <summary>
/// 内胆——出库货道号
/// </summary>
public string out_liner_spaceCode
{
get { return iniHelper.IniReadValue("liner_outStore_address", "出库货道号"); }
set { iniHelper.IniWriteValue("liner_outStore_address", "出库货道号", value); }
}
/// <summary>
/// 内胆——出库数量
/// </summary>
public string out_liner_amount
{
get { return iniHelper.IniReadValue("liner_outStore_address", "出库数量"); }
set { iniHelper.IniWriteValue("liner_outStore_address", "出库数量", value); }
}
/// <summary>
/// 内胆——出库任务号
/// </summary>
public string out_liner_task
{
get { return iniHelper.IniReadValue("liner_outStore_address", "出库任务号"); }
set { iniHelper.IniWriteValue("liner_outStore_address", "出库任务号", value); }
}
}
}

@ -1 +1 @@
d2271f160ded016e3eb4397ec44d8490b0fbc09b
32b561275b20df30c4c09d41b5e25dfe3600b5bf

@ -27,3 +27,4 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\High
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.csproj.CopyComplete
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.pdb
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.csproj.AssemblyReference.cache

@ -33,3 +33,4 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Mqtt\obj\Debug\HighWay
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Mqtt\obj\Debug\HighWayIot.Mqtt.csproj.CopyComplete
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Mqtt\obj\Debug\HighWayIot.Mqtt.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Mqtt\obj\Debug\HighWayIot.Mqtt.pdb
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Mqtt\obj\Debug\HighWayIot.Mqtt.csproj.AssemblyReference.cache

@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace HighWayIot.Plc.Impl
{
public class SiemensPlc
public class SiemensPlc:IPlc
{
private LogHelper logHelper = LogHelper.Instance;
@ -401,5 +401,15 @@ namespace HighWayIot.Plc.Impl
return false;
}
}
public bool DisConnect()
{
throw new NotImplementedException();
}
public bool writeDoubleByAddress(string address, int value)
{
throw new NotImplementedException();
}
}
}

@ -34,6 +34,12 @@ namespace HighWayIot.Repository.domain
[SugarColumn(ColumnName = "TASK_STATUS")]
public int taskStatus { get; set; }
/// <summary>
/// 任务形式0-自动1-手动
/// </summary>
[SugarColumn(ColumnName = "TASK_MODEL")]
public int taskModel { get; set; }
/// <summary>
/// 计划编号
/// </summary>

@ -23,6 +23,13 @@ namespace HighWayIot.Repository.service
/// <returns></returns>
bool UpdateTaskInfo(RealTaskInfo taskInfo);
/// <summary>
/// 批量修改任务信息
/// </summary>
/// <param name="taskInfos"></param>
/// <returns></returns>
bool UpdateRangeTaskInfo(List<RealTaskInfo> taskInfos);
/// <summary>
/// 删除任务信息
/// </summary>

@ -76,6 +76,25 @@ namespace HighWayIot.Repository.service.Impl
return result;
}
/// <summary>
/// 批量更新任务信息
/// </summary>
/// <param name="taskInfos"></param>
/// <returns></returns>
public bool UpdateRangeTaskInfo(List<RealTaskInfo> taskInfos)
{
bool result = false;
try
{
result = _mesRepository.UpdateRange(taskInfos);
}
catch (Exception ex)
{
logHelper.Error("更新任务信息异常", ex);
}
return result;
}
/// <summary>
/// 通过任务编号更新任务状态
/// </summary>

@ -29,3 +29,4 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.csproj.CopyComplete
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.pdb
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.csproj.AssemblyReference.cache

Loading…
Cancel
Save