46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
|
|
using JiShe.CollectBus.Ammeters;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace JiShe.CollectBus.Workers
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 定时任务基础约束
|
|||
|
|
/// </summary>
|
|||
|
|
interface IWorkerScheduledService
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取电表信息
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task<List<AmmeterInfo>> GetAmmeterInfoList();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 初始化电表缓存数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task InitAmmeterCacheData();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 1分钟采集电表数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task ScheduledMeterOneMinuteReading();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 5分钟采集电表数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task ScheduledMeterFiveMinuteReading();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 15分钟采集电表数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task ScheduledMeterFifteenMinuteReading();
|
|||
|
|
}
|
|||
|
|
}
|