终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

88 lines
2.6 KiB

  1. using BPA.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.DosingSystem.Service
  8. {
  9. public class ApiRoute
  10. {
  11. private static string APIAddress => "http://111.9.47.105:18090";
  12. //private static string APIAddress => "https://localhost:44342";
  13. /// <summary>
  14. /// 货架路由
  15. /// </summary>
  16. public static string StoreShelves => $"{APIAddress}/StoreShelves/List";
  17. /// <summary>
  18. /// 库位路由
  19. /// </summary>
  20. public static string StorePlace => $"{APIAddress}/StorePlace/MaterialStorePlaceList";
  21. /// <summary>
  22. /// 库位数据更新(库位坐标更新)
  23. /// </summary>
  24. public static string StorePlaceUpdate => $"{APIAddress}/StorePlace/Update";
  25. /// <summary>
  26. /// 获取物料信息
  27. /// </summary>
  28. public static string GetMaterialInfo => $"{APIAddress}/Material/GetMaterialList";
  29. /// <summary>
  30. /// 获取电子标签
  31. /// </summary>
  32. public static string GetCaseTagList => $"{APIAddress}/CaseTag/List";
  33. /// <summary>
  34. /// 出入库管理
  35. /// </summary>
  36. public static string StockFlowManager => $"{APIAddress}/StockFlow/Add";
  37. /// <summary>
  38. /// 库位解绑
  39. /// </summary>
  40. public static string StockUnBind => $"{APIAddress}/MaterialStock/UnBind";
  41. /// <summary>
  42. /// 绑定标签
  43. /// </summary>
  44. public static string BindTag => $"{APIAddress}/StorePlace/BindCaseTag";
  45. /// <summary>
  46. /// 库位坐标批量更新
  47. /// </summary>
  48. public static string BatchUpdate => $"{APIAddress}/StorePlace/BatchUpdate";
  49. /// <summary>
  50. /// 出入库流水记录添加(更新库位余量数据)
  51. /// </summary>
  52. public static string MaterialStockUpdate => $"{APIAddress}/StockFlow/Add";
  53. /// <summary>
  54. /// 库存盘点数据
  55. /// </summary>
  56. public static string StoreStockTakingInfo => $"{APIAddress}/StoreStockTakingInfo/Add";
  57. /// <summary>
  58. /// 工单下发数据
  59. /// </summary>
  60. public static string WorkOrderData => $"{APIAddress}/WorkOrder/WorkOrderData";
  61. /// <summary>
  62. /// 业务插件唯一性状态设置
  63. /// </summary>
  64. public static string SetStatus => $"{APIAddress}/Basic/PlugInstatusSet?state=";
  65. /// <summary>
  66. /// 获取库房信息
  67. /// </summary>
  68. public static string GetStoreHouseInfo => $"{APIAddress}/StoreHouse/List";
  69. }
  70. }