38 lines
958 B
C#
38 lines
958 B
C#
using Infrastructure.Attribute;
|
|
using NPOI.SS.Formula.Functions;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MDM.Flows
|
|
{
|
|
/// <summary>
|
|
/// 普通流程功能函数
|
|
/// </summary>
|
|
[AppService(ServiceType = typeof(CommonFlowfunction), ServiceLifetime = LifeTime.Singleton)]
|
|
public class CommonFlowfunction
|
|
{
|
|
/// <summary>
|
|
/// 开工
|
|
/// </summary>
|
|
/// <param name="workorder">工单号</param>
|
|
/// <param name="processcode">过程码</param>
|
|
/// <returns></returns>
|
|
public static int CommenceWork(string workorder,string processcode)
|
|
{
|
|
return 1;
|
|
|
|
}
|
|
/// <summary>
|
|
/// 普通入站站流程
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public static int CommonInboundStationFlow()
|
|
{
|
|
return 42;
|
|
}
|
|
}
|
|
}
|