2026-01-22 11:07:21 +08:00
|
|
|
|
using DOAN.Model.JobKanban;
|
|
|
|
|
|
using DOAN.Model.mes.echarts;
|
|
|
|
|
|
using DOAN.Model.MES.base_;
|
|
|
|
|
|
using DOAN.Model.MES.product;
|
|
|
|
|
|
using DOAN.Model.MES.product.Dto;
|
|
|
|
|
|
using System;
|
2024-09-19 09:34:54 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace DOAN.Service.JobKanban.IService
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IWorkorderProgressService
|
|
|
|
|
|
{
|
|
|
|
|
|
List<BaseWorkRoute> GetRoutes();
|
|
|
|
|
|
List<BaseGroup> GetGroups();
|
2024-09-19 09:42:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-11-07 10:58:06 +08:00
|
|
|
|
List<ProReportwork> GetReportWorkRecord(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-11-07 16:45:06 +08:00
|
|
|
|
List<ProWorkorder> GetWorkOrderList(string group_code, string line_code, DateTime handleDate);
|
|
|
|
|
|
|
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);
|
2025-12-10 19:05:52 +08:00
|
|
|
|
Task<int> StartWorkOrder(string workorder);
|
2026-01-22 11:07:21 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int PauseWorkOrder(string workorder);
|
2026-01-31 15:46:56 +08:00
|
|
|
|
//int RecoverWorkOrder(string workorder);
|
2024-09-19 10:51:31 +08:00
|
|
|
|
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-14 16:47:47 +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 16:14:12 +08:00
|
|
|
|
(DateTime, float) GetWorkOrderTime(string workorder);
|
2024-11-07 11:35:17 +08:00
|
|
|
|
|
|
|
|
|
|
List<ProReportworkDetail> GetWorkOrderScanCodeInfo(string workorder);
|
2025-04-10 16:51:14 +08:00
|
|
|
|
|
|
|
|
|
|
bool SwitchWorkOrderCheckLabel(string pre_workorder);
|
2026-01-22 11:07:21 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EchartsOptions GetHourlyProduction(string groupCode);
|
2026-02-05 10:02:39 +08:00
|
|
|
|
|
|
|
|
|
|
int GetLastHourCompletionRate(string workorder);
|
2024-09-19 09:34:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|