diff --git a/插件库/Lskj.PubApiSetModule/ComBoxModel.cs b/插件库/Lskj.PubApiSetModule/ComBoxModel.cs
new file mode 100644
index 0000000..bdf8a08
Binary files /dev/null and b/插件库/Lskj.PubApiSetModule/ComBoxModel.cs differ
diff --git a/插件库/Lskj.PubApiSetModule/DllBaseClass.cs b/插件库/Lskj.PubApiSetModule/DllBaseClass.cs
new file mode 100644
index 0000000..440a056
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/DllBaseClass.cs
@@ -0,0 +1,54 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Lskj.Util;
+using Lskj.Business;
+using System.Windows.Forms;
+using Lskj.Model;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+using System.Data;
+
+namespace Lskj.PubApiSetModule
+{
+ ///
+ /// c#库被调用统一接口类
+ ///
+ public sealed class DllBaseClass : IForm
+ {
+ public DllBaseClass()
+ {
+
+ }
+ public DllBaseClass(string[] obj)
+ {
+ try
+ {
+ DynamicApiSetModel dynamicModel = new DynamicApiSetModel(obj);
+ FrmMain main = new FrmMain();
+ this.SubForm = main;
+ main.Model = dynamicModel;
+ }
+ catch (Exception ex)
+ {
+ LogUtil.WriteError("Lskj.PubApiSetModule.dll--参数错误-->" + obj.ToString(), ex);
+ }
+ }
+ ///
+ /// 窗口
+ ///
+ public Form SubForm { get; set; }
+ }
+ ///
+ /// 入口模型
+ ///
+ public class DynamicApiSetModel : DynamicModel
+ {
+ ///
+ /// 初始化默认参数(1.标题、2、用户ID、3.用户名、4.权限、5.模块编号、6.菜单ID)
+ ///
+ /// The arguments.
+ public DynamicApiSetModel(string[] args) : base(args)
+ {
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/FrmMain.Designer.cs b/插件库/Lskj.PubApiSetModule/FrmMain.Designer.cs
new file mode 100644
index 0000000..4aa275d
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/FrmMain.Designer.cs
@@ -0,0 +1,742 @@
+
+namespace Lskj.PubApiSetModule
+{
+ partial class FrmMain
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows 窗体设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
+ DevExpress.XtraGrid.GridLevelNode gridLevelNode2 = new DevExpress.XtraGrid.GridLevelNode();
+ DevExpress.XtraGrid.GridLevelNode gridLevelNode3 = new DevExpress.XtraGrid.GridLevelNode();
+ DevExpress.XtraGrid.GridLevelNode gridLevelNode4 = new DevExpress.XtraGrid.GridLevelNode();
+ this.tabMain = new DevExpress.XtraTab.XtraTabControl();
+ this.sendPage = new DevExpress.XtraTab.XtraTabPage();
+ this.splitControlSend = new DevExpress.XtraEditors.SplitContainerControl();
+ this.sendGcMain = new DevExpress.XtraGrid.GridControl();
+ this.sendMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.titleColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.urlColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.dllcoidColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.contextMenuIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.reqDataTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.reqDataTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.resDataTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.resDataTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.methodColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.methodComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.datasourceColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.datasourceMemoExEdit = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
+ this.actionTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.actionTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.eTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.eTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.actionDelayColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.finshDataPmColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.finshActionColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.isSucceedCondColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.isSucceedCondMemoExEdit = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
+ this.tokenApiIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.tokenTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.tokenTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.pmsTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.pmsTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.ContentTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.allowShowMsgColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.allowShowMsgComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.sendGcDetail = new DevExpress.XtraGrid.GridControl();
+ this.sendDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.getPage = new DevExpress.XtraTab.XtraTabPage();
+ this.splitControlGet = new DevExpress.XtraEditors.SplitContainerControl();
+ this.getGcMain = new DevExpress.XtraGrid.GridControl();
+ this.getMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.getGcDetail = new DevExpress.XtraGrid.GridControl();
+ this.getDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.eTypeCodeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.eTypeCodeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ this.disableTagColumn = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.disableTagComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+ ((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
+ this.tabMain.SuspendLayout();
+ this.sendPage.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitControlSend)).BeginInit();
+ this.splitControlSend.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.sendGcMain)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.sendMainView)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.reqDataTypeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.resDataTypeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.methodComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.datasourceMemoExEdit)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.actionTypeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.eTypeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.isSucceedCondMemoExEdit)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.tokenTypeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmsTypeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.allowShowMsgComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.sendGcDetail)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.sendDetailView)).BeginInit();
+ this.getPage.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).BeginInit();
+ this.splitControlGet.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.getGcMain)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.getMainView)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.getDetailView)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.eTypeCodeComboBox)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.disableTagComboBox)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tabMain
+ //
+ this.tabMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.tabMain.BorderStylePage = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+ this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabMain.Location = new System.Drawing.Point(0, 0);
+ this.tabMain.Name = "tabMain";
+ this.tabMain.SelectedTabPage = this.sendPage;
+ this.tabMain.Size = new System.Drawing.Size(858, 555);
+ this.tabMain.TabIndex = 6;
+ this.tabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.sendPage,
+ this.getPage});
+ //
+ // sendPage
+ //
+ this.sendPage.Controls.Add(this.splitControlSend);
+ this.sendPage.Name = "sendPage";
+ this.sendPage.Size = new System.Drawing.Size(852, 526);
+ this.sendPage.Text = "推送接口";
+ //
+ // splitControlSend
+ //
+ this.splitControlSend.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.splitControlSend.Appearance.Options.UseBackColor = true;
+ this.splitControlSend.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
+ this.splitControlSend.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitControlSend.Horizontal = false;
+ this.splitControlSend.Location = new System.Drawing.Point(0, 0);
+ this.splitControlSend.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.splitControlSend.Name = "splitControlSend";
+ this.splitControlSend.Panel1.Controls.Add(this.sendGcMain);
+ this.splitControlSend.Panel1.Text = "Panel1";
+ this.splitControlSend.Panel2.Controls.Add(this.sendGcDetail);
+ this.splitControlSend.Panel2.Text = "Panel2";
+ this.splitControlSend.Size = new System.Drawing.Size(852, 526);
+ this.splitControlSend.SplitterPosition = 237;
+ this.splitControlSend.TabIndex = 4;
+ this.splitControlSend.Text = "splitContainerControl1";
+ //
+ // sendGcMain
+ //
+ this.sendGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.sendGcMain.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
+ gridLevelNode1.RelationName = "Level1";
+ this.sendGcMain.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
+ gridLevelNode1});
+ this.sendGcMain.Location = new System.Drawing.Point(0, 0);
+ this.sendGcMain.MainView = this.sendMainView;
+ this.sendGcMain.Margin = new System.Windows.Forms.Padding(4);
+ this.sendGcMain.Name = "sendGcMain";
+ this.sendGcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
+ this.reqDataTypeComboBox,
+ this.resDataTypeComboBox,
+ this.methodComboBox,
+ this.datasourceMemoExEdit,
+ this.actionTypeComboBox,
+ this.eTypeComboBox,
+ this.isSucceedCondMemoExEdit,
+ this.tokenTypeComboBox,
+ this.pmsTypeComboBox,
+ this.allowShowMsgComboBox,
+ this.eTypeCodeComboBox,
+ this.disableTagComboBox});
+ this.sendGcMain.Size = new System.Drawing.Size(852, 237);
+ this.sendGcMain.TabIndex = 5;
+ this.sendGcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.sendMainView});
+ //
+ // sendMainView
+ //
+ this.sendMainView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
+ this.sendMainView.Appearance.HeaderPanel.Options.UseFont = true;
+ this.sendMainView.Appearance.HeaderPanel.Options.UseTextOptions = true;
+ this.sendMainView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+ this.sendMainView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
+ this.sendMainView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
+ this.sendMainView.Appearance.Preview.Options.UseFont = true;
+ this.sendMainView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
+ this.sendMainView.Appearance.Row.Options.UseBackColor = true;
+ this.sendMainView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
+ this.sendMainView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.titleColumn,
+ this.urlColumn,
+ this.dllcoidColumn,
+ this.contextMenuIdColumn,
+ this.reqDataTypeColumn,
+ this.resDataTypeColumn,
+ this.methodColumn,
+ this.datasourceColumn,
+ this.actionTypeColumn,
+ this.eTypeColumn,
+ this.eTypeCodeColumn,
+ this.actionDelayColumn,
+ this.finshDataPmColumn,
+ this.finshActionColumn,
+ this.isSucceedCondColumn,
+ this.tokenApiIdColumn,
+ this.tokenTypeColumn,
+ this.pmsTypeColumn,
+ this.ContentTypeColumn,
+ this.allowShowMsgColumn,
+ this.disableTagColumn});
+ this.sendMainView.GridControl = this.sendGcMain;
+ this.sendMainView.IndicatorWidth = 40;
+ this.sendMainView.Name = "sendMainView";
+ this.sendMainView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+ this.sendMainView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
+ this.sendMainView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
+ this.sendMainView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
+ this.sendMainView.OptionsFind.FindNullPrompt = "";
+ this.sendMainView.OptionsSelection.MultiSelect = true;
+ this.sendMainView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
+ this.sendMainView.OptionsView.AllowHtmlDrawHeaders = true;
+ this.sendMainView.OptionsView.ColumnAutoWidth = false;
+ this.sendMainView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
+ this.sendMainView.OptionsView.RowAutoHeight = true;
+ this.sendMainView.OptionsView.ShowGroupPanel = false;
+ this.sendMainView.PaintStyleName = "Skin";
+ //
+ // titleColumn
+ //
+ this.titleColumn.Caption = "接口标题";
+ this.titleColumn.FieldName = "title";
+ this.titleColumn.Name = "titleColumn";
+ this.titleColumn.Visible = true;
+ this.titleColumn.VisibleIndex = 0;
+ //
+ // urlColumn
+ //
+ this.urlColumn.Caption = "请求地址";
+ this.urlColumn.FieldName = "url";
+ this.urlColumn.Name = "urlColumn";
+ this.urlColumn.Visible = true;
+ this.urlColumn.VisibleIndex = 1;
+ this.urlColumn.Width = 150;
+ //
+ // dllcoidColumn
+ //
+ this.dllcoidColumn.Caption = "模块地址";
+ this.dllcoidColumn.FieldName = "dllcoid";
+ this.dllcoidColumn.Name = "dllcoidColumn";
+ this.dllcoidColumn.Visible = true;
+ this.dllcoidColumn.VisibleIndex = 2;
+ //
+ // contextMenuIdColumn
+ //
+ this.contextMenuIdColumn.Caption = "右键编码";
+ this.contextMenuIdColumn.FieldName = "contextMenuId";
+ this.contextMenuIdColumn.Name = "contextMenuIdColumn";
+ this.contextMenuIdColumn.Visible = true;
+ this.contextMenuIdColumn.VisibleIndex = 3;
+ //
+ // reqDataTypeColumn
+ //
+ this.reqDataTypeColumn.Caption = "请求数据类型";
+ this.reqDataTypeColumn.ColumnEdit = this.reqDataTypeComboBox;
+ this.reqDataTypeColumn.FieldName = "reqDataType";
+ this.reqDataTypeColumn.Name = "reqDataTypeColumn";
+ this.reqDataTypeColumn.Visible = true;
+ this.reqDataTypeColumn.VisibleIndex = 4;
+ this.reqDataTypeColumn.Width = 85;
+ //
+ // reqDataTypeComboBox
+ //
+ this.reqDataTypeComboBox.AutoHeight = false;
+ this.reqDataTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.reqDataTypeComboBox.Name = "reqDataTypeComboBox";
+ //
+ // resDataTypeColumn
+ //
+ this.resDataTypeColumn.Caption = "返回数据类型";
+ this.resDataTypeColumn.ColumnEdit = this.resDataTypeComboBox;
+ this.resDataTypeColumn.FieldName = "resDataType";
+ this.resDataTypeColumn.Name = "resDataTypeColumn";
+ this.resDataTypeColumn.Visible = true;
+ this.resDataTypeColumn.VisibleIndex = 5;
+ this.resDataTypeColumn.Width = 85;
+ //
+ // resDataTypeComboBox
+ //
+ this.resDataTypeComboBox.AutoHeight = false;
+ this.resDataTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.resDataTypeComboBox.Name = "resDataTypeComboBox";
+ //
+ // methodColumn
+ //
+ this.methodColumn.Caption = "请求方法";
+ this.methodColumn.ColumnEdit = this.methodComboBox;
+ this.methodColumn.FieldName = "method";
+ this.methodColumn.Name = "methodColumn";
+ this.methodColumn.Visible = true;
+ this.methodColumn.VisibleIndex = 6;
+ //
+ // methodComboBox
+ //
+ this.methodComboBox.AutoHeight = false;
+ this.methodComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.methodComboBox.Name = "methodComboBox";
+ //
+ // datasourceColumn
+ //
+ this.datasourceColumn.Caption = "请求数据源";
+ this.datasourceColumn.ColumnEdit = this.datasourceMemoExEdit;
+ this.datasourceColumn.FieldName = "datasource";
+ this.datasourceColumn.Name = "datasourceColumn";
+ this.datasourceColumn.Visible = true;
+ this.datasourceColumn.VisibleIndex = 7;
+ this.datasourceColumn.Width = 100;
+ //
+ // datasourceMemoExEdit
+ //
+ this.datasourceMemoExEdit.AutoHeight = false;
+ this.datasourceMemoExEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.datasourceMemoExEdit.Name = "datasourceMemoExEdit";
+ //
+ // actionTypeColumn
+ //
+ this.actionTypeColumn.Caption = "触发方式";
+ this.actionTypeColumn.ColumnEdit = this.actionTypeComboBox;
+ this.actionTypeColumn.FieldName = "actionType";
+ this.actionTypeColumn.Name = "actionTypeColumn";
+ this.actionTypeColumn.Visible = true;
+ this.actionTypeColumn.VisibleIndex = 8;
+ //
+ // actionTypeComboBox
+ //
+ this.actionTypeComboBox.AutoHeight = false;
+ this.actionTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.actionTypeComboBox.Name = "actionTypeComboBox";
+ //
+ // eTypeColumn
+ //
+ this.eTypeColumn.Caption = "事件名称";
+ this.eTypeColumn.ColumnEdit = this.eTypeComboBox;
+ this.eTypeColumn.FieldName = "eType";
+ this.eTypeColumn.Name = "eTypeColumn";
+ this.eTypeColumn.Visible = true;
+ this.eTypeColumn.VisibleIndex = 10;
+ //
+ // eTypeComboBox
+ //
+ this.eTypeComboBox.AutoHeight = false;
+ this.eTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.eTypeComboBox.Name = "eTypeComboBox";
+ //
+ // actionDelayColumn
+ //
+ this.actionDelayColumn.Caption = "循环间隔";
+ this.actionDelayColumn.FieldName = "actionDelay";
+ this.actionDelayColumn.Name = "actionDelayColumn";
+ this.actionDelayColumn.Visible = true;
+ this.actionDelayColumn.VisibleIndex = 9;
+ //
+ // finshDataPmColumn
+ //
+ this.finshDataPmColumn.Caption = "后处理参数";
+ this.finshDataPmColumn.FieldName = "finshDataPm";
+ this.finshDataPmColumn.Name = "finshDataPmColumn";
+ this.finshDataPmColumn.Visible = true;
+ this.finshDataPmColumn.VisibleIndex = 12;
+ //
+ // finshActionColumn
+ //
+ this.finshActionColumn.Caption = "后处理逻辑";
+ this.finshActionColumn.FieldName = "finshAction";
+ this.finshActionColumn.Name = "finshActionColumn";
+ this.finshActionColumn.Visible = true;
+ this.finshActionColumn.VisibleIndex = 11;
+ this.finshActionColumn.Width = 100;
+ //
+ // isSucceedCondColumn
+ //
+ this.isSucceedCondColumn.Caption = "执行成功条件";
+ this.isSucceedCondColumn.ColumnEdit = this.isSucceedCondMemoExEdit;
+ this.isSucceedCondColumn.FieldName = "isSucceedCond";
+ this.isSucceedCondColumn.Name = "isSucceedCondColumn";
+ this.isSucceedCondColumn.Visible = true;
+ this.isSucceedCondColumn.VisibleIndex = 13;
+ //
+ // isSucceedCondMemoExEdit
+ //
+ this.isSucceedCondMemoExEdit.AutoHeight = false;
+ this.isSucceedCondMemoExEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.isSucceedCondMemoExEdit.Name = "isSucceedCondMemoExEdit";
+ //
+ // tokenApiIdColumn
+ //
+ this.tokenApiIdColumn.Caption = "Token编号";
+ this.tokenApiIdColumn.FieldName = "tokenApiId";
+ this.tokenApiIdColumn.Name = "tokenApiIdColumn";
+ this.tokenApiIdColumn.Visible = true;
+ this.tokenApiIdColumn.VisibleIndex = 17;
+ //
+ // tokenTypeColumn
+ //
+ this.tokenTypeColumn.Caption = "Token类型";
+ this.tokenTypeColumn.ColumnEdit = this.tokenTypeComboBox;
+ this.tokenTypeColumn.FieldName = "tokenType";
+ this.tokenTypeColumn.Name = "tokenTypeColumn";
+ this.tokenTypeColumn.Visible = true;
+ this.tokenTypeColumn.VisibleIndex = 14;
+ //
+ // tokenTypeComboBox
+ //
+ this.tokenTypeComboBox.AutoHeight = false;
+ this.tokenTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.tokenTypeComboBox.Name = "tokenTypeComboBox";
+ //
+ // pmsTypeColumn
+ //
+ this.pmsTypeColumn.Caption = "参数类型";
+ this.pmsTypeColumn.ColumnEdit = this.pmsTypeComboBox;
+ this.pmsTypeColumn.FieldName = "pmsType";
+ this.pmsTypeColumn.Name = "pmsTypeColumn";
+ this.pmsTypeColumn.Visible = true;
+ this.pmsTypeColumn.VisibleIndex = 15;
+ //
+ // pmsTypeComboBox
+ //
+ this.pmsTypeComboBox.AutoHeight = false;
+ this.pmsTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.pmsTypeComboBox.Name = "pmsTypeComboBox";
+ //
+ // ContentTypeColumn
+ //
+ this.ContentTypeColumn.Caption = "ContentType";
+ this.ContentTypeColumn.FieldName = "ContentType";
+ this.ContentTypeColumn.Name = "ContentTypeColumn";
+ this.ContentTypeColumn.Visible = true;
+ this.ContentTypeColumn.VisibleIndex = 16;
+ //
+ // allowShowMsgColumn
+ //
+ this.allowShowMsgColumn.Caption = "是否弹出提示";
+ this.allowShowMsgColumn.ColumnEdit = this.allowShowMsgComboBox;
+ this.allowShowMsgColumn.FieldName = "allowShowMsg";
+ this.allowShowMsgColumn.Name = "allowShowMsgColumn";
+ this.allowShowMsgColumn.Visible = true;
+ this.allowShowMsgColumn.VisibleIndex = 18;
+ //
+ // allowShowMsgComboBox
+ //
+ this.allowShowMsgComboBox.AutoHeight = false;
+ this.allowShowMsgComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.allowShowMsgComboBox.Name = "allowShowMsgComboBox";
+ //
+ // sendGcDetail
+ //
+ this.sendGcDetail.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.sendGcDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
+ gridLevelNode2.RelationName = "Level1";
+ this.sendGcDetail.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
+ gridLevelNode2});
+ this.sendGcDetail.Location = new System.Drawing.Point(0, 0);
+ this.sendGcDetail.MainView = this.sendDetailView;
+ this.sendGcDetail.Margin = new System.Windows.Forms.Padding(4);
+ this.sendGcDetail.Name = "sendGcDetail";
+ this.sendGcDetail.Size = new System.Drawing.Size(852, 284);
+ this.sendGcDetail.TabIndex = 5;
+ this.sendGcDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.sendDetailView});
+ //
+ // sendDetailView
+ //
+ this.sendDetailView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
+ this.sendDetailView.Appearance.HeaderPanel.Options.UseFont = true;
+ this.sendDetailView.Appearance.HeaderPanel.Options.UseTextOptions = true;
+ this.sendDetailView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+ this.sendDetailView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
+ this.sendDetailView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
+ this.sendDetailView.Appearance.Preview.Options.UseFont = true;
+ this.sendDetailView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
+ this.sendDetailView.Appearance.Row.Options.UseBackColor = true;
+ this.sendDetailView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
+ this.sendDetailView.GridControl = this.sendGcDetail;
+ this.sendDetailView.IndicatorWidth = 40;
+ this.sendDetailView.Name = "sendDetailView";
+ this.sendDetailView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+ this.sendDetailView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
+ this.sendDetailView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
+ this.sendDetailView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
+ this.sendDetailView.OptionsFind.FindNullPrompt = "";
+ this.sendDetailView.OptionsSelection.MultiSelect = true;
+ this.sendDetailView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
+ this.sendDetailView.OptionsView.AllowHtmlDrawHeaders = true;
+ this.sendDetailView.OptionsView.ColumnAutoWidth = false;
+ this.sendDetailView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
+ this.sendDetailView.OptionsView.RowAutoHeight = true;
+ this.sendDetailView.OptionsView.ShowGroupPanel = false;
+ this.sendDetailView.PaintStyleName = "Skin";
+ //
+ // getPage
+ //
+ this.getPage.Controls.Add(this.splitControlGet);
+ this.getPage.Name = "getPage";
+ this.getPage.Size = new System.Drawing.Size(852, 526);
+ this.getPage.Text = "接收接口";
+ //
+ // splitControlGet
+ //
+ this.splitControlGet.Appearance.BackColor = System.Drawing.Color.Transparent;
+ this.splitControlGet.Appearance.Options.UseBackColor = true;
+ this.splitControlGet.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
+ this.splitControlGet.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitControlGet.Horizontal = false;
+ this.splitControlGet.Location = new System.Drawing.Point(0, 0);
+ this.splitControlGet.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.splitControlGet.Name = "splitControlGet";
+ this.splitControlGet.Panel1.Controls.Add(this.getGcMain);
+ this.splitControlGet.Panel1.Text = "Panel1";
+ this.splitControlGet.Panel2.Controls.Add(this.getGcDetail);
+ this.splitControlGet.Panel2.Text = "Panel2";
+ this.splitControlGet.Size = new System.Drawing.Size(852, 526);
+ this.splitControlGet.SplitterPosition = 237;
+ this.splitControlGet.TabIndex = 5;
+ this.splitControlGet.Text = "splitContainerControl1";
+ //
+ // getGcMain
+ //
+ this.getGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.getGcMain.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
+ gridLevelNode3.RelationName = "Level1";
+ this.getGcMain.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
+ gridLevelNode3});
+ this.getGcMain.Location = new System.Drawing.Point(0, 0);
+ this.getGcMain.MainView = this.getMainView;
+ this.getGcMain.Margin = new System.Windows.Forms.Padding(4);
+ this.getGcMain.Name = "getGcMain";
+ this.getGcMain.Size = new System.Drawing.Size(852, 237);
+ this.getGcMain.TabIndex = 5;
+ this.getGcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.getMainView});
+ //
+ // getMainView
+ //
+ this.getMainView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
+ this.getMainView.Appearance.HeaderPanel.Options.UseFont = true;
+ this.getMainView.Appearance.HeaderPanel.Options.UseTextOptions = true;
+ this.getMainView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+ this.getMainView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
+ this.getMainView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
+ this.getMainView.Appearance.Preview.Options.UseFont = true;
+ this.getMainView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
+ this.getMainView.Appearance.Row.Options.UseBackColor = true;
+ this.getMainView.Appearance.Row.Options.UseFont = true;
+ this.getMainView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
+ this.getMainView.GridControl = this.getGcMain;
+ this.getMainView.IndicatorWidth = 40;
+ this.getMainView.Name = "getMainView";
+ this.getMainView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+ this.getMainView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
+ this.getMainView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
+ this.getMainView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
+ this.getMainView.OptionsFind.FindNullPrompt = "";
+ this.getMainView.OptionsSelection.MultiSelect = true;
+ this.getMainView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
+ this.getMainView.OptionsView.AllowHtmlDrawHeaders = true;
+ this.getMainView.OptionsView.ColumnAutoWidth = false;
+ this.getMainView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
+ this.getMainView.OptionsView.RowAutoHeight = true;
+ this.getMainView.OptionsView.ShowGroupPanel = false;
+ this.getMainView.PaintStyleName = "Skin";
+ //
+ // getGcDetail
+ //
+ this.getGcDetail.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.getGcDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
+ gridLevelNode4.RelationName = "Level1";
+ this.getGcDetail.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
+ gridLevelNode4});
+ this.getGcDetail.Location = new System.Drawing.Point(0, 0);
+ this.getGcDetail.MainView = this.getDetailView;
+ this.getGcDetail.Margin = new System.Windows.Forms.Padding(4);
+ this.getGcDetail.Name = "getGcDetail";
+ this.getGcDetail.Size = new System.Drawing.Size(852, 284);
+ this.getGcDetail.TabIndex = 5;
+ this.getGcDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.getDetailView});
+ //
+ // getDetailView
+ //
+ this.getDetailView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
+ this.getDetailView.Appearance.HeaderPanel.Options.UseFont = true;
+ this.getDetailView.Appearance.HeaderPanel.Options.UseTextOptions = true;
+ this.getDetailView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+ this.getDetailView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
+ this.getDetailView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
+ this.getDetailView.Appearance.Preview.Options.UseFont = true;
+ this.getDetailView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
+ this.getDetailView.Appearance.Row.Options.UseBackColor = true;
+ this.getDetailView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
+ this.getDetailView.GridControl = this.getGcDetail;
+ this.getDetailView.IndicatorWidth = 40;
+ this.getDetailView.Name = "getDetailView";
+ this.getDetailView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+ this.getDetailView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
+ this.getDetailView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
+ this.getDetailView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
+ this.getDetailView.OptionsFind.FindNullPrompt = "";
+ this.getDetailView.OptionsSelection.MultiSelect = true;
+ this.getDetailView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
+ this.getDetailView.OptionsView.AllowHtmlDrawHeaders = true;
+ this.getDetailView.OptionsView.ColumnAutoWidth = false;
+ this.getDetailView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
+ this.getDetailView.OptionsView.RowAutoHeight = true;
+ this.getDetailView.OptionsView.ShowGroupPanel = false;
+ this.getDetailView.PaintStyleName = "Skin";
+ //
+ // eTypeCodeColumn
+ //
+ this.eTypeCodeColumn.Caption = "事件类型";
+ this.eTypeCodeColumn.ColumnEdit = this.eTypeCodeComboBox;
+ this.eTypeCodeColumn.FieldName = "eTypeCode";
+ this.eTypeCodeColumn.Name = "eTypeCodeColumn";
+ this.eTypeCodeColumn.Visible = true;
+ this.eTypeCodeColumn.VisibleIndex = 19;
+ //
+ // eTypeCodeComboBox
+ //
+ this.eTypeCodeComboBox.AutoHeight = false;
+ this.eTypeCodeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.eTypeCodeComboBox.Name = "eTypeCodeComboBox";
+ //
+ // disableTagColumn
+ //
+ this.disableTagColumn.Caption = "是否禁用";
+ this.disableTagColumn.ColumnEdit = this.disableTagComboBox;
+ this.disableTagColumn.FieldName = "disableTag";
+ this.disableTagColumn.Name = "disableTagColumn";
+ this.disableTagColumn.Visible = true;
+ this.disableTagColumn.VisibleIndex = 20;
+ //
+ // disableTagComboBox
+ //
+ this.disableTagComboBox.AutoHeight = false;
+ this.disableTagComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.disableTagComboBox.Name = "disableTagComboBox";
+ //
+ // FrmMain
+ //
+ this.Appearance.BackColor = System.Drawing.SystemColors.Control;
+ this.Appearance.Options.UseBackColor = true;
+ this.Appearance.Options.UseFont = true;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(858, 555);
+ this.Controls.Add(this.tabMain);
+ this.Name = "FrmMain";
+ this.Text = "FrmMain";
+ ((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
+ this.tabMain.ResumeLayout(false);
+ this.sendPage.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitControlSend)).EndInit();
+ this.splitControlSend.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.sendGcMain)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.sendMainView)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.reqDataTypeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.resDataTypeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.methodComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.datasourceMemoExEdit)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.actionTypeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.eTypeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.isSucceedCondMemoExEdit)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.tokenTypeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pmsTypeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.allowShowMsgComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.sendGcDetail)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.sendDetailView)).EndInit();
+ this.getPage.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).EndInit();
+ this.splitControlGet.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.getGcMain)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.getMainView)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.getDetailView)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.eTypeCodeComboBox)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.disableTagComboBox)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ public DevExpress.XtraTab.XtraTabControl tabMain;
+ private DevExpress.XtraTab.XtraTabPage sendPage;
+ private DevExpress.XtraTab.XtraTabPage getPage;
+ private DevExpress.XtraEditors.SplitContainerControl splitControlSend;
+ private DevExpress.XtraEditors.SplitContainerControl splitControlGet;
+ public DevExpress.XtraGrid.GridControl sendGcMain;
+ private DevExpress.XtraGrid.Views.Grid.GridView sendMainView;
+ public DevExpress.XtraGrid.GridControl sendGcDetail;
+ private DevExpress.XtraGrid.Views.Grid.GridView sendDetailView;
+ public DevExpress.XtraGrid.GridControl getGcMain;
+ private DevExpress.XtraGrid.Views.Grid.GridView getMainView;
+ public DevExpress.XtraGrid.GridControl getGcDetail;
+ private DevExpress.XtraGrid.Views.Grid.GridView getDetailView;
+ private DevExpress.XtraGrid.Columns.GridColumn titleColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn urlColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn dllcoidColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn contextMenuIdColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn reqDataTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn resDataTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn methodColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn datasourceColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn actionTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn eTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn actionDelayColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn finshDataPmColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn finshActionColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn isSucceedCondColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn tokenApiIdColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn tokenTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn pmsTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn ContentTypeColumn;
+ private DevExpress.XtraGrid.Columns.GridColumn allowShowMsgColumn;
+ private DevExpress.XtraEditors.Repository.RepositoryItemComboBox reqDataTypeComboBox;
+ private DevExpress.XtraEditors.Repository.RepositoryItemComboBox resDataTypeComboBox;
+ private DevExpress.XtraEditors.Repository.RepositoryItemComboBox m
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/FrmMain.cs b/插件库/Lskj.PubApiSetModule/FrmMain.cs
new file mode 100644
index 0000000..c7c34ce
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/FrmMain.cs
@@ -0,0 +1,134 @@
+using Lskj.Business.Impl;
+using Lskj.Control;
+using Lskj.Core;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Data.SqlClient;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Lskj.PubApiSetModule
+{
+ public partial class FrmMain : BaseForm
+ {
+ public DynamicApiSetModel Model;
+ public SqlDataAdapter SendMainAdapterObj;
+ public SqlDataAdapter SendDetailAdapterObj;
+ public FrmMain()
+ {
+ InitializeComponent();
+ this.Load += OnFrmMainLoad;
+ }
+ ///
+ /// 初始化时
+ ///
+ ///
+ ///
+ private void OnFrmMainLoad(object sender, EventArgs e)
+ {
+ InitEventApiTable();
+ InitColumnsData();
+ InitDataSource();
+ }
+ ///
+ /// 初始化数据源
+ ///
+ private void InitDataSource()
+ {
+ //SendMain
+ SendMainAdapterObj = BaseImpl.GetAdapterResult("select * from p_systemeventapitab");
+ DataTable sendMainTable = new DataTable();
+ SendMainAdapterObj.Fill(sendMainTable);
+ sendGcMain.DataSource = sendMainTable;
+ //SendDetail
+ SendDetailAdapterObj = BaseImpl.GetAdapterResult("select * from p_systemeventapipmstab");
+ DataTable sendDetailTable = new DataTable();
+ SendMainAdapterObj.Fill(sendDetailTable);
+ sendGcDetail.DataSource = sendDetailTable;
+ }
+ ///
+ /// 初始化表格数据源
+ ///
+ private void InitColumnsData()
+ {
+ //reqDataType
+ reqDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "Json" });
+ reqDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "Text" });
+ reqDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "Xml" });
+ //resDataType
+ resDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "Json" });
+ resDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "Text" });
+ resDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "Xml" });
+ //method
+ methodComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "Get" });
+ methodComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "Post" });
+ //actionType
+ actionTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "手动触发" });
+ actionTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "循环触发" });
+ //eType
+ eTypeComboBox.Items.Add(new ComBoxModel() { Value = "AfterModuleDataChange", Text = "数据改变后" });
+ eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleDataChange", Text = "数据改变前" });
+ eTypeComboBox.Items.Add(new ComBoxModel() { Value = "AfterModuleContextMenu", Text = "右键执行后" });
+ eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleContextMenu", Text = "右键执行前" });
+ eTypeComboBox.Items.Add(new ComBoxModel() { Value = "AfterModuleAuditStateChange", Text = "审核执行后" });
+ eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleAuditStateChange", Text = "审核执行前" });
+ //tokenType
+ tokenTypeComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "Token文本" });
+ tokenTypeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "Cookie" });
+ //eTypeCode
+ eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "新增" });
+ eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "2", Text = "更新" });
+ eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "3", Text = "删除" });
+ eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "21", Text = "提交审核" });
+ eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "31", Text = "审核" });
+ eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "32", Text = "反审" });
+ //allowShowMsg
+ allowShowMsgComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "不提示" });
+ allowShowMsgComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "提示" });
+ //disableTag
+ disableTagComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "启用" });
+ disableTagComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "禁用" });
+ }
+ ///
+ /// 构建数据表
+ ///
+ private bool InitEventApiTable()
+ {
+ try
+ {
+ Dictionary colDic = new Dictionary();
+ colDic.Add("title", "varchar(200)");
+ colDic.Add("url", "varchar(1000)");
+ colDic.Add("dllcoid", "varchar(100)");
+ colDic.Add("contextMenuId", "int");
+ colDic.Add("reqDataType", "int");
+ colDic.Add("resDataType", "int");
+ colDic.Add("method", "int");
+ colDic.Add("datasource", "varchar(8000)");
+ colDic.Add("actionType", "int");
+ colDic.Add("actionDelay", "int");
+ colDic.Add("eType", "varchar(1000)");
+ colDic.Add("finshAction", "varchar(8000)");
+ colDic.Add("orderValue", "int");
+ colDic.Add("isSucceedCond", "varchar(100)");
+ colDic.Add("tokenApiId", "int");
+ colDic.Add("tokenType", "int");
+ colDic.Add("dynamicToken", "varchar(200)");
+ colDic.Add("pmsType", "int");
+ colDic.Add("allowShowMsg", "int");
+ colDic.Add("ContentType", "varchar(200)");
+ string isExitApiTab = "select top 1 * from sysObjects where Id=OBJECT_ID(N'p_systemEventApiTab') and xtype='U'";
+ DataTable apiTab = SqlHelper.ExecuteDataTable(isExitApiTab);
+ if (apiTab.Rows.Count > 0)//存在日志表
+ {
+ DataTable columnsTab = SqlHelper.ExecuteDataTable(string.Format("select name from syscolumns where id=object_id('p_systemEventApiTab')"));
+ foreach (KeyValuePair colunmField in colDic)
+ {
+ DataRow[] dataRows = columnsTab.Select().Where(n => (n["name"] + "").Equals(colunmField.Key)).ToArray();
+ if (dataRows.Length == 0)
+ {
+ string addColSql =
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/FrmMain.resx b/插件库/Lskj.PubApiSetModule/FrmMain.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/FrmMain.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/Lskj.PubApiSetModule.csproj b/插件库/Lskj.PubApiSetModule/Lskj.PubApiSetModule.csproj
new file mode 100644
index 0000000..21be509
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/Lskj.PubApiSetModule.csproj
@@ -0,0 +1,113 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {8908B998-4FF9-4748-A9CF-BD256C6FA0BB}
+ WinExe
+ Lskj.PubApiSetModule
+ Lskj.PubApiSetModule
+ v4.0
+ 512
+ true
+
+
+ x86
+ true
+ full
+ false
+ ..\..\Debug\Lib\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+ False
+ ..\..\引用DLL\Newtonsoft.Json.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ FrmMain.cs
+
+
+
+ FrmMain.cs
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+ {7EAFCCC2-A18F-49E9-85C6-A984966CFD01}
+ Lskj.Business
+
+
+ {447CDC40-659F-4CCA-9ED6-8E818B4CF8BF}
+ Lskj.Control
+
+
+ {2A1BE6AC-1077-491B-A754-C5822FE8121E}
+ Lskj.Core
+
+
+ {52BC40E0-C0C6-4F78-996B-CAE028D209CA}
+ Lskj.Model
+
+
+ {A51BF642-6543-4DE3-8948-83F558B72BD4}
+ Lskj.Util
+
+
+
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/Properties/AssemblyInfo.cs b/插件库/Lskj.PubApiSetModule/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..bedb2ab
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/Properties/AssemblyInfo.cs
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Lskj.PubApiSetModule")]
+[assembly: AssemblyDescr
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/Properties/Resources.Designer.cs b/插件库/Lskj.PubApiSetModule/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..0260186
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/Properties/Resources.Designer.cs
@@ -0,0 +1,40 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本: 4.0.30319.42000
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+//
+//------------------------------------------------------------------------------
+
+
+namespace Lskj.PubApiSetModule.Properties
+{
+ ///
+ /// 强类型资源类,用于查找本地化字符串等。
+ ///
+ // 此类是由 StronglyTypedResourceBuilder
+ // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+ // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+ // (以 /str 作为命令选项),或重新生成 VS 项目。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// 返回此类使用的缓存 ResourceManager 实例。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/Properties/Resources.resx b/插件库/Lskj.PubApiSetModule/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/Properties/Settings.Designer.cs b/插件库/Lskj.PubApiSetModule/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..e8231b6
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/Properties/Settings.Designer.cs
@@ -0,0 +1 @@
+//----------------------------------------------------------------------------
\ No newline at end of file
diff --git a/插件库/Lskj.PubApiSetModule/Properties/Settings.settings b/插件库/Lskj.PubApiSetModule/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/插件库/Lskj.PubApiSetModule/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+