using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Calculation
|
{
|
/// <summary>
|
/// 调度分析计算器接口
|
/// </summary>
|
public interface IDispatchAnalyCalculator
|
{
|
/// <summary>
|
/// 获取当前调度信息
|
/// </summary>
|
/// <param name="CorpID"></param>
|
/// <param name="StationID"></param>
|
/// <param name="error_info"></param>
|
/// <returns></returns>
|
IStation.Calculation.DispatchAna.Model.CurrentRecordBundle GetCurrentRecord(long CorpID,long StationID,out string error_info);
|
|
/// <summary>
|
/// 计算(最优):需要添加实时数据
|
/// </summary>
|
/// <param name="complex_request_paras">需求参数</param>
|
/// <param name="machine_run_status"></param>
|
/// <param name="error_info">错误信息</param>
|
/// <returns></returns>
|
List<IStation.Calculation.DispatchAna.Model.AnaScheme> CalcOptListByPre(
|
IStation.Calculation.DispatchAna.Model.RequestParasComplex complex_request_paras,
|
IStation.Calculation.DispatchAna.Model.MachineRunPara machine_run_status,
|
out string error_info);
|
|
/// <summary>
|
/// 计算(最优)
|
/// </summary>
|
/// <param name="complex_request_paras"></param>
|
/// <param name="machine_run_status"></param>
|
/// <param name="error_info"></param>
|
/// <returns></returns>
|
List<IStation.Calculation.DispatchAna.Model.AnaScheme> CalcOptListByWhole(
|
IStation.Calculation.DispatchAna.Model.RequestParasComplex complex_request_paras,
|
IStation.Calculation.DispatchAna.Model.MachineRunPara machine_run_status,
|
out string error_info);
|
|
|
|
/// <summary>
|
/// 计算保持当前开机状态
|
/// </summary>
|
/// <param name="requesParas"></param>
|
/// <param name="openMachineIdList">开泵ID</param>
|
/// <param name="error_info">错误信息</param>
|
/// <returns></returns>
|
IStation.Calculation.DispatchAna.Model.AnaScheme CalcKeepStatusByWhole(
|
IStation.Calculation.DispatchAna.Model.RequestParasComplex requesParas,
|
List<long> openMachineIdList,
|
out string error_info);
|
|
|
|
}
|
}
|