|
@@ -1,4 +1,5 @@
|
|
|
using PlcSiemens.Core.Extension;
|
|
|
+using ServiceCenter.Logs;
|
|
|
using ServiceCenter.Redis;
|
|
|
using ServiceCenter.SqlSugars;
|
|
|
using System.ComponentModel;
|
|
@@ -8,7 +9,6 @@ using WCS.WorkEngineering.Extensions;
|
|
|
using WCS.WorkEngineering.WebApi.Controllers;
|
|
|
using WCS.WorkEngineering.WebApi.Models.AGV.Response;
|
|
|
using WCS.WorkEngineering.Worlds;
|
|
|
-using WCS.WorkEngineering.Worlds.Logs;
|
|
|
|
|
|
namespace WCS.WorkEngineering.Systems
|
|
|
{
|
|
@@ -131,7 +131,7 @@ namespace WCS.WorkEngineering.Systems
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
- World.Log(ex.Message, Worlds.Logs.LogLevelEnum.Mid);
|
|
|
+ World.Log(ex.Message, LogLevelEnum.Mid);
|
|
|
}
|
|
|
|
|
|
#endregion 处理所有的新增任务
|
|
@@ -179,7 +179,7 @@ namespace WCS.WorkEngineering.Systems
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
- World.Log(ex.Message, Worlds.Logs.LogLevelEnum.Mid);
|
|
|
+ World.Log(ex.Message, LogLevelEnum.Mid);
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
@@ -218,7 +218,7 @@ namespace WCS.WorkEngineering.Systems
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
- World.Log(ex.Message, Worlds.Logs.LogLevelEnum.Mid);
|
|
|
+ World.Log(ex.Message, LogLevelEnum.Mid);
|
|
|
continue;
|
|
|
}
|
|
|
}
|