using Tiger.Model;
|
using Rhea.Common;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Linq.Expressions;
|
using System.Text;
|
using System.Threading.Tasks;
|
using Tiger.IBusiness;
|
using Tiger.Business.WMS.Sharetronic.Shelf;
|
using Tiger.Model.Sharetronic.Shelf;
|
|
namespace Tiger.Business.WMS
|
{
|
public partial class Share
|
{
|
private static _Biz_Shelf _Shelf = new();
|
/// <summary>
|
/// 智能货架业务
|
/// </summary>
|
public static _Biz_Shelf Shelf => _Shelf;
|
|
/// <summary>
|
/// 智能货架业务类
|
/// </summary>
|
public partial class _Biz_Shelf : IBiz_Shelf
|
{
|
private Api.GetChuteInfo _GetChuteInfo = new();
|
private Api.LightAll _LightAll = new();
|
private Api.DownAll _DownAll = new();
|
private Api.LightMulti _LightMulti = new();
|
private Api.DownMulti _DownMulti = new();
|
private Api.LightSingle _LightSingle = new();
|
private Api.DownSingle _DownSingle = new();
|
private Api.OperateTowerLight _OperateTowerLight = new();
|
private Api.PutOn _PutOn = new();
|
|
public async Task<ShelfApiResult> GetChuteInfo(List<WMS_LOCATION> list) => await _GetChuteInfo.Execute(list);
|
public async Task<ShelfApiResult> GetChuteInfo(WMS_SHELF shelf) => await _GetChuteInfo.Execute(shelf);
|
public async Task<ShelfApiResult> GetChuteInfo(WMS_LOCATION location) => await _GetChuteInfo.Execute(location);
|
public async Task<ShelfApiResult> LightAll(string shelfCode, LedColor color) => await _LightAll.Execute(shelfCode, color);
|
public async Task<ShelfApiResult> LightAll(WMS_SHELF shelf, LedColor color) => await _LightAll.Execute(shelf, color);
|
public async Task<ShelfApiResult> LightAll(WMS_LOCATION location, LedColor color) => await _LightAll.Execute(location, color);
|
public async Task<ShelfApiResult> DownAll(string shelfCode) => await _DownAll.Execute(shelfCode);
|
public async Task<ShelfApiResult> DownAll(WMS_SHELF shelf) => await _DownAll.Execute(shelf);
|
public async Task<ShelfApiResult> DownAll(WMS_LOCATION location) => await _DownAll.Execute(location);
|
public async Task<ShelfApiResult> LightMulti(string pdaId, LedColor color, List<WMS_LOCATION> list) => await _LightMulti.Execute(pdaId, color, list);
|
public async Task<ShelfApiResult> LightMulti(string pdaId, LedColor color,string shelfCode, List<int> ledidList) => await _LightMulti.Execute(pdaId, color,shelfCode,ledidList);
|
public async Task<ShelfApiResult> LightMulti(string pdaId, LedColor color, WMS_SHELF shelf) => await _LightMulti.Execute(pdaId, color, shelf);
|
public async Task<ShelfApiResult> LightMulti(string pdaId, LedColor color, WMS_LOCATION location) => await _LightMulti.Execute(pdaId, color, location);
|
public async Task<ShelfApiResult> DownMulti(string pdaId, List<WMS_LOCATION> list) => await _DownMulti.Execute(pdaId, list);
|
public async Task<ShelfApiResult> DownMulti(string pdaId, WMS_SHELF shelf) => await _DownMulti.Execute(pdaId, shelf);
|
public async Task<ShelfApiResult> DownMulti(string pdaId, string shelfCode, List<int> ledidList) => await _DownMulti.Execute(pdaId, shelfCode, ledidList);
|
public async Task<ShelfApiResult> DownMulti(string pdaId, WMS_LOCATION location) => await _DownMulti.Execute(pdaId, location);
|
public async Task<ShelfApiResult> LightSingle(string pdaId, LedColor color, WMS_LOCATION location) => await _LightSingle.Execute(pdaId, color, location);
|
public async Task<ShelfApiResult> DownSingle(string pdaId, WMS_LOCATION location) => await _DownSingle.Execute(pdaId, location);
|
public async Task<ShelfApiResult> OperateTowerLight(TowerColor color, WMS_SHELF shelf) => await _OperateTowerLight.Execute(color, shelf);
|
public async Task<ShelfApiResult> OperateTowerLight(TowerColor color, WMS_LOCATION location) => await _OperateTowerLight.Execute(color, location);
|
public async Task<ShelfApiResult> PutOn(string pdaId, WMS_SHELF shelf, WMS_ITEM curItem) => await _PutOn.Execute(pdaId, shelf, curItem);
|
}
|
}
|
}
|