using Aspose.Cells; using NFine.Application.SRM; using NFine.Code; using System; using System.Data; using System.Drawing; using System.IO; using System.Web.Mvc; namespace NFine.Web.Areas.SRM.Controllers { public class WatchPanelController : ControllerBase { private WatchPanelApp App = new WatchPanelApp(); public virtual ActionResult PanelWIP_WorkShop() { return View(); } [HttpPost] public ActionResult GetPlanAndGoodRate() { try { return Content(App.GetPlanAndGoodRate().ToJson()); } catch (Exception ex) { return Content(ex.Message); } } [HttpPost] public ActionResult GetOrderCompleteQty() { try { return Content(App.GetOrderCompleteQty().ToJson()); } catch (Exception ex) { return Content(ex.Message); } } [HttpPost] public ActionResult GetOrderCompleteQtyWithSeg() { try { return Content(App.GetOrderCompleteQtyWithSeg().ToJson()); } catch (Exception ex) { return Content(ex.Message); } } [HttpPost] public ActionResult GetOrderCheckQtyWithSeg() { try { return Content(App.GetOrderCheckQtyWithSeg().ToJson()); } catch (Exception ex) { return Content(ex.Message); } } [HttpPost] public ActionResult GetMoProcess(int begin, int totalCount) { try { return Content(App.GetMoProcess(begin, totalCount).ToJson()); } catch (Exception ex) { return Content(ex.Message); } } } }