From cd1dd348d902eb620971963ce18dbb6a2c34a93a Mon Sep 17 00:00:00 2001 From: lxw Date: Tue, 4 Jun 2024 13:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E6=B1=A0=E7=A7=BB=E5=8A=A8task?= =?UTF-8?q?=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/BusinessTask/MyTask/BatteryMoveTask.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Service/BusinessTask/MyTask/BatteryMoveTask.cs b/Service/BusinessTask/MyTask/BatteryMoveTask.cs index 1e8558c..1d6c126 100644 --- a/Service/BusinessTask/MyTask/BatteryMoveTask.cs +++ b/Service/BusinessTask/MyTask/BatteryMoveTask.cs @@ -2,6 +2,7 @@ using Autofac; using Entity.Constant; using Entity.DbModel.Station; using HybirdFrameworkCore.Autofac; +using HybirdFrameworkCore.Autofac.Attribute; using HybirdFrameworkCore.AutoTask; using HybirdFrameworkCore.Entity; using log4net; @@ -17,6 +18,7 @@ namespace Service.BusinessTask.MyTask; /// /// 电池移仓任务 /// +[Scope] public class BatteryMoveTask : ITask { private static readonly ILog Log = LogManager.GetLogger(typeof(BatteryMoveTask));