电池移动task注入

master
lxw 6 months ago
parent 00cf40a1f3
commit cd1dd348d9

@ -2,6 +2,7 @@ using Autofac;
using Entity.Constant; using Entity.Constant;
using Entity.DbModel.Station; using Entity.DbModel.Station;
using HybirdFrameworkCore.Autofac; using HybirdFrameworkCore.Autofac;
using HybirdFrameworkCore.Autofac.Attribute;
using HybirdFrameworkCore.AutoTask; using HybirdFrameworkCore.AutoTask;
using HybirdFrameworkCore.Entity; using HybirdFrameworkCore.Entity;
using log4net; using log4net;
@ -17,6 +18,7 @@ namespace Service.BusinessTask.MyTask;
/// <summary> /// <summary>
/// 电池移仓任务 /// 电池移仓任务
/// </summary> /// </summary>
[Scope]
public class BatteryMoveTask : ITask public class BatteryMoveTask : ITask
{ {
private static readonly ILog Log = LogManager.GetLogger(typeof(BatteryMoveTask)); private static readonly ILog Log = LogManager.GetLogger(typeof(BatteryMoveTask));

Loading…
Cancel
Save