| | |
| | | *----------------------------------------------------------------*/ |
| | | #endregion << ç æ¬ 注 é >> |
| | | |
| | | using Autofac.Core; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using SqlSugar; |
| | | using System; |
| | |
| | | { |
| | | IRepository<Dt_Task> Repository { get; } |
| | | |
| | | |
| | | WebResponseContent CESTEXT(); |
| | | |
| | | //ä»»å¡åé¦ |
| | | WebResponseContent TaskCompleted(WCSTaskDTO wCSTask); |
| | | //WCSå
¥åºè·å |
| | | WebResponseContent PalletInboundTask(WCSTaskDTO wCSTask); |
| | | |
| | | //ä¸ä¼ MESï¼æå¨å®æ |
| | | WebResponseContent MESManualUpload(SaveModel saveModel); |
| | | |
| | | //æ¢å¤ä»»å¡ |
| | | WebResponseContent WMSTaskRecovery(SaveModel saveModel); |
| | | |
| | | |
| | | |
| | | |
| | | #region WCS任塿¨¡å |
| | | |
| | | //ä¸åWCSè¾éçº¿ä»»å¡ |
| | | WCSginseng PLC_IssueTasks(int TaskId, int AreaNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint); |
| | | WCSginseng PLC_IssueTasks(int TaskId, int AreaNo, string TransNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint, string ToStation); |
| | | //ä¸åWCSå åæºä»»å¡ |
| | | WCSginseng SC_IssueTasks(int TaskId, int AreaNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint); |
| | | WCSginseng SC_IssueTasks(int TaskId, int AreaNo, string TransNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint, string ToStation); |
| | | |
| | | |
| | | #endregion |
| | |
| | | //å
¥åºä»»å¡å馿¥å£ |
| | | MES_parameter InStoreDocCallback(string TransNo, string Result, string ResultMsg, string ContainerNo, string LocationCode); |
| | | //åºåºä»»å¡å馿¥å£ |
| | | MES_parameter OutStoreDocCallback(string TransNo, string Result, string ResultMsg, string ContainerNo, string LocationCode); |
| | | MES_parameter OutStoreDocCallback(string TransNo, string Result, string ResultMsg); |
| | | |
| | | //å¨ä½å¼å¨ç³è¯· |
| | | MES_parameter ApplicationChangeStorageLocation(string ContainerNo, string OriginalLocationCode, string NewLocationCode); |
| | |
| | | /// ä»»å¡å¼å¸¸ |
| | | MES_parameter ToMES_TaskException(string TransNo, string EquipmentType, string EquipmentNumber, string ErrorInfo); |
| | | #endregion |
| | | |
| | | |
| | | #region ä»»å¡éåï¼è·å任塿¨¡å |
| | | //è·åä»»å¡éå |
| | | List<Dt_Task> GetaskQueue(string deviceId); |
| | | |
| | | //æ ¹æ®è®¾å¤è·åæ¯å¦æå¨æ§è¡çä»»å¡ |
| | | bool CurrentTaskProgress(string deviceId); |
| | | |
| | | //è·åè¾é线éè¦ä¸åçä»»å¡ |
| | | List<Dt_Task> GetaskQueuePLC(); |
| | | |
| | | //è·åæ¯å¦æç§»åºä»»å¡ |
| | | Dt_Task GeRelocationTaskQueue(string LocationCode); |
| | | |
| | | //è·åæµ
è´§ä½æ¯å¦åå¨åºåºä»»å¡ |
| | | Dt_Task GeOutCuTaskQueue(string LocationCode); |
| | | |
| | | //夿å½åå åæºæ¯å¦æç§»åºä»»å¡ |
| | | bool RelocationTaskProgress(string deviceId); |
| | | #endregion |
| | | |
| | | #region å¯è§å大屿¨¡å |
| | | //ä»åºå®¹éç¶æ |
| | | WebResponseContent GetWarehouseCapacity(); |
| | | //åºå
¥åºç±»ååå¸ |
| | | WebResponseContent GetInOutTypeStats(); |
| | | //æµéæ
åµç»è®¡ |
| | | |
| | | WebResponseContent GetTodayTrafficStats(); |
| | | //å½åè¿è¡çä»»å¡ |
| | | WebResponseContent GetCurrentTasks(); |
| | | //æ»ä½è¿åº¦ |
| | | WebResponseContent GetWarehouseOperationStatistics(); |
| | | |
| | | #endregion |
| | | WebResponseContent GetTaskDestination(string targetAddress); |
| | | } |
| | | } |