基于WF的报销单流转审批业务4(浅析)
项目名:InterFaces(接口)
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Activities;
using System.Workflow.Runtime;
namespace InterFaces
{
/// <summary>
/// 申请报销
/// </summary>
[Serializable]
public class ShenQingBaoXiao : ExternalDataEventArgs
{
private double d;
private Guid id;
public ShenQingBaoXiao(Guid id, double d)
: base(id)
{
this.id = id;
this.d = d;
}
public Guid Id
{
get { return id; }
set { id = value; }
}
public double D
{
get { return d; }
set { d = value; }
}
}
}
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Activities;
using System.Workflow.Runtime;
namespace InterFaces
{
/// <summary>
/// 经理审批
/// </summary>
[Serializable]
public class JingLiSP : ExternalDataEventArgs
{
private Guid id;
private int states;//0为打回补充,1为直接结束,2为交给出纳
public JingLiSP(Guid id, int states)
: base(id)
{
this.id = id;
this.states = states;
}
public int States
{
get { return states; }
set { states = value; }
}
public Guid Id
{
get { return id; }
set { id = value; }
}
}
}
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Activities;
using System.Workflow.Runtime;
namespace InterFaces
{
/// <summary>
/// 事件接口
/// </summary>
[ExternalDataExchange]
public interface IClass
{
/// <summary>
/// 申请审批
/// </summary>
event EventHandler<ExternalDataEventArgs> ShenQing;
/// <summary>
/// 财务审批
/// </summary>
event EventHandler<ExternalDataEventArgs> CaiWuShenPi;
/// <summary>
/// 经理审批
/// </summary>
event EventHandler<ExternalDataEventArgs> JingLiShenPi;
/// <summary>
/// 出纳审批
/// </summary>
event EventHandler<ExternalDataEventArgs> ChuNaShenPi;
/// <summary>
/// 取钱
/// </summary>
void quqian();
}
}
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Activities;
using System.Workflow.Runtime;
namespace InterFaces
{
/// <summary>
/// 出纳审批
/// </summary>
[Serializable]
public class ChuNaSP : ExternalDataEventArgs
{
private Guid id;
private int states;//0没钱,1有钱
public ChuNaSP(Guid id, int states)
: base(id)
{
this.id = id;
this.states = states;
}
public int States
{
get { return states; }
set { states = value; }
}
public Guid Id
{
get { return id; }
set { id = value; }
}
}
}
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Activities;
using System.Workflow.Runtime;
namespace InterFaces
{
/// <summary>
/// 财务审批
/// </summary>
[Serializable]
public class CaiWuSP : ExternalDataEventArgs
{
private Guid id;
private int states;//0打回,1终止,2同意,3加签
public CaiWuSP(Guid id, int states)
: base(id)
{
this.id = id;
this.states = states;
}
public int States
{
get { return states; }
set { states = value; }
}
public Guid Id
{
get { return id; }
set { id = value; }
}
}
}
基于WF的报销单流转审批业务1(浅析)
基于WF的报销单流转审批业务2(浅析)
基于WF的报销单流转审批业务3(浅析)
基于WF的报销单流转审批业务5(浅析)
基于WF的报销单流转审批业务6(浅析)