You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aucma.Scada/HighWayIot.Repository/service/IExecutePlanInfoService.cs

87 lines
2.9 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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