using SuperMap.RealEstate.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SuperMap.RealEstate.WorkFlow.Instance;
using Running = SuperMap.RealEstate.HighWay.Running;
namespace SuperMap.RealEstate.HighWay.Plugins.Cloud
{
///
///
///
public class ProInstHelper
{
///
/// 获取当前流程信息
///
///
///
public static Running.Business.HIGHWAYPROINST GetPropertyProinst(SuperMap.RealEstate.WorkFlow.Instance.Business.ProInst WorkFlowProInst)
{
Running.Business.HIGHWAYPROINST _HighWayProinst = new Running.Business.HIGHWAYPROINST(WorkFlowProInst.Transaction);
_HighWayProinst.AddSearchParameter("proinst_id", WorkFlowProInst.ProInst_ID);
if (_HighWayProinst.Search())
return _HighWayProinst;
else
{
throw new Exception("无法获取ProInst实例对象!");
}
}
}
}