2024-09-19 09:34:54 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2024-09-19 10:03:04 +08:00
|
|
|
|
using DOAN.Model.JobKanban;
|
2024-09-19 09:34:54 +08:00
|
|
|
|
using DOAN.Model.MES.base_;
|
2024-09-19 09:42:54 +08:00
|
|
|
|
using DOAN.Model.MES.product;
|
2024-09-19 10:03:04 +08:00
|
|
|
|
using DOAN.Model.MES.product.Dto;
|
2024-09-19 09:34:54 +08:00
|
|
|
|
namespace DOAN.Service.JobKanban.IService
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IWorkorderProgressService
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
List<BaseWorkRoute> GetRoutes();
|
|
|
|
|
|
List<BaseGroup> GetGroups();
|
2024-09-19 09:42:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<ProWorkorder> GetWorkOrderList(string group_code, string line_code, DateTime handleDate);
|
2024-09-19 09:53:04 +08:00
|
|
|
|
|
2024-09-19 10:51:31 +08:00
|
|
|
|
List<ProWorkorderDto4> GetWorkOrderListNoFinish(DateTime today, string line_code, string group_code);
|
2024-09-19 09:53:04 +08:00
|
|
|
|
|
2024-09-19 10:03:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ProWorkorderDto4 GetWorkOrderDetail(string workorder);
|
|
|
|
|
|
|
2024-09-19 11:15:11 +08:00
|
|
|
|
KanbanInfo GetKanbanNum(DateTime today, string line_code, string group_code);
|
2024-09-19 10:51:31 +08:00
|
|
|
|
int StartWorkOrder(string workorder);
|
|
|
|
|
|
int FinishWorkOrder(string workorder);
|
2024-09-27 10:56:01 +08:00
|
|
|
|
ProWorkorder GetProductingWorkorder(string line_code, DateTime handleDate);
|
|
|
|
|
|
int AddLabelLog(string labelContext, string workOrder);
|
2024-09-19 10:51:31 +08:00
|
|
|
|
|
2024-09-27 10:56:01 +08:00
|
|
|
|
int LabelWorkOrderMatch(string LabelContext, string workOrder);
|
2024-09-19 14:33:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-11-06 13:38:49 +08:00
|
|
|
|
int ErrorProofingAndReportingWork(string workorder, string labelContext);
|
2024-09-19 15:39:51 +08:00
|
|
|
|
|
2024-11-06 15:10:26 +08:00
|
|
|
|
int FinishWorkorder(string workorder, int finish_num);
|
|
|
|
|
|
|
|
|
|
|
|
(int ,int) GetWorkOrderProgress(string workorder);
|
2024-11-06 15:16:32 +08:00
|
|
|
|
(DateTime, DateTime) GetWorkOrderTime(string workorder);
|
2024-09-19 14:41:13 +08:00
|
|
|
|
|
2024-09-19 09:34:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|