111
yanjinhui
2025-03-26 da2e87c2a05debbcc7dac5efb5d13c92d533782f
ÏîÄ¿´úÂë/WIDESEAWCS_Server Õýʽ/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs
@@ -20,10 +20,14 @@
        }
        /// <summary>
        /// èŽ·å–å¥—ç­’æ•°é‡
        /// </summary>
        /// <returns>返回班组、总步骤、套筒数量</returns>
        [HttpGet, Route("GetSleeveandStep"), AllowAnonymous]
        public WebResponseContent GetSleeveandStep(string grops)
        public WebResponseContent GetSleeveandStep()
        {
            return Service.GetSleeveandStep(grops);
            return Service.GetSleeveandStep();
        }
        /// <summary>
@@ -50,13 +54,12 @@
        
        
        }
        /// <summary>
        /// ä¸‹ä¸€æ­¥
        /// å·¥è‰ºä¸‹ä¸€æ­¥è·³è½¬
        /// </summary>
        /// <param name="setpDTO"></param>
        /// <param name="flag"></param>
        /// <returns></returns>
        /// <param name="setpDTO">当前班组的任务当前步骤</param>
        /// <param name="flag">是否强制执行;是true,否false</param>
        /// <returns>返回1、当前步骤;2、最大步骤;3、已完成的工艺</returns>
        [HttpPost, Route("Nextprocess"), AllowAnonymous]
        public WebResponseContent Nextprocess([FromBody] SetpDTO setpDTO, bool flag)
        {
@@ -74,5 +77,17 @@
            return Service.PreviousProcess(setpDTO);
        }
        /// <summary>
        /// è¯»å–当前工艺步骤的扭力值与次数
        /// </summary>
        /// <param name="grop"></param>
        /// <param name="setnum"></param>
        /// <returns></returns>
        [HttpPost, Route("GetValueandNumber"), AllowAnonymous]
        public WebResponseContent GetValueandNumber(string grop, int setnum)
        {
            return Service.GetValueandNumber(grop, setnum);
        }
    }
}