using Aucma.Scada.Model.domain;
using System.Collections.Generic;
namespace HighWayIot.Repository.service
{
public interface IExecutePlanInfoService
{
///
/// 通过产线工位获取执行计划
///
///
///
List GetExecutePlanInfosByProductLineCode(string productLineCode);
///
/// 通过生产计划编号获取执行计划
///
///
///
List GetExecutePlanInfosByProductPlanCode(string productPlanCode);
///
/// 通过执行计划编号获取执行计划
///
///
///
ExecutePlanInfo GetExecutePlanInfoByPlanCode(string executePlanCode);
///
/// 通过产线工位获取执行顺序(默认+1)
///
///
///
int GetExecuteOrderByProductLineCode(string productLineCode);
///
/// 新增执行计划
///
///
///
bool InsertExecutePlanInfo(ExecutePlanInfo executePlanInfo);
///
/// 修改执行计划
///
///
///
bool UpdateExecutePlanInfo(ExecutePlanInfo executePlanInfo);
///
/// 批量修改执行计划
///
///
///
bool UpdateRangeExecutePlanInfo(List executePlanInfos);
///
/// 根据执行计划编号删除执行计划
///
///
///
bool DeleteExecutePlanInfoByPlanCode(string executePlanCode);
///
/// 获取工位小时产量
///
///
///
List GetStationHourAmount(string stationCode);
///
/// 获取物料型号统计
///
///
///
List GetStationMaterialStats(string stationCode);
}
}