using HH.WMS.WebUI.Controllers;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.Mvc;
|
|
namespace HH.WMS.WebUI.Areas.AllQuery.Controllers
|
{
|
[AllowAnonymous]
|
[MvcMenuFilter(false)]
|
public class ThreeDController : BaseController
|
{
|
//
|
// GET: /AllQuery/ThreeD/
|
|
public ActionResult Index()
|
{
|
return View();
|
}
|
|
/// <summary>
|
/// 获取库区
|
/// </summary>
|
public string GetAreas()
|
{
|
return HttpWMS_Get("api/NtApi/GetArea?stockCode=" + "NTCK" + "&include=" + 4);
|
}
|
|
public string GetRows(string areaCode)
|
{
|
string returnValue = HttpWMS_Get("Api/NtApi/GetRowsList?stockCode=" + "NTCK" + "&areaCode=" + areaCode);
|
return returnValue;
|
}
|
|
/// <summary>
|
/// 获取排列层
|
/// </summary>
|
public string GetLocations(string areaCode)
|
{
|
var returnValue = HttpWMS_Get("Api/NtApi/GetTunnelLocations?stockCode=" + "NTCK" + "&areaCode=" + areaCode);
|
return returnValue;
|
}
|
|
}
|
}
|