コード例 #1
0
ファイル: WfActivity.cs プロジェクト: vanloc0301/mychongchong
 public WfActivity(Actinst actins)
     : base(actins)
 {
     this.actinst = actins;
     this.process = WfFactory.GetWfProcess(this.actinst.Proinst);
     this.executor = WfActivityAbstractImplFact.GetConcretImpl(this);
 }
コード例 #2
0
ファイル: WfActivity.cs プロジェクト: vanloc0301/mychongchong
 public WfActivity(Actdef actdef, IWfProcess process)
     : base(new Actinst(), actdef)
 {
     this.actinst = base.wfInstance as Actinst;
     this.process = process;
     this.actinst.Proinst = (Proinst) process.GetInstanceObject();
     this.actinst.ActdefId = actdef.Id;
     this.actinst.ActdefName = actdef.Name;
     this.actinst.DueTime = actdef.Limit;
     this.actinst.Name = actdef.Name;
     this.actinst.Type = actdef.Type;
     this.actinst.FromCount = 0;
     this.actinst.ToCount = 0;
     this.executor = WfActivityAbstractImplFact.GetConcretImpl(this);
 }