using DS.Module.Core; using DS.Module.Core.Data; using DS.WMS.Core.TaskPlat.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.TaskPlat.Method { public class MyModuleTest2 : IMyModuleTest2 { public Task TestMethod21(TaskFlowDataContext dataContext) { //throw new Exception("TestMethod21内的测试异常"); return Task.FromResult(DataResult.Successed($"TestMethod21返回的成功结果")); } } }