using DOAN.Model.MES.base_; using DOAN.Model.MES.mm; using DOAN.Model.MES.product; using DOAN.Model.Mobile.Dto; using DOAN.Service.MES.mm; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOAN.Service.Mobile.IService { public interface IPreparationTaskService { List GetLines(); List GetWorkOrderList(DateTime HandleDate, string route_code); MaterialModel ParseMaterialCode(string materialCode); List GetWorkorderTask(string workorder); List GetTaskInfos(string task_code); int GenerateIngredientTask(IngredientTaskRequestForm form); List SearchTaskByLine(string lineCode, DateTime hadleDate); bool CheckAnyPerationMaterialRequirement(DateTime handleDate, string line_code); List CheckMaterialIsInDateAndLine(CheckMaterialDto checkMaterial); List GetTaskInfosByLine(string task_code); int GenerateIngredientTaskByline(IngredientTaskRequestForm2 form); int DeletePreparationMaterialTask(string task_code); int DeletePreparationMaterialInfo(string id); int UpdatePreParationMaterialNum(string id, decimal num); } }