基于WF的报销单流转审批业务4(浅析)

项目名:InterFaces(接口)

 

ShenQingBaoXiao
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; }
        }
    }
}

 

 

JingLiSP
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; }
        }

    }
}

 

 

IClass
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();
    }
}

 

 

ChuNaSP
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; }
        }
    }
}

 

 

CaiWuSP
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(浅析)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值