using Admin.Core.Model; using Admin.Core.Model.ViewModels; using System.Collections.Generic; using System.Threading.Tasks; namespace Admin.Core.IService { /// /// IExecutePlanInfoServices /// public interface IExecutePlanInfoServices : IBaseServices { /// /// 计划上移 /// /// /// /// Task PlanMoveUp(string id,string station); /// /// 计划下移 /// /// /// /// Task PlanMoveDown(string id, string station); /// /// 删除计划 /// /// /// Task ExecPlanDelete(string id); /// /// 下发计划 /// /// /// Task PlanNextPass(ExecutePlanInfo sm); #region 出入库操作 /// /// 通过产线工位获取执行计划 /// /// /// Task> GetExecutePlanInfosByProductLineCode(string productLineCode); /// /// 通过生产计划编号获取执行计划 /// /// /// Task> GetExecutePlanInfosByProductPlanCode(string productPlanCode); /// /// 通过执行计划编号获取执行计划 /// /// /// Task GetExecutePlanInfoByPlanCode(string executePlanCode); /// /// 通过产线工位获取执行顺序(默认+1) /// /// /// Task GetExecuteOrderByProductLineCode(string productLineCode); /// /// 新增执行计划 /// /// /// Task InsertExecutePlanInfo(ExecutePlanInfo executePlanInfo); /// /// 修改执行计划 /// /// /// Task UpdateExecutePlanInfo(ExecutePlanInfo executePlanInfo); /// /// 批量修改执行计划 /// /// /// Task UpdateRangeExecutePlanInfo(List executePlanInfos); /// /// 根据执行计划编号删除执行计划 /// /// /// Task DeleteExecutePlanInfoByPlanCode(string executePlanCode); /// /// 获取工位小时产量 /// /// /// Task> GetStationHourAmount(string stationCode); /// /// 获取物料型号统计 /// /// /// Task> GetStationMaterialStats(string stationCode); Task> GetStationSheetMetalHourAmountAsync(string stationCode); List GetStationSheetMetalStats(string stationCode); /// /// 查询钣金计划任务信息 /// /// /// List QuerySheetMetalData(string stationCode); /// /// 获取钣金当前工位计划 /// /// /// List QuerySheetMetalPlanData(string stationCode); /// /// 查询钣金计划执行任务 /// /// /// List QuerySheetMetalSendPlanData(string stationCode); /// /// 修改钣金执行计划 /// /// /// Task UpdateSheetMetalExecutePlanInfo(int execPanId,int status); #endregion } }