예제 #1
0
        public ActionResult AddTrayAction(string processName, bool isWithdraw)
        {
            var success = RobotProcessController.AddTrayAction(processName, isWithdraw ? TrayAction.Action.Withdraw : TrayAction.Action.Depose, MyRobot);

            return(Json(new { Success = success }, JsonRequestBehavior.AllowGet));
        }