using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Model.ModelDto.SysDto;
using Model.ModelVm.SysVm;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.ISysServer
{
public interface IStorageLocatServer
{
///
/// 查询储位信息
///
/// 仓库号
/// 巷道号
/// 区域号
/// 状态
/// 标志0:正常 1:屏蔽 2:损坏 屏蔽:储位不可存放货物,不影响内侧储位使用 损坏:内侧储位也不允许使用
/// 储位号
/// 排
/// 列
/// 层
///
///
///
///
List GetStorageLocatList(string houseNo, string roadwayNo, string areaNo, string status, string flag, string locat, int? row, int? col, int? layer, int page, int limit, out int count);
///
/// 查询单条储位信息
///
///
///
SysStorageLocat GetStorageLocat(int id);
///
/// 查询多条储位信息
///
///
List GetStorageLocat();
///
/// 编辑储位信息
///
///
/// 操作人
///
bool EditStorageLocat(EditLocateVm model, string url, int userId);
///
/// 添加储位信息(立体库)用于开发人员添加基础信息
///
/// 储位号
/// 当前排
/// 仓库号
/// 巷道号
/// 区域号
/// 排
/// 列
/// 层
/// 深度
/// 操作人
///
Task AddStorageLocat(int index, string houseNo, string roadwayNo, string areaNo, int row, int col, int layer, string dept, int userId);
///
/// 添加储位信息(平库)用于开发人员添加基础信息
///
/// 储位号
/// 仓库号
/// 巷道号
/// 区域号
/// 排
/// 列
/// 层
/// 深度
/// 操作人
///
Task AddPkStorageLocat(AddLocateVm model, int userId);
///
/// 编辑储位信息
///
///
/// 操作人
///
bool EditStorageLocatList(EditLocateListVm model, string url, int userId);
///
/// 获取储位信息
///
/// 仓库
/// 巷道号
/// 排
/// 深度
///
List GetStorageLocatLists(string wareHouseNo, string roadway, string row, string depth);
///
/// 获取最大层级
///
/// 仓库号
/// 仓库号
/// 仓库号
///
int GetMaxLayer(string wareHouseNo, string roadway, string row);
///
/// 获取最大列数
///
/// 仓库号
/// 仓库号
/// 仓库号
///
int GetColumn(string wareHouseNo, string roadway, string row);
///
/// 获取该仓库排数
///
/// 仓库号
///
List GetStorageLocatRow(string wareHouseNo);
///
/// 根据仓库获取该仓库深度
///
/// 仓库号
///
List GetDepth(string wareHouseNo);
///
/// 根据排获取该仓库深度
///
/// 排
///
List GetRowDepth(string row);
///
/// 获取库位占比(圆)
///
/// 仓库号
///
List GetStorageProportion(string wareHouseNo);
///
/// 获取库位占比(柱)
///
/// 仓库号
/// 巷道号
///
List GetStorageProportion1(string wareHouseNo, string roadwayNo);
///
/// 获取仓库巷道
///
/// 仓库号
///
List GetRoadwayList(string wareHouseNo);
///
/// 根据储位地址获取储位上的托盘和物品信息
///
///
///
LocateInfoVm GetLocateInfo(string locatNo);
///
/// 获取低储位巷道信息及剩余储位数量
///
///
List GetAvailabilityRoadry();
///
/// 根据想到获取排
///
/// 巷道
///
List ByRoadwayGetRow(string wareHouseNo, string roadwayNo);
#region 平库
///
/// 获取储位信息(平库图例)
///
/// 仓库
/// 排
///
List GetFlatLibraryLegend(string wareHouseNo, string row);
#endregion
Task GetFlatLegend(string wareHouseNo, int layer);
}
}