示例#1
0
 public IActionResult PrintLabel(long materialId, [FromQuery] int process = 1, [FromQuery] int loadStation = 1)
 {
     if (_impl != null && _impl.PrintLabel != null)
     {
         _impl.PrintLabel(materialId, process, loadStation);
         return(Ok());
     }
     else
     {
         return(BadRequest("FMS configuration does not support printing labels"));
     }
 }