using AUCMA.STORE.Business.Implements; using AUCMA.STORE.Business.Interface; using AUCMA.STORE.Entity.DTO; using AUCMA.STORE.Entity.Enums; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace AUCMA.STORE.UnitTest { [TestClass] public class UnitTest10 { private static IBaseTaskQueueBusiness baseTaskQueueBusiness = new BaseTaskQueueBusiness(); [TestMethod] public void TestMethod1() { test(); } public async void test() { /*TaskDTO task = new TaskDTO(); task.pilerTaskCode = 123456; task.pilerCode = "1002"; // task.boxCode = "8208001992BG1231"; //task.materialCode = "8208001992"; task.storeCode = "A"; task.taskStatus = Entity.Enums.TaskStatus.Await; task.taskType = Entity.Enums.TaskType.OutStore; task.locationArea = Entity.Enums.LocationArea.Location_Left; task.operationType = Entity.Enums.OperationType.Automatic; task.pilerClaimGoodsRows = 1; task.pilerClaimGoodsLine = 2; task.pilerClaimGoodsTier = 3; task.pilerUnloadRows = 2; task.pilerUnloadLine = 2; task.pilerUnloadTier = 2; await baseTaskQueueBusiness.WriteTaskQueue(task);*/ var info = baseTaskQueueBusiness.GetTaskQueue(LocationArea.Location_Left, TaskType.InStore, OperationType.ManualOperation); } } }