BaseServices.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using NXWMS.Client.Interface.Base;
  2. using NXWMS.Client.Interface.Instock;
  3. using NXWMS.Client.WebApiService.Routers.Base;
  4. using NXWMS.Client.WebApiService.Routers.Instock;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. namespace NXWMS.Services
  10. {
  11. /// <summary>
  12. /// 基础服务
  13. /// </summary>
  14. public static class BaseServices
  15. {
  16. /// <summary>
  17. /// 库区
  18. /// </summary>
  19. public static IRegionService regionService => new RegionService();
  20. /// <summary>
  21. /// 仓库
  22. /// </summary>
  23. public static IWarehouseService warehouseService => new WarehouseService();
  24. /// <summary>
  25. /// 区域
  26. /// </summary>
  27. public static IAreaService areaService => new AreaService();
  28. /// <summary>
  29. /// 库位
  30. /// </summary>
  31. public static IBinService binService => new BinLocationService();
  32. /// <summary>
  33. /// 客户
  34. /// </summary>
  35. public static ICustomerService customerService => new CustomerService();
  36. /// <summary>
  37. /// 供应商
  38. /// </summary>
  39. public static ISupplierService supplierService => new SupplierService();
  40. /// <summary>
  41. /// 包装
  42. /// </summary>
  43. public static IPackageService packageService => new PackageService();
  44. /// <summary>
  45. /// 物品类型
  46. /// </summary>
  47. public static IMaterielTypeService materielTypeService => new MaterielTypeService();
  48. /// <summary>
  49. /// 物品
  50. /// </summary>
  51. public static IMaterielService materielService => new MaterielService();
  52. /// <summary>
  53. /// 单位
  54. /// </summary>
  55. public static IUnitService unitService => new UnitService();
  56. /// <summary>
  57. /// 托盘类型
  58. /// </summary>
  59. public static IPalletTypeService palletTypeService => new PalletTypeService();
  60. /// <summary>
  61. /// 托盘
  62. /// </summary>
  63. public static IPalletService palletService => new PalletService();
  64. }
  65. }