天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
854 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.FJC.Entity.EnergyManage;
namespace MeterReadingService.MeterReader
{
/// <summary>
/// 仪表读表接口
/// </summary>
public interface IMeterReader
{
/// <summary>
/// 读表
/// </summary>
/// <param name="meter"></param>
/// <returns></returns>
double Read(Meter meter);
/// <summary>
/// 开始读表
/// </summary>
/// <param name="meter"></param>
/// <returns></returns>
IAsyncResult BeginRead(Meter meter,AsyncCallback readCallback,object state);
/// <summary>
/// 读表结束
/// </summary>
void EndRead(out int result, out double reading, out string error, IAsyncResult Asyncresult);
}
}