|
@@ -11,9 +11,9 @@ namespace WCS.WorkEngineering.WebApi.Controllers
|
|
|
|
|
|
public static class WmsApi
|
|
|
{
|
|
|
- private static string Url = "http://192.168.249.150:8026";
|
|
|
+ public static string WMSUrl = null!;
|
|
|
|
|
|
- private static string wareHouseId = "opphouse";
|
|
|
+ public static string wareHouseId = null!;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分配货位
|
|
@@ -25,7 +25,7 @@ namespace WCS.WorkEngineering.WebApi.Controllers
|
|
|
/// <exception cref="Exception"></exception>
|
|
|
public static I_WCS_GetWareCellResponse GetLocalIn(int wcsTaskNum, string tunnel, string device)
|
|
|
{
|
|
|
- var res = APICaller.CallApi2<I_WCS_GetWareCellResponse>(Url + "/api/Task/I_WCS_GetWareCell", new I_WCS_GetWareCellRequest
|
|
|
+ var res = APICaller.CallApi2<I_WCS_GetWareCellResponse>(WMSUrl + "/api/Task/I_WCS_GetWareCell", new I_WCS_GetWareCellRequest
|
|
|
{
|
|
|
PickUpEquipmentNo = device,
|
|
|
TunnelNum = tunnel.Last().ToString(),
|