using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BP.Sys { /// /// 实体类型 /// public enum EntityType { /// /// 独立表单 /// SingleFrm = 0, /// /// 单据 /// FrmBill=1, /// /// 实体 /// FrmDict=2, /// /// 实体树 /// EntityTree = 3, /// /// 数据源类型 /// DBList = 100 } /// /// 数据源类型 /// public class DBSrcType { /// /// 本机数据库 /// public const string local = "local"; public const string MSSQL = "MSSQL"; public const string Oracle = "Oracle"; public const string MySQL = "MySQL"; public const string Informix = "Informix"; public const string PostgreSQL = "PostgreSQL"; public const string KingBaseR3 = "KingBaseR3"; public const string KingBaseR6 = "KingBaseR6"; public const string UX = "UX"; public const string HGDB = "HGDB"; public const string WebServices = "WebServices"; public const string Dubbo = "Dubbo"; public const string CCFromRef = "CCFromRef"; public const string LocalWS = "LocalWS"; public const string LocalHandler = "LocalHandler"; public const string WebApi = "WebApi"; } /// /// 消息控制方式 /// public enum MsgCtrl { /// /// bufasong /// None, /// /// 按照设置计算 /// BySet, /// /// 按照表单的是否发送字段计算,字段:IsSendMsg /// ByFrmIsSendMsg, /// /// 按照SDK参数计算. /// BySDK } /// /// 事件执行内容 /// public enum EventDoType { /// /// 禁用 /// Disable = 0, /// /// 执行存储过程 /// SP = 1, /// /// 运行SQL /// SQL = 2, /// /// 自定义URL /// URLOfSelf = 3, /// /// 自定义WS /// WSOfSelf = 4, /// /// 执行ddl文件的类与方法 /// SpecClass = 5, /// /// 基类 /// EventBase = 6, /// /// 执行的业务单元 /// BuessUnit = 7, /// /// 自定义WebApi /// WebApi=8, /// /// SFProduces /// SFProcedure = 9 } /// /// 事件类型 /// public enum EventSource { /// /// 表单 /// Frm, /// /// 流程 /// Flow, /// /// 节点 /// Node } /// /// 从表显示模式 /// public enum ListShowModel { /// /// 表格模式 /// Table, /// /// 傻瓜表单模式 /// Card } /// /// 从表显示方式 /// public enum EditModel { /// /// 表格模式 /// TableModel, /// /// 傻瓜表单模式 /// FoolModel, /// /// 自由表单模式 /// FreeModel } /// /// 明细表存盘方式 /// public enum DtlAddRecModel { /// /// 自动初始化空白行 /// ByBlank, /// /// 用按钮增加行 /// ByButton } public enum DtlSaveModel { /// /// 失去焦点自动存盘 /// AutoSave, /// /// 由保存按钮触发存盘 /// HandSave } /// /// 棫行处理 /// public enum WhenOverSize { /// /// 不处理 /// None, /// /// 增加一行 /// AddRow, /// /// 翻页 /// TurnPage } public enum DtlOpenType { /// /// 对人员开放 /// ForEmp, /// /// 对工作开放 /// ForWorkID, /// /// 对流程开放 /// ForFID, /// /// 父工作ID /// ForPWorkID, ForP2WorkID, ForP3WorkID, /// /// 根流程的WorkID /// RootFlowWorkID } /// /// 明细表工作方式 /// public enum DtlModel { /// /// 普通的 /// Ordinary, /// /// 固定列 /// FixRow } }