|
|
@@ -65,7 +65,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonDeleteCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
|
|
|
this.Brand_label = new DevExpress.XtraEditors.LabelControl();
|
|
|
this.Brand = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
|
- this.ButtonNewCommand = new DevExpress.XtraEditors.SimpleButton();
|
|
|
+ this.ButtonNewCommand = new CustomerControl.Button.ButtonAddRow();
|
|
|
this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
|
|
|
this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
@@ -82,6 +82,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridDeviceNetSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewDeviceNetSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
this.NetSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dnc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dnc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dnc_getway = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -103,21 +104,33 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
|
|
|
+ this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_function = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_enable = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_status = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.POLLSETTINGSTATUSCOLUMN = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PollingSetItemLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
- this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
|
|
|
- this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
- this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.ButtonAddPolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
|
|
|
+ this.ButtonDeletePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
|
|
|
+ this.ButtonSavePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
|
|
|
+ this.GridPolling = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
+ this.GridViewPolling = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
+ this.PollingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_type = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- this.CheckedComboxDeviceStatus = new DevExpress.XtraEditors.CheckedComboBoxEdit();
|
|
|
+ this.GridDeviceStatus = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
+ this.GridViewDeviceStatus = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
this.PageWorkCenterStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.GridWorkCenterStatus = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewWorkCenterStatus = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
@@ -135,14 +148,19 @@ namespace UAS_DeviceMonitor
|
|
|
this.PageDeviceNetSetting.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceNetSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceNetSetting)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
|
|
|
this.PagePollingSetting.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
|
|
|
+ this.PagePolling.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).BeginInit();
|
|
|
this.PageDeviceStatus.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.CheckedComboxDeviceStatus.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridDeviceStatus)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceStatus)).BeginInit();
|
|
|
this.PageWorkCenterStatus.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).BeginInit();
|
|
|
@@ -284,6 +302,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.PageCommandSet,
|
|
|
this.PageDeviceNetSetting,
|
|
|
this.PagePollingSetting,
|
|
|
+ this.PagePolling,
|
|
|
this.PageDeviceStatus,
|
|
|
this.PageWorkCenterStatus});
|
|
|
//
|
|
|
@@ -477,7 +496,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonNewCommand.Size = new System.Drawing.Size(64, 23);
|
|
|
this.ButtonNewCommand.TabIndex = 3;
|
|
|
this.ButtonNewCommand.Text = "新增";
|
|
|
- this.ButtonNewCommand.Click += new System.EventHandler(this.ButtonNewCommand_Click);
|
|
|
//
|
|
|
// ButtonSaveCommand
|
|
|
//
|
|
|
@@ -566,7 +584,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_name.VisibleIndex = 2;
|
|
|
this.dc_name.Width = 123;
|
|
|
//
|
|
|
- // dc_value
|
|
|
+ // dc_command
|
|
|
//
|
|
|
this.dc_value.Caption = "发送指令";
|
|
|
this.dc_value.FieldName = "DC_VALUE";
|
|
|
@@ -629,6 +647,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridDeviceNetSetting.MainView = this.GridViewDeviceNetSetting;
|
|
|
this.GridDeviceNetSetting.MenuManager = this.RibbonNav;
|
|
|
this.GridDeviceNetSetting.Name = "GridDeviceNetSetting";
|
|
|
+ this.GridDeviceNetSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
+ this.dpc_enableCheckEdit});
|
|
|
this.GridDeviceNetSetting.RowCount = 0;
|
|
|
this.GridDeviceNetSetting.Size = new System.Drawing.Size(1024, 540);
|
|
|
this.GridDeviceNetSetting.TabIndex = 0;
|
|
|
@@ -656,6 +676,7 @@ namespace UAS_DeviceMonitor
|
|
|
// NetSettingCheckedColumn
|
|
|
//
|
|
|
this.NetSettingCheckedColumn.Caption = " ";
|
|
|
+ this.NetSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
this.NetSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
|
|
|
this.NetSettingCheckedColumn.Name = "NetSettingCheckedColumn";
|
|
|
this.NetSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
|
|
|
@@ -664,6 +685,15 @@ namespace UAS_DeviceMonitor
|
|
|
this.NetSettingCheckedColumn.Visible = true;
|
|
|
this.NetSettingCheckedColumn.VisibleIndex = 0;
|
|
|
//
|
|
|
+ // dpc_enableCheckEdit
|
|
|
+ //
|
|
|
+ this.dpc_enableCheckEdit.AutoHeight = false;
|
|
|
+ this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
|
|
|
+ this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
+ this.dpc_enableCheckEdit.NullText = "0";
|
|
|
+ this.dpc_enableCheckEdit.ValueChecked = "-1";
|
|
|
+ this.dpc_enableCheckEdit.ValueUnchecked = "0";
|
|
|
+ //
|
|
|
// dnc_id
|
|
|
//
|
|
|
this.dnc_id.Caption = "ID";
|
|
|
@@ -738,6 +768,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.PagePollingSetting.PageVisible = false;
|
|
|
this.PagePollingSetting.Size = new System.Drawing.Size(1027, 577);
|
|
|
this.PagePollingSetting.Text = "xtraTabPage1";
|
|
|
+ this.PagePollingSetting.VisibleChanged += new System.EventHandler(this.PagePollingSetting_VisibleChanged);
|
|
|
//
|
|
|
// ButtonDeleteCommandSet
|
|
|
//
|
|
|
@@ -804,6 +835,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridPollingSetting.MenuManager = this.RibbonNav;
|
|
|
this.GridPollingSetting.Name = "GridPollingSetting";
|
|
|
this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
+ this.dpc_enableCheckEdit,
|
|
|
this.PollingSetItemLookUpEdit,
|
|
|
this.PollSettingItemSearchLookUpEdit});
|
|
|
this.GridPollingSetting.RowCount = 0;
|
|
|
@@ -836,6 +868,7 @@ namespace UAS_DeviceMonitor
|
|
|
// PollSettingCheckedColumn
|
|
|
//
|
|
|
this.PollSettingCheckedColumn.Caption = " ";
|
|
|
+ this.PollSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
this.PollSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
|
|
|
this.PollSettingCheckedColumn.Name = "PollSettingCheckedColumn";
|
|
|
this.PollSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
|
|
|
@@ -871,12 +904,57 @@ namespace UAS_DeviceMonitor
|
|
|
// dpc_dccode
|
|
|
//
|
|
|
this.dpc_dccode.Caption = "指令编号";
|
|
|
+ this.dpc_dccode.ColumnEdit = this.PollSettingItemSearchLookUpEdit;
|
|
|
this.dpc_dccode.FieldName = "DPC_DCCODE";
|
|
|
this.dpc_dccode.Name = "dpc_dccode";
|
|
|
this.dpc_dccode.Visible = true;
|
|
|
this.dpc_dccode.VisibleIndex = 3;
|
|
|
this.dpc_dccode.Width = 90;
|
|
|
//
|
|
|
+ // PollSettingItemSearchLookUpEdit
|
|
|
+ //
|
|
|
+ this.PollSettingItemSearchLookUpEdit.AutoHeight = false;
|
|
|
+ this.PollSettingItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.PollSettingItemSearchLookUpEdit.Name = "PollSettingItemSearchLookUpEdit";
|
|
|
+ this.PollSettingItemSearchLookUpEdit.NullText = "";
|
|
|
+ this.PollSettingItemSearchLookUpEdit.View = this.PollSettingItemSearchLookUpEditView;
|
|
|
+ //
|
|
|
+ // PollSettingItemSearchLookUpEditView
|
|
|
+ //
|
|
|
+ this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.gridColumn4,
|
|
|
+ this.gridColumn2,
|
|
|
+ this.gridColumn5});
|
|
|
+ this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
|
|
+ this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
|
|
|
+ this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
+ this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
|
|
|
+ //
|
|
|
+ // gridColumn4
|
|
|
+ //
|
|
|
+ this.gridColumn4.Caption = "指令编号";
|
|
|
+ this.gridColumn4.FieldName = "DC_CODE";
|
|
|
+ this.gridColumn4.Name = "gridColumn4";
|
|
|
+ this.gridColumn4.Visible = true;
|
|
|
+ this.gridColumn4.VisibleIndex = 0;
|
|
|
+ //
|
|
|
+ // gridColumn2
|
|
|
+ //
|
|
|
+ this.gridColumn2.Caption = "指令名称";
|
|
|
+ this.gridColumn2.FieldName = "DC_NAME";
|
|
|
+ this.gridColumn2.Name = "gridColumn2";
|
|
|
+ this.gridColumn2.Visible = true;
|
|
|
+ this.gridColumn2.VisibleIndex = 1;
|
|
|
+ //
|
|
|
+ // gridColumn5
|
|
|
+ //
|
|
|
+ this.gridColumn5.Caption = "备注";
|
|
|
+ this.gridColumn5.FieldName = "DC_REMARK";
|
|
|
+ this.gridColumn5.Name = "gridColumn5";
|
|
|
+ this.gridColumn5.Visible = true;
|
|
|
+ this.gridColumn5.VisibleIndex = 2;
|
|
|
+ //
|
|
|
// dpc_function
|
|
|
//
|
|
|
this.dpc_function.Caption = "解析函数";
|
|
|
@@ -889,6 +967,7 @@ namespace UAS_DeviceMonitor
|
|
|
// dpc_enable
|
|
|
//
|
|
|
this.dpc_enable.Caption = "是否启用";
|
|
|
+ this.dpc_enable.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
this.dpc_enable.FieldName = "DPC_ENABLE";
|
|
|
this.dpc_enable.Name = "dpc_enable";
|
|
|
this.dpc_enable.Visible = true;
|
|
|
@@ -933,85 +1012,177 @@ namespace UAS_DeviceMonitor
|
|
|
this.PollingSetItemLookUpEdit.ShowFooter = false;
|
|
|
this.PollingSetItemLookUpEdit.ShowHeader = false;
|
|
|
//
|
|
|
- // PollSettingItemSearchLookUpEdit
|
|
|
- //
|
|
|
- this.PollSettingItemSearchLookUpEdit.AutoHeight = false;
|
|
|
- this.PollSettingItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.PollSettingItemSearchLookUpEdit.Name = "PollSettingItemSearchLookUpEdit";
|
|
|
- this.PollSettingItemSearchLookUpEdit.NullText = "";
|
|
|
- this.PollSettingItemSearchLookUpEdit.View = this.PollSettingItemSearchLookUpEditView;
|
|
|
- //
|
|
|
- // PollSettingItemSearchLookUpEditView
|
|
|
- //
|
|
|
- this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
- this.gridColumn1,
|
|
|
- this.gridColumn2,
|
|
|
- this.gridColumn3,
|
|
|
- this.gridColumn4,
|
|
|
- this.gridColumn5});
|
|
|
- this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
|
|
- this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
|
|
|
- this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
- this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
|
|
|
- //
|
|
|
- // gridColumn1
|
|
|
- //
|
|
|
- this.gridColumn1.Caption = "业务编号";
|
|
|
- this.gridColumn1.FieldName = "PL_CODE";
|
|
|
- this.gridColumn1.Name = "gridColumn1";
|
|
|
- this.gridColumn1.Visible = true;
|
|
|
- this.gridColumn1.VisibleIndex = 0;
|
|
|
- //
|
|
|
- // gridColumn2
|
|
|
- //
|
|
|
- this.gridColumn2.Caption = "业务名称";
|
|
|
- this.gridColumn2.FieldName = "PL_NAME";
|
|
|
- this.gridColumn2.Name = "gridColumn2";
|
|
|
- this.gridColumn2.Visible = true;
|
|
|
- this.gridColumn2.VisibleIndex = 1;
|
|
|
- //
|
|
|
- // gridColumn3
|
|
|
- //
|
|
|
- this.gridColumn3.Caption = "业务类型";
|
|
|
- this.gridColumn3.FieldName = "PL_TYPE";
|
|
|
- this.gridColumn3.Name = "gridColumn3";
|
|
|
- this.gridColumn3.Visible = true;
|
|
|
- this.gridColumn3.VisibleIndex = 2;
|
|
|
- //
|
|
|
- // gridColumn4
|
|
|
- //
|
|
|
- this.gridColumn4.Caption = "指令编号";
|
|
|
- this.gridColumn4.FieldName = "PL_DCCODE";
|
|
|
- this.gridColumn4.Name = "gridColumn4";
|
|
|
- this.gridColumn4.Visible = true;
|
|
|
- this.gridColumn4.VisibleIndex = 3;
|
|
|
- //
|
|
|
- // gridColumn5
|
|
|
- //
|
|
|
- this.gridColumn5.Caption = "备注";
|
|
|
- this.gridColumn5.FieldName = "PL_REMARK";
|
|
|
- this.gridColumn5.Name = "gridColumn5";
|
|
|
- this.gridColumn5.Visible = true;
|
|
|
- this.gridColumn5.VisibleIndex = 4;
|
|
|
+ // PagePolling
|
|
|
+ //
|
|
|
+ this.PagePolling.Controls.Add(this.ButtonAddPolling);
|
|
|
+ this.PagePolling.Controls.Add(this.ButtonDeletePolling);
|
|
|
+ this.PagePolling.Controls.Add(this.ButtonSavePolling);
|
|
|
+ this.PagePolling.Controls.Add(this.GridPolling);
|
|
|
+ this.PagePolling.Name = "PagePolling";
|
|
|
+ this.PagePolling.PageVisible = false;
|
|
|
+ this.PagePolling.Size = new System.Drawing.Size(1027, 577);
|
|
|
+ this.PagePolling.Text = "xtraTabPage1";
|
|
|
+ //
|
|
|
+ // ButtonAddPolling
|
|
|
+ //
|
|
|
+ this.ButtonAddPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.ButtonAddPolling.Grid = null;
|
|
|
+ this.ButtonAddPolling.Location = new System.Drawing.Point(878, 551);
|
|
|
+ this.ButtonAddPolling.Name = "ButtonAddPolling";
|
|
|
+ this.ButtonAddPolling.Size = new System.Drawing.Size(64, 23);
|
|
|
+ this.ButtonAddPolling.TabIndex = 9;
|
|
|
+ this.ButtonAddPolling.Text = "新增";
|
|
|
+ //
|
|
|
+ // ButtonDeletePolling
|
|
|
+ //
|
|
|
+ this.ButtonDeletePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.ButtonDeletePolling.Grid = null;
|
|
|
+ this.ButtonDeletePolling.Location = new System.Drawing.Point(807, 551);
|
|
|
+ this.ButtonDeletePolling.Name = "ButtonDeletePolling";
|
|
|
+ this.ButtonDeletePolling.Size = new System.Drawing.Size(64, 23);
|
|
|
+ this.ButtonDeletePolling.TabIndex = 8;
|
|
|
+ this.ButtonDeletePolling.Text = "删除";
|
|
|
+ //
|
|
|
+ // ButtonSavePolling
|
|
|
+ //
|
|
|
+ this.ButtonSavePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.ButtonSavePolling.Grid = null;
|
|
|
+ this.ButtonSavePolling.HandlerOtherFirst = false;
|
|
|
+ this.ButtonSavePolling.Location = new System.Drawing.Point(949, 551);
|
|
|
+ this.ButtonSavePolling.Name = "ButtonSavePolling";
|
|
|
+ this.ButtonSavePolling.Size = new System.Drawing.Size(64, 23);
|
|
|
+ this.ButtonSavePolling.TabIndex = 7;
|
|
|
+ this.ButtonSavePolling.Text = "保存";
|
|
|
+ //
|
|
|
+ // GridPolling
|
|
|
+ //
|
|
|
+ this.GridPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.GridPolling.Condition = null;
|
|
|
+ this.GridPolling.GetDataSQL = null;
|
|
|
+ this.GridPolling.ID = null;
|
|
|
+ this.GridPolling.InsertSQL = null;
|
|
|
+ this.GridPolling.Location = new System.Drawing.Point(3, -3);
|
|
|
+ this.GridPolling.MainView = this.GridViewPolling;
|
|
|
+ this.GridPolling.MenuManager = this.RibbonNav;
|
|
|
+ this.GridPolling.Name = "GridPolling";
|
|
|
+ this.GridPolling.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
+ this.dpc_enableCheckEdit});
|
|
|
+ this.GridPolling.RowCount = 0;
|
|
|
+ this.GridPolling.Size = new System.Drawing.Size(1027, 549);
|
|
|
+ this.GridPolling.TabIndex = 0;
|
|
|
+ this.GridPolling.TableName = null;
|
|
|
+ this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
+ this.GridViewPolling});
|
|
|
+ //
|
|
|
+ // GridViewPolling
|
|
|
+ //
|
|
|
+ this.GridViewPolling.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.PollingCheckedColumn,
|
|
|
+ this.pl_id,
|
|
|
+ this.pl_code,
|
|
|
+ this.pl_name,
|
|
|
+ this.pl_type,
|
|
|
+ this.pl_dccode,
|
|
|
+ this.pl_remark});
|
|
|
+ this.GridViewPolling.GridControl = this.GridPolling;
|
|
|
+ this.GridViewPolling.IndicatorWidth = 30;
|
|
|
+ this.GridViewPolling.Name = "GridViewPolling";
|
|
|
+ this.GridViewPolling.OptionsView.ShowGroupPanel = false;
|
|
|
+ //
|
|
|
+ // PollingCheckedColumn
|
|
|
+ //
|
|
|
+ this.PollingCheckedColumn.Caption = " ";
|
|
|
+ this.PollingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
+ this.PollingCheckedColumn.FieldName = "CHECKEDCOLUMN";
|
|
|
+ this.PollingCheckedColumn.Name = "PollingCheckedColumn";
|
|
|
+ this.PollingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ this.PollingCheckedColumn.Tag = "0";
|
|
|
+ this.PollingCheckedColumn.Visible = true;
|
|
|
+ this.PollingCheckedColumn.VisibleIndex = 0;
|
|
|
+ //
|
|
|
+ // pl_id
|
|
|
+ //
|
|
|
+ this.pl_id.Caption = "ID";
|
|
|
+ this.pl_id.FieldName = "PL_ID";
|
|
|
+ this.pl_id.Name = "pl_id";
|
|
|
+ //
|
|
|
+ // pl_code
|
|
|
+ //
|
|
|
+ this.pl_code.Caption = "业务编号";
|
|
|
+ this.pl_code.FieldName = "PL_CODE";
|
|
|
+ this.pl_code.Name = "pl_code";
|
|
|
+ this.pl_code.Visible = true;
|
|
|
+ this.pl_code.VisibleIndex = 1;
|
|
|
+ //
|
|
|
+ // pl_name
|
|
|
+ //
|
|
|
+ this.pl_name.Caption = "业务名称";
|
|
|
+ this.pl_name.FieldName = "PL_NAME";
|
|
|
+ this.pl_name.Name = "pl_name";
|
|
|
+ this.pl_name.Visible = true;
|
|
|
+ this.pl_name.VisibleIndex = 2;
|
|
|
+ //
|
|
|
+ // pl_type
|
|
|
+ //
|
|
|
+ this.pl_type.Caption = "业务类型";
|
|
|
+ this.pl_type.FieldName = "PL_TYPE";
|
|
|
+ this.pl_type.Name = "pl_type";
|
|
|
+ this.pl_type.Visible = true;
|
|
|
+ this.pl_type.VisibleIndex = 3;
|
|
|
+ //
|
|
|
+ // pl_dccode
|
|
|
+ //
|
|
|
+ this.pl_dccode.Caption = "指令编号";
|
|
|
+ this.pl_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
|
|
|
+ this.pl_dccode.FieldName = "PL_DCCODE";
|
|
|
+ this.pl_dccode.Name = "pl_dccode";
|
|
|
+ this.pl_dccode.Visible = true;
|
|
|
+ this.pl_dccode.VisibleIndex = 4;
|
|
|
+ //
|
|
|
+ // pl_remark
|
|
|
+ //
|
|
|
+ this.pl_remark.Caption = "备注";
|
|
|
+ this.pl_remark.FieldName = "PL_REMARK";
|
|
|
+ this.pl_remark.Name = "pl_remark";
|
|
|
+ this.pl_remark.Visible = true;
|
|
|
+ this.pl_remark.VisibleIndex = 5;
|
|
|
//
|
|
|
// PageDeviceStatus
|
|
|
//
|
|
|
- this.PageDeviceStatus.Controls.Add(this.CheckedComboxDeviceStatus);
|
|
|
+ this.PageDeviceStatus.Controls.Add(this.GridDeviceStatus);
|
|
|
this.PageDeviceStatus.Name = "PageDeviceStatus";
|
|
|
this.PageDeviceStatus.PageVisible = false;
|
|
|
this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 577);
|
|
|
this.PageDeviceStatus.Text = "xtraTabPage1";
|
|
|
//
|
|
|
- // CheckedComboxDeviceStatus
|
|
|
+ // GridDeviceStatus
|
|
|
//
|
|
|
- this.CheckedComboxDeviceStatus.Location = new System.Drawing.Point(86, 31);
|
|
|
- this.CheckedComboxDeviceStatus.MenuManager = this.RibbonNav;
|
|
|
- this.CheckedComboxDeviceStatus.Name = "CheckedComboxDeviceStatus";
|
|
|
- this.CheckedComboxDeviceStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.CheckedComboxDeviceStatus.Size = new System.Drawing.Size(124, 20);
|
|
|
- this.CheckedComboxDeviceStatus.TabIndex = 0;
|
|
|
+ this.GridDeviceStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.GridDeviceStatus.Condition = null;
|
|
|
+ this.GridDeviceStatus.GetDataSQL = null;
|
|
|
+ this.GridDeviceStatus.ID = null;
|
|
|
+ this.GridDeviceStatus.InsertSQL = null;
|
|
|
+ this.GridDeviceStatus.Location = new System.Drawing.Point(3, 0);
|
|
|
+ this.GridDeviceStatus.MainView = this.GridViewDeviceStatus;
|
|
|
+ this.GridDeviceStatus.MenuManager = this.RibbonNav;
|
|
|
+ this.GridDeviceStatus.Name = "GridDeviceStatus";
|
|
|
+ this.GridDeviceStatus.RowCount = 0;
|
|
|
+ this.GridDeviceStatus.Size = new System.Drawing.Size(1024, 577);
|
|
|
+ this.GridDeviceStatus.TabIndex = 0;
|
|
|
+ this.GridDeviceStatus.TableName = null;
|
|
|
+ this.GridDeviceStatus.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
+ this.GridViewDeviceStatus});
|
|
|
+ //
|
|
|
+ // GridViewDeviceStatus
|
|
|
+ //
|
|
|
+ this.GridViewDeviceStatus.GridControl = this.GridDeviceStatus;
|
|
|
+ this.GridViewDeviceStatus.IndicatorWidth = 30;
|
|
|
+ this.GridViewDeviceStatus.Name = "GridViewDeviceStatus";
|
|
|
+ this.GridViewDeviceStatus.OptionsView.ShowGroupPanel = false;
|
|
|
//
|
|
|
// PageWorkCenterStatus
|
|
|
//
|
|
|
@@ -1078,14 +1249,19 @@ namespace UAS_DeviceMonitor
|
|
|
this.PageDeviceNetSetting.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceNetSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceNetSetting)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
|
|
|
this.PagePollingSetting.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
|
|
|
+ this.PagePolling.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
|
|
|
this.PageDeviceStatus.ResumeLayout(false);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.CheckedComboxDeviceStatus.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridDeviceStatus)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceStatus)).EndInit();
|
|
|
this.PageWorkCenterStatus.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).EndInit();
|
|
|
@@ -1112,6 +1288,7 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtionPolling;
|
|
|
private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
|
|
|
+ private DevExpress.XtraTab.XtraTabPage PagePolling;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_id;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_code;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_name;
|
|
|
@@ -1128,7 +1305,14 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_code;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_name;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_value;
|
|
|
+ private AutoDataGridControl GridPolling;
|
|
|
private AutoDataGridControl GridPollingSetting;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_id;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_code;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_name;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_type;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_dccode;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_remark;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_id;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_decode;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
|
|
|
@@ -1137,15 +1321,20 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_enable;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_status;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
|
|
|
+ private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
|
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommand;
|
|
|
- private SimpleButton ButtonNewCommand;
|
|
|
+ private CustomerControl.Button.ButtonAddRow ButtonNewCommand;
|
|
|
private GridViewWithSerialNum GridViewDeviceList;
|
|
|
private GridViewWithSerialNum GridViewCommandSet;
|
|
|
+ private GridViewWithSerialNum GridViewPolling;
|
|
|
private GridViewWithSerialNum GridViewPollSetting;
|
|
|
private LabelControl Brand_label;
|
|
|
private ComboBoxEdit Brand;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
|
|
|
private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
|
|
|
+ private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
|
|
|
+ private CustomerControl.Button.ButtonSaveGrid ButtonSavePolling;
|
|
|
+ private CustomerControl.Button.ButtonAddRow ButtonAddPolling;
|
|
|
private SimpleButton ButtonPausePolling;
|
|
|
private SimpleButton ButtonStartPolling;
|
|
|
private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommandSet;
|
|
|
@@ -1155,11 +1344,9 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn PollSettingCheckedColumn;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn CommandSetCheckedColumn;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn PollingCheckedColumn;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit PollSettingItemSearchLookUpEdit;
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView PollSettingItemSearchLookUpEditView;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonDeviceStatus;
|
|
|
@@ -1168,6 +1355,8 @@ namespace UAS_DeviceMonitor
|
|
|
private GridViewWithSerialNum GridViewDeviceNetSetting;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageWorkCenterStatus;
|
|
|
+ private AutoDataGridControl GridDeviceStatus;
|
|
|
+ private GridViewWithSerialNum GridViewDeviceStatus;
|
|
|
private AutoDataGridControl GridWorkCenterStatus;
|
|
|
private GridViewWithSerialNum GridViewWorkCenterStatus;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dnc_id;
|
|
|
@@ -1182,6 +1371,6 @@ namespace UAS_DeviceMonitor
|
|
|
private CustomerControl.Button.ButtonAddRow ButtonAddNetConfig;
|
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveNetConfig;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn NetSettingCheckedColumn;
|
|
|
- private CheckedComboBoxEdit CheckedComboxDeviceStatus;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
|
}
|
|
|
}
|