You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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 MyModuleTest1 : IMyModuleTest1
|
|
|
|
|
{
|
|
|
|
|
public Task<DataResult> TestMethod11(TaskFlowDataContext dataContext)
|
|
|
|
|
{
|
|
|
|
|
throw new Exception("TestMethod11内的测试异常");
|
|
|
|
|
//return Task.FromResult(DataResult.Successed("ok"));
|
|
|
|
|
}
|
|
|
|
|
public DataResult TestMethod12(TaskFlowDataContext dataContext)
|
|
|
|
|
{
|
|
|
|
|
throw new Exception("TestMethod12内的测试异常");
|
|
|
|
|
//return DataResult.Successed("ok");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|