using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BP.WF.Template
{
///
/// 流程属性
///
public class FlowAttr
{
#region 基本属性
///
/// 编号
///
public const string No = "No";
///
/// 名称
///
public const string Name = "Name";
///
/// CCType
///
public const string CCType = "CCType";
///
/// 抄送方式
///
public const string CCWay = "CCWay";
///
/// 流程类别
///
public const string FK_FlowSort = "FK_FlowSort";
///
/// 建立的日期。
///
public const string CreateDate = "CreateDate";
///
/// 创建人
///
public const string Creater = "Creater";
///
/// BillTable
///
public const string BillTable = "BillTable";
///
/// 开始工作节点类型
///
public const string StartNodeType = "StartNodeType";
///
/// StartNodeID
///
public const string StartNodeID = "StartNodeID";
///
/// 能不能流程Num考核。
///
public const string IsCanNumCheck = "IsCanNumCheck";
///
/// 是否显示附件
///
public const string IsFJ = "IsFJ";
///
/// 标题生成规则
///
public const string TitleRole = "TitleRole";
///
/// 生成标题的节点
///
public const string TitleRoleNodes = "TitleRoleNodes";
///
/// 流程类型
///
public const string FlowType = "FlowType";
///
/// 流程运行类型
///
public const string FlowRunWay = "FlowRunWay";
///
/// 工作模式
///
public const string WorkModel = "WorkModel";
///
/// 运行的设置
///
public const string RunObj = "RunObj";
///
/// 是否有Bill
///
public const string NumOfBill = "NumOfBill";
///
/// 明细表数量
///
public const string NumOfDtl = "NumOfDtl";
///
/// 是否可以启动?
///
public const string IsCanStart = "IsCanStart";
///
/// 是否可以在手机里启用?
///
public const string IsStartInMobile = "IsStartInMobile";
///
/// 是否自动计算未来的处理人?
///
public const string IsFullSA = "IsFullSA";
///
/// 类型
///
public const string FlowAppType = "FlowAppType";
///
/// 图像类型
///
public const string ChartType = "ChartType";
///
/// 流程计划完成日期设置规则
///
public const string SDTOfFlowRole = "SDTOfFlowRole";
public const string SDTOfFlowRoleSQL = "SDTOfFlowRoleSQL";
///
/// 草稿
///
public const string Draft = "Draft";
///
/// 顺序号
///
public const string Idx = "Idx";
///
/// 参数
///
public const string Paras = "Paras";
///
/// 业务主表
///
public const string PTable = "PTable";
///
/// 表单连接
///
public const string FrmUrl = "FrmUrl";
///
/// 表单URL
///
public const string FlowDevModel = "FlowDevModel";
///
/// 流程标记
///
public const string FlowMark = "FlowMark";
///
/// 流程事件实体
///
public const string FlowEventEntity = "FlowEventEntity";
///
/// 外部客户参与流程规则
///
public const string GuestFlowRole = "GuestFlowRole";
///
/// 单据编号格式
///
public const string BillNoFormat = "BillNoFormat";
///
/// 待办字段s
///
public const string BuessFields = "BuessFields";
///
/// 高级查询人员字段
///
public const string AdvEmps = "AdvEmps";
///
/// 数据权限控制方式
///
public const string DRCtrlType = "DRCtrlType";
///
/// 是否可以批量发起?
///
public const string IsBatchStart = "IsBatchStart";
///
/// 批量发起填写的字段.
///
public const string BatchStartFields = "BatchStartFields";
///
/// 是否是MD5
///
public const string IsMD5 = "IsMD5";
///
/// 是否是数据加密
///
public const string IsJM = "IsJM";
///
/// 是否启用数据版本控制
///
public const string IsEnableDBVer = "IsEnableDBVer";
public const string CCStas = "CCStas";
public const string Note = "Note";
///
/// 运行的SQL
///
public const string RunSQL = "RunSQL";
///
/// 流程轨迹中显示的Tab标签页的控制
///
//public const string IsFrmEnable = "IsFrmEnable";
public const string IsTruckEnable = "IsTruckEnable";
public const string IsTimeBaseEnable = "IsTimeBaseEnable";
public const string IsTableEnable = "IsTableEnable";
//public const string IsOPEnable = "IsOPEnable";
///
/// 排序方式
///
public const string TrackOrderBy = "TrackOrderBy";
///
/// 子流程轨迹图中的显示
///
public const string SubFlowShowType = "SubFlowShowType";
#endregion 基本属性
#region 发起限制规则.
///
/// 发起限制规则
///
public const string StartLimitRole = "StartLimitRole";
///
/// 规则内容
///
public const string StartLimitPara = "StartLimitPara";
///
/// 规则提示
///
public const string StartLimitAlert = "StartLimitAlert";
///
/// 提示时间
///
public const string StartLimitWhen = "StartLimitWhen";
#endregion 发起限制规则.
#region 开始节点数据导入规则.
///
/// 发起前置规则
///
public const string StartGuideWay = "StartGuideWay";
///
/// 超链接
///
public const string StartGuideLink = "StartGuideLink";
///
/// 标签
///
public const string StartGuideLab = "StartGuideLab";
///
/// 发起前置参数1
///
public const string StartGuidePara1 = "StartGuidePara1";
///
/// 发起前置参数2
///
public const string StartGuidePara2 = "StartGuidePara2";
///
/// StartGuidePara3
///
public const string StartGuidePara3 = "StartGuidePara3";
///
/// 是否启用开始节点的数据重置?
///
public const string IsResetData = "IsResetData";
///
/// 是否启用导入历史数据按钮?
///
public const string IsImpHistory = "IsImpHistory";
///
/// 是否自动装载上一笔数据?
///
public const string IsLoadPriData = "IsLoadPriData";
///
/// 是否启用数据模版?
///
public const string IsDBTemplate = "IsDBTemplate";
///
/// 系统类别(第2级流程树节点编号)
///
public const string SysType = "SysType";
#endregion 开始节点数据导入规则.
#region 父子流程
///
/// 版本号
///
public const string Ver = "Ver";
///
/// 子流程结束时,让父流程自动运行到下一步
///
public const string IsToParentNextNode = "IsToParentNextNode";
///
/// OrgNo
///
public const string OrgNo = "OrgNo";
///
/// 创建日期
///
public const string RDT = "RDT";
#endregion 父子流程
#region 数据同步方式.
///
/// 数据同步方式.
///
public const string DataDTSWay = "DataDTSWay";
///
/// 业务表主键
///
public const string DTSBTablePK = "DTSBTablePK";
///
/// 执行同步时间点
///
public const string DTSTime = "DTSTime";
///
/// 同步格式配置.
///
public const string DTSSpecNodes = "DTSSpecNodes";
public const string DTSField = "DTSField";
public const string DTSFields = "DTSFields";
///
/// 业务表
///
public const string DTSBTable = "DTSBTable";
///
/// 数据源
///
public const string DTSDBSrc = "DTSDBSrc";
///
/// webapi
///
public const string DTSWebAPI = "DTSWebAPI";
#endregion
#region 权限组.
///
/// 发起人可看
///
public const string PStarter = "PStarter";
///
/// 参与人可看
///
public const string PWorker = "PWorker";
///
/// 被抄送人可看
///
public const string PCCer = "PCCer";
///
/// 本部门人可看
///
public const string PMyDept = "PMyDept";
///
/// 直属上级部门可看
///
public const string PPMyDept = "PPMyDept";
///
/// 上级部门可看
///
public const string PPDept = "PPDept";
///
/// 平级部门可看
///
public const string PSameDept = "PSameDept";
///
/// 指定部门可看
///
public const string PSpecDept = "PSpecDept";
///
/// 指定的角色可看
///
public const string PSpecSta = "PSpecSta";
///
/// 指定的权限组可看
///
public const string PSpecGroup = "PSpecGroup";
///
/// 指定的人员可看
///
public const string PSpecEmp = "PSpecEmp";
#endregion 权限组.
///
/// 流程发起测试人
///
public const string Tester = "Tester";
public const string DevModelType = "DevModelType";
public const string DevModelPara = "DevModelPara";
}
///
/// 草稿规则
///
public enum DraftRole
{
///
/// 不设置草稿
///
None,
///
/// 保存到待办
///
SaveToTodolist,
///
/// 保存到草稿箱
///
SaveToDraftList
}
///
/// 流程计划完成日期计算规则
///
public enum SDTOfFlowRole
{
///
/// 不计算
///
None,
///
/// 按照指定的字段计算
///
BySpecDateField,
///
/// 按照sql
///
BySQL,
///
/// 所有的节点之和.
///
ByAllNodes,
///
/// 按照设置的天数
///
ByDays,
///
/// 按照时间规则计算
///
TimeDT,
///
/// 为子流程时的规则
///
ChildFlowDT,
///
/// 按照发起字段不能重复规则
///
AttrNonredundant
}
//方向条件控制
public enum CondModel
{
///
/// 主观选择:下拉框模式
///
DropDown = 0,
///
/// 主观选择:按钮模式
///
Radio = 1,
///
/// 由连接线控制
///
Line = 2,
///
/// 发送后手工选择到达节点与接受人
///
ManuallySelect = 3
}
///自动发起
public enum AutoStart
{
///
/// 手工启动(默认)
///
None = 0,
///
/// 按照指定的人员
///
ByDesignee = 1,
///
/// 数据集按时启动
///
ByTineData = 2,
///
/// 触发试启动
///
ByTrigger = 3
}
///
/// 流程发起导航方式
///
public enum StartGuideWay
{
///
/// 无
///
None = 0,
///
/// SQL单条模式
///
BySQLOne = 1,
///
/// 按系统的URL-(子父流程)多条模式.
///
SubFlowGuide = 2,
///
/// 按系统的URL-(实体记录)单条模式
///
BySystemUrlOneEntity = 3,
///
/// 按系统的URL-(实体记录)多条模式
///
SubFlowGuideEntity = 4,
///
/// 历史数据
///
ByHistoryUrl = 5,
///
/// SQL多条模式
///
BySQLMulti = 6,
///
/// 按自定义的Url
///
BySelfUrl = 10,
///
/// 按照用户选择的表单.
///
ByFrms = 8,
///
/// 父子流程模式
///
ByParentFlowModel = 9
}
///
/// 数据同步方案
///
public enum DataDTSWay
{
///
/// 不同步
///
None,
///
/// 按数据源同步
///
Syn,
///
/// 按WebAPI方式同步
///
WebAPI
}
///
/// 数据同步的时间
///
public enum FlowDTSTime
{
///
/// 所有的节点发送后
///
AllNodeSend,
///
/// 指定的节点发送后
///
SpecNodeSend,
///
/// 当流程结束时
///
WhenFlowOver
}
///
/// 流程数据存储模式
///
public enum DataStoreModel
{
///
/// 轨迹模式
///
ByCCFlow,
///
/// 数据合并模式
///
SpecTable
}
///
/// 流程部门权限控制类型(与报表查询相关)
///
public enum FlowDeptDataRightCtrlType
{
///
/// 只能查看本部门
///
MyDeptOnly,
///
/// 查看本部门与下级部门
///
MyDeptAndBeloneToMyDeptOnly,
///
/// 按指定该流程的部门人员权限控制
///
BySpecFlowDept,
///
/// 不控制,任何人都可以查看任何部门的数据.
///
AnyoneAndAnydept
}
///
/// 图像类型
///
public enum FlowChartType
{
///
/// 几何图形
///
Geometrical,
///
/// 头像图形
///
Icon
}
}