|
|
@@ -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 UAS_DeviceMonitor.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();
|
|
|
@@ -74,7 +74,10 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dc_command = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dc_value = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dc_sendcoding = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.CommandSetRepositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
|
|
+ this.dc_receivecoding = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PageDeviceNetSetting = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.ButtonDeleteNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
|
|
|
this.ButtonAddNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
|
|
|
@@ -82,6 +85,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();
|
|
|
@@ -99,20 +103,15 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
this.PollSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dpc_plcode = 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.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.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dpc_plname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dpc_dccode = 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();
|
|
|
@@ -133,8 +132,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- 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();
|
|
|
@@ -149,22 +146,20 @@ namespace UAS_DeviceMonitor
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.CommandSetRepositoryItemComboBox1)).BeginInit();
|
|
|
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.dpc_enableCheckEdit)).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.GridDeviceStatus)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceStatus)).BeginInit();
|
|
|
this.PageWorkCenterStatus.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).BeginInit();
|
|
|
@@ -274,7 +269,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.RibDeviceInf.ItemLinks.Add(this.ButtonCommandSet, true);
|
|
|
this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceList);
|
|
|
this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceNetSetting);
|
|
|
- this.RibDeviceInf.ItemLinks.Add(this.ButtionPolling);
|
|
|
this.RibDeviceInf.ItemLinks.Add(this.ButtonPollingSetting);
|
|
|
this.RibDeviceInf.Name = "RibDeviceInf";
|
|
|
this.RibDeviceInf.ShowCaptionButton = false;
|
|
|
@@ -496,12 +490,12 @@ namespace UAS_DeviceMonitor
|
|
|
// ButtonNewCommand
|
|
|
//
|
|
|
this.ButtonNewCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.ButtonNewCommand.Grid = null;
|
|
|
this.ButtonNewCommand.Location = new System.Drawing.Point(886, 551);
|
|
|
this.ButtonNewCommand.Name = "ButtonNewCommand";
|
|
|
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
|
|
|
//
|
|
|
@@ -529,7 +523,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridCommandSetting.MenuManager = this.RibbonNav;
|
|
|
this.GridCommandSetting.Name = "GridCommandSetting";
|
|
|
this.GridCommandSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
- this.CheckEditCommandSet});
|
|
|
+ this.CheckEditCommandSet,
|
|
|
+ this.CommandSetRepositoryItemComboBox1});
|
|
|
this.GridCommandSetting.RowCount = 0;
|
|
|
this.GridCommandSetting.Size = new System.Drawing.Size(1027, 517);
|
|
|
this.GridCommandSetting.TabIndex = 1;
|
|
|
@@ -544,7 +539,9 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_id,
|
|
|
this.dc_code,
|
|
|
this.dc_name,
|
|
|
- this.dc_command});
|
|
|
+ this.dc_value,
|
|
|
+ this.dc_sendcoding,
|
|
|
+ this.dc_receivecoding});
|
|
|
this.GridViewCommandSet.GridControl = this.GridCommandSetting;
|
|
|
this.GridViewCommandSet.IndicatorWidth = 30;
|
|
|
this.GridViewCommandSet.Name = "GridViewCommandSet";
|
|
|
@@ -560,6 +557,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.CommandSetCheckedColumn.Tag = "0";
|
|
|
this.CommandSetCheckedColumn.Visible = true;
|
|
|
this.CommandSetCheckedColumn.VisibleIndex = 0;
|
|
|
+ this.CommandSetCheckedColumn.Width = 60;
|
|
|
//
|
|
|
// CheckEditCommandSet
|
|
|
//
|
|
|
@@ -579,7 +577,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_code.Name = "dc_code";
|
|
|
this.dc_code.Visible = true;
|
|
|
this.dc_code.VisibleIndex = 1;
|
|
|
- this.dc_code.Width = 118;
|
|
|
+ this.dc_code.Width = 95;
|
|
|
//
|
|
|
// dc_name
|
|
|
//
|
|
|
@@ -588,16 +586,43 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_name.Name = "dc_name";
|
|
|
this.dc_name.Visible = true;
|
|
|
this.dc_name.VisibleIndex = 2;
|
|
|
- this.dc_name.Width = 123;
|
|
|
+ this.dc_name.Width = 99;
|
|
|
+ //
|
|
|
+ // dc_value
|
|
|
//
|
|
|
- // dc_command
|
|
|
+ this.dc_value.Caption = "发送指令";
|
|
|
+ this.dc_value.FieldName = "DC_VALUE";
|
|
|
+ this.dc_value.Name = "dc_value";
|
|
|
+ this.dc_value.Visible = true;
|
|
|
+ this.dc_value.VisibleIndex = 3;
|
|
|
+ this.dc_value.Width = 291;
|
|
|
//
|
|
|
- this.dc_command.Caption = "发送指令";
|
|
|
- this.dc_command.FieldName = "DC_COMMAND";
|
|
|
- this.dc_command.Name = "dc_command";
|
|
|
- this.dc_command.Visible = true;
|
|
|
- this.dc_command.VisibleIndex = 3;
|
|
|
- this.dc_command.Width = 768;
|
|
|
+ // dc_sendcoding
|
|
|
+ //
|
|
|
+ this.dc_sendcoding.Caption = "发送编码";
|
|
|
+ this.dc_sendcoding.ColumnEdit = this.CommandSetRepositoryItemComboBox1;
|
|
|
+ this.dc_sendcoding.FieldName = "DC_SENDCODING";
|
|
|
+ this.dc_sendcoding.Name = "dc_sendcoding";
|
|
|
+ this.dc_sendcoding.Visible = true;
|
|
|
+ this.dc_sendcoding.VisibleIndex = 4;
|
|
|
+ this.dc_sendcoding.Width = 219;
|
|
|
+ //
|
|
|
+ // CommandSetRepositoryItemComboBox1
|
|
|
+ //
|
|
|
+ this.CommandSetRepositoryItemComboBox1.AutoHeight = false;
|
|
|
+ this.CommandSetRepositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.CommandSetRepositoryItemComboBox1.Name = "CommandSetRepositoryItemComboBox1";
|
|
|
+ //
|
|
|
+ // dc_receivecoding
|
|
|
+ //
|
|
|
+ this.dc_receivecoding.Caption = "接收编码";
|
|
|
+ this.dc_receivecoding.ColumnEdit = this.CommandSetRepositoryItemComboBox1;
|
|
|
+ this.dc_receivecoding.FieldName = "DC_RECEIVECODING";
|
|
|
+ this.dc_receivecoding.Name = "dc_receivecoding";
|
|
|
+ this.dc_receivecoding.Visible = true;
|
|
|
+ this.dc_receivecoding.VisibleIndex = 5;
|
|
|
+ this.dc_receivecoding.Width = 231;
|
|
|
//
|
|
|
// PageDeviceNetSetting
|
|
|
//
|
|
|
@@ -691,6 +716,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";
|
|
|
@@ -848,8 +882,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.PollSettingCheckedColumn,
|
|
|
this.dpc_id,
|
|
|
this.dpc_decode,
|
|
|
- this.dpc_plcode,
|
|
|
- this.dpc_plname,
|
|
|
this.dpc_interval,
|
|
|
this.dpc_dccode,
|
|
|
this.dpc_function,
|
|
|
@@ -876,14 +908,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.PollSettingCheckedColumn.Visible = true;
|
|
|
this.PollSettingCheckedColumn.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.ValueChecked = "-1";
|
|
|
- this.dpc_enableCheckEdit.ValueUnchecked = "0";
|
|
|
- //
|
|
|
// dpc_id
|
|
|
//
|
|
|
this.dpc_id.Caption = "ID";
|
|
|
@@ -899,15 +923,24 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_decode.VisibleIndex = 1;
|
|
|
this.dpc_decode.Width = 90;
|
|
|
//
|
|
|
- // dpc_plcode
|
|
|
+ // dpc_interval
|
|
|
//
|
|
|
- this.dpc_plcode.Caption = "业务编号";
|
|
|
- this.dpc_plcode.ColumnEdit = this.PollSettingItemSearchLookUpEdit;
|
|
|
- this.dpc_plcode.FieldName = "DPC_PLCODE";
|
|
|
- this.dpc_plcode.Name = "dpc_plcode";
|
|
|
- this.dpc_plcode.Visible = true;
|
|
|
- this.dpc_plcode.VisibleIndex = 2;
|
|
|
- this.dpc_plcode.Width = 90;
|
|
|
+ this.dpc_interval.Caption = "轮询间隔";
|
|
|
+ this.dpc_interval.FieldName = "DPC_INTERVAL";
|
|
|
+ this.dpc_interval.Name = "dpc_interval";
|
|
|
+ this.dpc_interval.Visible = true;
|
|
|
+ this.dpc_interval.VisibleIndex = 2;
|
|
|
+ this.dpc_interval.Width = 90;
|
|
|
+ //
|
|
|
+ // 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
|
|
|
//
|
|
|
@@ -921,82 +954,37 @@ namespace UAS_DeviceMonitor
|
|
|
// PollSettingItemSearchLookUpEditView
|
|
|
//
|
|
|
this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
- this.gridColumn1,
|
|
|
- this.gridColumn2,
|
|
|
- this.gridColumn3,
|
|
|
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;
|
|
|
//
|
|
|
- // gridColumn1
|
|
|
+ // gridColumn4
|
|
|
//
|
|
|
- this.gridColumn1.Caption = "业务编号";
|
|
|
- this.gridColumn1.FieldName = "PL_CODE";
|
|
|
- this.gridColumn1.Name = "gridColumn1";
|
|
|
- this.gridColumn1.Visible = true;
|
|
|
- this.gridColumn1.VisibleIndex = 0;
|
|
|
+ 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 = "PL_NAME";
|
|
|
+ this.gridColumn2.Caption = "指令名称";
|
|
|
+ this.gridColumn2.FieldName = "DC_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.FieldName = "DC_REMARK";
|
|
|
this.gridColumn5.Name = "gridColumn5";
|
|
|
this.gridColumn5.Visible = true;
|
|
|
- this.gridColumn5.VisibleIndex = 4;
|
|
|
- //
|
|
|
- // dpc_plname
|
|
|
- //
|
|
|
- this.dpc_plname.Caption = "业务名称";
|
|
|
- this.dpc_plname.FieldName = "DPC_PLNAME";
|
|
|
- this.dpc_plname.Name = "dpc_plname";
|
|
|
- this.dpc_plname.Visible = true;
|
|
|
- this.dpc_plname.VisibleIndex = 3;
|
|
|
- this.dpc_plname.Width = 90;
|
|
|
- //
|
|
|
- // dpc_interval
|
|
|
- //
|
|
|
- this.dpc_interval.Caption = "轮询间隔";
|
|
|
- this.dpc_interval.FieldName = "DPC_INTERVAL";
|
|
|
- this.dpc_interval.Name = "dpc_interval";
|
|
|
- this.dpc_interval.Visible = true;
|
|
|
- this.dpc_interval.VisibleIndex = 4;
|
|
|
- this.dpc_interval.Width = 90;
|
|
|
- //
|
|
|
- // dpc_dccode
|
|
|
- //
|
|
|
- this.dpc_dccode.Caption = "指令编号";
|
|
|
- this.dpc_dccode.FieldName = "DPC_DCCODE";
|
|
|
- this.dpc_dccode.Name = "dpc_dccode";
|
|
|
- this.dpc_dccode.Visible = true;
|
|
|
- this.dpc_dccode.VisibleIndex = 5;
|
|
|
- this.dpc_dccode.Width = 90;
|
|
|
+ this.gridColumn5.VisibleIndex = 2;
|
|
|
//
|
|
|
// dpc_function
|
|
|
//
|
|
|
@@ -1004,7 +992,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_function.FieldName = "DPC_FUNCTION";
|
|
|
this.dpc_function.Name = "dpc_function";
|
|
|
this.dpc_function.Visible = true;
|
|
|
- this.dpc_function.VisibleIndex = 6;
|
|
|
+ this.dpc_function.VisibleIndex = 4;
|
|
|
this.dpc_function.Width = 90;
|
|
|
//
|
|
|
// dpc_enable
|
|
|
@@ -1014,7 +1002,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_enable.FieldName = "DPC_ENABLE";
|
|
|
this.dpc_enable.Name = "dpc_enable";
|
|
|
this.dpc_enable.Visible = true;
|
|
|
- this.dpc_enable.VisibleIndex = 7;
|
|
|
+ this.dpc_enable.VisibleIndex = 5;
|
|
|
this.dpc_enable.Width = 90;
|
|
|
//
|
|
|
// dpc_status
|
|
|
@@ -1023,7 +1011,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_status.FieldName = "DPC_STATUS";
|
|
|
this.dpc_status.Name = "dpc_status";
|
|
|
this.dpc_status.Visible = true;
|
|
|
- this.dpc_status.VisibleIndex = 8;
|
|
|
+ this.dpc_status.VisibleIndex = 6;
|
|
|
this.dpc_status.Width = 90;
|
|
|
//
|
|
|
// dpc_remark
|
|
|
@@ -1032,7 +1020,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_remark.FieldName = "DPC_REMARK";
|
|
|
this.dpc_remark.Name = "dpc_remark";
|
|
|
this.dpc_remark.Visible = true;
|
|
|
- this.dpc_remark.VisibleIndex = 9;
|
|
|
+ this.dpc_remark.VisibleIndex = 7;
|
|
|
this.dpc_remark.Width = 87;
|
|
|
//
|
|
|
// POLLSETTINGSTATUSCOLUMN
|
|
|
@@ -1042,7 +1030,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.POLLSETTINGSTATUSCOLUMN.Name = "POLLSETTINGSTATUSCOLUMN";
|
|
|
this.POLLSETTINGSTATUSCOLUMN.OptionsColumn.ReadOnly = true;
|
|
|
this.POLLSETTINGSTATUSCOLUMN.Visible = true;
|
|
|
- this.POLLSETTINGSTATUSCOLUMN.VisibleIndex = 10;
|
|
|
+ this.POLLSETTINGSTATUSCOLUMN.VisibleIndex = 8;
|
|
|
this.POLLSETTINGSTATUSCOLUMN.Width = 98;
|
|
|
//
|
|
|
// PollingSetItemLookUpEdit
|
|
|
@@ -1118,7 +1106,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridPolling.TableName = null;
|
|
|
this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
this.GridViewPolling});
|
|
|
- this.GridPolling.VisibleChanged += new System.EventHandler(this.GridPolling_VisibleChanged);
|
|
|
//
|
|
|
// GridViewPolling
|
|
|
//
|
|
|
@@ -1195,39 +1182,11 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
|
// PageDeviceStatus
|
|
|
//
|
|
|
- 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";
|
|
|
//
|
|
|
- // GridDeviceStatus
|
|
|
- //
|
|
|
- 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
|
|
|
//
|
|
|
this.PageWorkCenterStatus.Controls.Add(this.GridWorkCenterStatus);
|
|
|
@@ -1290,22 +1249,20 @@ namespace UAS_DeviceMonitor
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.CommandSetRepositoryItemComboBox1)).EndInit();
|
|
|
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.dpc_enableCheckEdit)).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.GridDeviceStatus)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceStatus)).EndInit();
|
|
|
this.PageWorkCenterStatus.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).EndInit();
|
|
|
@@ -1348,7 +1305,7 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_id;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_code;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_name;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn dc_command;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dc_value;
|
|
|
private AutoDataGridControl GridPolling;
|
|
|
private AutoDataGridControl GridPollingSetting;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn pl_id;
|
|
|
@@ -1359,8 +1316,6 @@ namespace UAS_DeviceMonitor
|
|
|
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_plcode;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn dpc_plname;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_dccode;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_function;
|
|
|
@@ -1369,7 +1324,7 @@ namespace UAS_DeviceMonitor
|
|
|
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;
|
|
|
@@ -1393,9 +1348,6 @@ namespace UAS_DeviceMonitor
|
|
|
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;
|
|
|
@@ -1404,8 +1356,6 @@ 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;
|
|
|
@@ -1420,5 +1370,9 @@ namespace UAS_DeviceMonitor
|
|
|
private CustomerControl.Button.ButtonAddRow ButtonAddNetConfig;
|
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveNetConfig;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn NetSettingCheckedColumn;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dc_sendcoding;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dc_receivecoding;
|
|
|
+ private DevExpress.XtraEditors.Repository.RepositoryItemComboBox CommandSetRepositoryItemComboBox1;
|
|
|
}
|
|
|
}
|