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/IProductPlanInfoService.cs

51 lines
1.5 KiB
C#

using Aucma.Scada.Model.domain;
using System.Collections.Generic;
namespace HighWayIot.Repository.service
{
public interface IProductPlanInfoService
{
///<summary>
///通过订单号和工位查询工单号
/// </summary>
string GetPlanCode(string orderCode, string station);
/// <summary>
/// 通过产线工位获取生产计划
/// </summary>
/// <param name="productLineCode"></param>
/// <returns></returns>
List<ProductPlanInfo> GetProductPlanInfosByProductLineCode(string productLineCode);
/// <summary>
/// 通过计划编号获取计划信息
/// </summary>
/// <param name="planCode"></param>
/// <returns></returns>
ProductPlanInfo GetProductPlanByPlanCode(string planCode);
/// <summary>
/// 添加生产计划
/// </summary>
/// <param name="productPlanInfo"></param>
/// <returns></returns>
bool InsertProductPlanInfo(ProductPlanInfo productPlanInfo);
/// <summary>
/// 修改生产计划
/// </summary>
/// <param name="productPlanInfo"></param>
/// <returns></returns>
bool UpdateProductPlanInfo(ProductPlanInfo productPlanInfo);
/// <summary>
/// 通过物料编码找到生产计划
/// </summary>
/// <param name="productLineCode"></param>
/// <returns></returns>
ProductPlanInfo GetProductPlanInfosByMaterialCode(string materialCode);
}
}