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(); /// /// 智能货架业务 /// public static _Biz_Shelf Shelf => _Shelf; /// /// 智能货架业务类 /// 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 GetChuteInfo(List list) => await _GetChuteInfo.Execute(list); public async Task GetChuteInfo(WMS_SHELF shelf) => await _GetChuteInfo.Execute(shelf); public async Task GetChuteInfo(WMS_LOCATION location) => await _GetChuteInfo.Execute(location); public async Task LightAll(string shelfCode, LedColor color) => await _LightAll.Execute(shelfCode, color); public async Task LightAll(WMS_SHELF shelf, LedColor color) => await _LightAll.Execute(shelf, color); public async Task LightAll(WMS_LOCATION location, LedColor color) => await _LightAll.Execute(location, color); public async Task DownAll(string shelfCode) => await _DownAll.Execute(shelfCode); public async Task DownAll(WMS_SHELF shelf) => await _DownAll.Execute(shelf); public async Task DownAll(WMS_LOCATION location) => await _DownAll.Execute(location); public async Task LightMulti(string pdaId, LedColor color, List list) => await _LightMulti.Execute(pdaId, color, list); public async Task LightMulti(string pdaId, LedColor color,string shelfCode, List ledidList) => await _LightMulti.Execute(pdaId, color,shelfCode,ledidList); public async Task LightMulti(string pdaId, LedColor color, WMS_SHELF shelf) => await _LightMulti.Execute(pdaId, color, shelf); public async Task LightMulti(string pdaId, LedColor color, WMS_LOCATION location) => await _LightMulti.Execute(pdaId, color, location); public async Task DownMulti(string pdaId, List list) => await _DownMulti.Execute(pdaId, list); public async Task DownMulti(string pdaId, WMS_SHELF shelf) => await _DownMulti.Execute(pdaId, shelf); public async Task DownMulti(string pdaId, string shelfCode, List ledidList) => await _DownMulti.Execute(pdaId, shelfCode, ledidList); public async Task DownMulti(string pdaId, WMS_LOCATION location) => await _DownMulti.Execute(pdaId, location); public async Task LightSingle(string pdaId, LedColor color, WMS_LOCATION location) => await _LightSingle.Execute(pdaId, color, location); public async Task DownSingle(string pdaId, WMS_LOCATION location) => await _DownSingle.Execute(pdaId, location); public async Task OperateTowerLight(TowerColor color, WMS_SHELF shelf) => await _OperateTowerLight.Execute(color, shelf); public async Task OperateTowerLight(TowerColor color, WMS_LOCATION location) => await _OperateTowerLight.Execute(color, location); public async Task PutOn(string pdaId, WMS_SHELF shelf, WMS_ITEM curItem) => await _PutOn.Execute(pdaId, shelf, curItem); } } }