|
@@ -58,12 +58,13 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.dpg_receivedatasize = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
this.dnc_port = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
this.dpg_runtime = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
- this.dpg_interval = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
+ this.dnc_ip = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
this.dpg_senddatasize = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
this.dpg_onlinetime = new UAS_PLCDataReader.CustomerControl.ValueLabel.ValueLabel();
|
|
|
this.GridDeivceStatusInfo = new DevExpress.XtraGrid.GridControl();
|
|
|
this.GridViewDeviceStatusInfo = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dr_updatedate = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.data = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.GridDeviceRunLog = new DevExpress.XtraGrid.GridControl();
|
|
|
this.GridViewDeviceRunLog = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
@@ -96,7 +97,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.groupControl1.Controls.Add(this.labelControl1);
|
|
|
this.groupControl1.Location = new System.Drawing.Point(12, 7);
|
|
|
this.groupControl1.Name = "groupControl1";
|
|
|
- this.groupControl1.Size = new System.Drawing.Size(248, 213);
|
|
|
+ this.groupControl1.Size = new System.Drawing.Size(235, 213);
|
|
|
this.groupControl1.TabIndex = 0;
|
|
|
this.groupControl1.Text = "设备信息";
|
|
|
//
|
|
@@ -104,7 +105,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
//
|
|
|
this.sc_name.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
this.sc_name.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Horizontal;
|
|
|
- this.sc_name.Location = new System.Drawing.Point(92, 192);
|
|
|
+ this.sc_name.Location = new System.Drawing.Point(92, 189);
|
|
|
this.sc_name.MaximumSize = new System.Drawing.Size(140, 0);
|
|
|
this.sc_name.Name = "sc_name";
|
|
|
this.sc_name.Size = new System.Drawing.Size(0, 16);
|
|
@@ -114,7 +115,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
//
|
|
|
this.de_sourcecode.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
this.de_sourcecode.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Horizontal;
|
|
|
- this.de_sourcecode.Location = new System.Drawing.Point(92, 165);
|
|
|
+ this.de_sourcecode.Location = new System.Drawing.Point(92, 162);
|
|
|
this.de_sourcecode.MaximumSize = new System.Drawing.Size(140, 0);
|
|
|
this.de_sourcecode.Name = "de_sourcecode";
|
|
|
this.de_sourcecode.Size = new System.Drawing.Size(0, 16);
|
|
@@ -123,7 +124,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl15
|
|
|
//
|
|
|
this.labelControl15.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl15.Location = new System.Drawing.Point(13, 165);
|
|
|
+ this.labelControl15.Location = new System.Drawing.Point(13, 162);
|
|
|
this.labelControl15.Name = "labelControl15";
|
|
|
this.labelControl15.Size = new System.Drawing.Size(64, 16);
|
|
|
this.labelControl15.TabIndex = 20;
|
|
@@ -132,7 +133,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// de_linecode
|
|
|
//
|
|
|
this.de_linecode.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.de_linecode.Location = new System.Drawing.Point(70, 131);
|
|
|
+ this.de_linecode.Location = new System.Drawing.Point(70, 128);
|
|
|
this.de_linecode.Name = "de_linecode";
|
|
|
this.de_linecode.Size = new System.Drawing.Size(0, 16);
|
|
|
this.de_linecode.TabIndex = 19;
|
|
@@ -140,7 +141,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// de_address
|
|
|
//
|
|
|
this.de_address.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.de_address.Location = new System.Drawing.Point(70, 100);
|
|
|
+ this.de_address.Location = new System.Drawing.Point(70, 97);
|
|
|
this.de_address.Name = "de_address";
|
|
|
this.de_address.Size = new System.Drawing.Size(0, 16);
|
|
|
this.de_address.TabIndex = 18;
|
|
@@ -148,7 +149,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl4
|
|
|
//
|
|
|
this.labelControl4.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl4.Location = new System.Drawing.Point(13, 131);
|
|
|
+ this.labelControl4.Location = new System.Drawing.Point(13, 128);
|
|
|
this.labelControl4.Name = "labelControl4";
|
|
|
this.labelControl4.Size = new System.Drawing.Size(32, 16);
|
|
|
this.labelControl4.TabIndex = 6;
|
|
@@ -157,7 +158,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// de_wccode
|
|
|
//
|
|
|
this.de_wccode.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.de_wccode.Location = new System.Drawing.Point(70, 68);
|
|
|
+ this.de_wccode.Location = new System.Drawing.Point(70, 65);
|
|
|
this.de_wccode.Name = "de_wccode";
|
|
|
this.de_wccode.Size = new System.Drawing.Size(0, 16);
|
|
|
this.de_wccode.TabIndex = 17;
|
|
@@ -165,7 +166,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl3
|
|
|
//
|
|
|
this.labelControl3.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl3.Location = new System.Drawing.Point(13, 100);
|
|
|
+ this.labelControl3.Location = new System.Drawing.Point(13, 97);
|
|
|
this.labelControl3.Name = "labelControl3";
|
|
|
this.labelControl3.Size = new System.Drawing.Size(32, 16);
|
|
|
this.labelControl3.TabIndex = 5;
|
|
@@ -174,7 +175,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// de_name
|
|
|
//
|
|
|
this.de_name.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.de_name.Location = new System.Drawing.Point(70, 35);
|
|
|
+ this.de_name.Location = new System.Drawing.Point(70, 32);
|
|
|
this.de_name.Name = "de_name";
|
|
|
this.de_name.Size = new System.Drawing.Size(0, 16);
|
|
|
this.de_name.TabIndex = 16;
|
|
@@ -182,7 +183,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl2
|
|
|
//
|
|
|
this.labelControl2.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl2.Location = new System.Drawing.Point(13, 68);
|
|
|
+ this.labelControl2.Location = new System.Drawing.Point(13, 65);
|
|
|
this.labelControl2.Name = "labelControl2";
|
|
|
this.labelControl2.Size = new System.Drawing.Size(32, 16);
|
|
|
this.labelControl2.TabIndex = 4;
|
|
@@ -191,7 +192,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl1
|
|
|
//
|
|
|
this.labelControl1.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl1.Location = new System.Drawing.Point(13, 35);
|
|
|
+ this.labelControl1.Location = new System.Drawing.Point(13, 32);
|
|
|
this.labelControl1.Name = "labelControl1";
|
|
|
this.labelControl1.Size = new System.Drawing.Size(32, 16);
|
|
|
this.labelControl1.TabIndex = 0;
|
|
@@ -208,7 +209,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.groupControl2.Controls.Add(this.labelControl7);
|
|
|
this.groupControl2.Location = new System.Drawing.Point(12, 226);
|
|
|
this.groupControl2.Name = "groupControl2";
|
|
|
- this.groupControl2.Size = new System.Drawing.Size(248, 182);
|
|
|
+ this.groupControl2.Size = new System.Drawing.Size(235, 182);
|
|
|
this.groupControl2.TabIndex = 1;
|
|
|
this.groupControl2.Text = "生产信息";
|
|
|
//
|
|
@@ -276,7 +277,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl11
|
|
|
//
|
|
|
this.labelControl11.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl11.Location = new System.Drawing.Point(16, 35);
|
|
|
+ this.labelControl11.Location = new System.Drawing.Point(16, 32);
|
|
|
this.labelControl11.Name = "labelControl11";
|
|
|
this.labelControl11.Size = new System.Drawing.Size(64, 16);
|
|
|
this.labelControl11.TabIndex = 11;
|
|
@@ -285,7 +286,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl12
|
|
|
//
|
|
|
this.labelControl12.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl12.Location = new System.Drawing.Point(16, 68);
|
|
|
+ this.labelControl12.Location = new System.Drawing.Point(16, 65);
|
|
|
this.labelControl12.Name = "labelControl12";
|
|
|
this.labelControl12.Size = new System.Drawing.Size(64, 16);
|
|
|
this.labelControl12.TabIndex = 12;
|
|
@@ -294,7 +295,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl9
|
|
|
//
|
|
|
this.labelControl9.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl9.Location = new System.Drawing.Point(16, 159);
|
|
|
+ this.labelControl9.Location = new System.Drawing.Point(16, 156);
|
|
|
this.labelControl9.Name = "labelControl9";
|
|
|
this.labelControl9.Size = new System.Drawing.Size(64, 16);
|
|
|
this.labelControl9.TabIndex = 14;
|
|
@@ -303,7 +304,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// labelControl14
|
|
|
//
|
|
|
this.labelControl14.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.labelControl14.Location = new System.Drawing.Point(16, 100);
|
|
|
+ this.labelControl14.Location = new System.Drawing.Point(16, 97);
|
|
|
this.labelControl14.Name = "labelControl14";
|
|
|
this.labelControl14.Size = new System.Drawing.Size(64, 16);
|
|
|
this.labelControl14.TabIndex = 15;
|
|
@@ -314,23 +315,23 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.groupControl3.Controls.Add(this.dpg_receivedatasize);
|
|
|
this.groupControl3.Controls.Add(this.dnc_port);
|
|
|
this.groupControl3.Controls.Add(this.dpg_runtime);
|
|
|
- this.groupControl3.Controls.Add(this.dpg_interval);
|
|
|
+ this.groupControl3.Controls.Add(this.dnc_ip);
|
|
|
this.groupControl3.Controls.Add(this.dpg_senddatasize);
|
|
|
this.groupControl3.Controls.Add(this.labelControl14);
|
|
|
this.groupControl3.Controls.Add(this.dpg_onlinetime);
|
|
|
this.groupControl3.Controls.Add(this.labelControl9);
|
|
|
this.groupControl3.Controls.Add(this.labelControl12);
|
|
|
this.groupControl3.Controls.Add(this.labelControl11);
|
|
|
- this.groupControl3.Location = new System.Drawing.Point(266, 7);
|
|
|
+ this.groupControl3.Location = new System.Drawing.Point(253, 7);
|
|
|
this.groupControl3.Name = "groupControl3";
|
|
|
- this.groupControl3.Size = new System.Drawing.Size(328, 213);
|
|
|
+ this.groupControl3.Size = new System.Drawing.Size(288, 213);
|
|
|
this.groupControl3.TabIndex = 2;
|
|
|
this.groupControl3.Text = "运行信息";
|
|
|
//
|
|
|
// dpg_receivedatasize
|
|
|
//
|
|
|
this.dpg_receivedatasize.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.dpg_receivedatasize.Location = new System.Drawing.Point(97, 190);
|
|
|
+ this.dpg_receivedatasize.Location = new System.Drawing.Point(97, 187);
|
|
|
this.dpg_receivedatasize.Name = "dpg_receivedatasize";
|
|
|
this.dpg_receivedatasize.Size = new System.Drawing.Size(0, 16);
|
|
|
this.dpg_receivedatasize.TabIndex = 18;
|
|
@@ -338,7 +339,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// dnc_port
|
|
|
//
|
|
|
this.dnc_port.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.dnc_port.Location = new System.Drawing.Point(96, 130);
|
|
|
+ this.dnc_port.Location = new System.Drawing.Point(96, 127);
|
|
|
this.dnc_port.Name = "dnc_port";
|
|
|
this.dnc_port.Size = new System.Drawing.Size(0, 16);
|
|
|
this.dnc_port.TabIndex = 17;
|
|
@@ -346,23 +347,23 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// dpg_runtime
|
|
|
//
|
|
|
this.dpg_runtime.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.dpg_runtime.Location = new System.Drawing.Point(96, 68);
|
|
|
+ this.dpg_runtime.Location = new System.Drawing.Point(96, 65);
|
|
|
this.dpg_runtime.Name = "dpg_runtime";
|
|
|
this.dpg_runtime.Size = new System.Drawing.Size(0, 16);
|
|
|
this.dpg_runtime.TabIndex = 16;
|
|
|
//
|
|
|
- // dpg_interval
|
|
|
+ // dnc_ip
|
|
|
//
|
|
|
- this.dpg_interval.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.dpg_interval.Location = new System.Drawing.Point(96, 100);
|
|
|
- this.dpg_interval.Name = "dpg_interval";
|
|
|
- this.dpg_interval.Size = new System.Drawing.Size(0, 16);
|
|
|
- this.dpg_interval.TabIndex = 3;
|
|
|
+ this.dnc_ip.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
+ this.dnc_ip.Location = new System.Drawing.Point(96, 97);
|
|
|
+ this.dnc_ip.Name = "dnc_ip";
|
|
|
+ this.dnc_ip.Size = new System.Drawing.Size(0, 16);
|
|
|
+ this.dnc_ip.TabIndex = 3;
|
|
|
//
|
|
|
// dpg_senddatasize
|
|
|
//
|
|
|
this.dpg_senddatasize.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.dpg_senddatasize.Location = new System.Drawing.Point(96, 159);
|
|
|
+ this.dpg_senddatasize.Location = new System.Drawing.Point(96, 156);
|
|
|
this.dpg_senddatasize.Name = "dpg_senddatasize";
|
|
|
this.dpg_senddatasize.Size = new System.Drawing.Size(0, 16);
|
|
|
this.dpg_senddatasize.TabIndex = 2;
|
|
@@ -370,17 +371,17 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
// dpg_onlinetime
|
|
|
//
|
|
|
this.dpg_onlinetime.Appearance.Font = new System.Drawing.Font("黑体", 12F);
|
|
|
- this.dpg_onlinetime.Location = new System.Drawing.Point(96, 35);
|
|
|
+ this.dpg_onlinetime.Location = new System.Drawing.Point(96, 32);
|
|
|
this.dpg_onlinetime.Name = "dpg_onlinetime";
|
|
|
this.dpg_onlinetime.Size = new System.Drawing.Size(0, 16);
|
|
|
this.dpg_onlinetime.TabIndex = 0;
|
|
|
//
|
|
|
// GridDeivceStatusInfo
|
|
|
//
|
|
|
- this.GridDeivceStatusInfo.Location = new System.Drawing.Point(600, 7);
|
|
|
+ this.GridDeivceStatusInfo.Location = new System.Drawing.Point(547, 7);
|
|
|
this.GridDeivceStatusInfo.MainView = this.GridViewDeviceStatusInfo;
|
|
|
this.GridDeivceStatusInfo.Name = "GridDeivceStatusInfo";
|
|
|
- this.GridDeivceStatusInfo.Size = new System.Drawing.Size(207, 213);
|
|
|
+ this.GridDeivceStatusInfo.Size = new System.Drawing.Size(261, 213);
|
|
|
this.GridDeivceStatusInfo.TabIndex = 3;
|
|
|
this.GridDeivceStatusInfo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
this.GridViewDeviceStatusInfo});
|
|
@@ -389,6 +390,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
//
|
|
|
this.GridViewDeviceStatusInfo.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
this.dc_name,
|
|
|
+ this.dr_updatedate,
|
|
|
this.data});
|
|
|
this.GridViewDeviceStatusInfo.GridControl = this.GridDeivceStatusInfo;
|
|
|
this.GridViewDeviceStatusInfo.Name = "GridViewDeviceStatusInfo";
|
|
@@ -399,23 +401,34 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.dc_name.Caption = "参数";
|
|
|
this.dc_name.FieldName = "DC_NAME";
|
|
|
this.dc_name.Name = "dc_name";
|
|
|
+ this.dc_name.OptionsColumn.AllowEdit = false;
|
|
|
this.dc_name.Visible = true;
|
|
|
this.dc_name.VisibleIndex = 0;
|
|
|
//
|
|
|
+ // dr_updatedate
|
|
|
+ //
|
|
|
+ this.dr_updatedate.Caption = "最近更新日期";
|
|
|
+ this.dr_updatedate.FieldName = "DR_UPDATEDATE";
|
|
|
+ this.dr_updatedate.Name = "dr_updatedate";
|
|
|
+ this.dr_updatedate.OptionsColumn.AllowEdit = false;
|
|
|
+ this.dr_updatedate.Visible = true;
|
|
|
+ this.dr_updatedate.VisibleIndex = 1;
|
|
|
+ //
|
|
|
// data
|
|
|
//
|
|
|
- this.data.Caption = "上一次更新值";
|
|
|
+ this.data.Caption = "最近更新值";
|
|
|
this.data.FieldName = "DATA";
|
|
|
this.data.Name = "data";
|
|
|
+ this.data.OptionsColumn.AllowEdit = false;
|
|
|
this.data.Visible = true;
|
|
|
- this.data.VisibleIndex = 1;
|
|
|
+ this.data.VisibleIndex = 2;
|
|
|
//
|
|
|
// GridDeviceRunLog
|
|
|
//
|
|
|
- this.GridDeviceRunLog.Location = new System.Drawing.Point(266, 226);
|
|
|
+ this.GridDeviceRunLog.Location = new System.Drawing.Point(253, 226);
|
|
|
this.GridDeviceRunLog.MainView = this.GridViewDeviceRunLog;
|
|
|
this.GridDeviceRunLog.Name = "GridDeviceRunLog";
|
|
|
- this.GridDeviceRunLog.Size = new System.Drawing.Size(541, 182);
|
|
|
+ this.GridDeviceRunLog.Size = new System.Drawing.Size(555, 182);
|
|
|
this.GridDeviceRunLog.TabIndex = 4;
|
|
|
this.GridDeviceRunLog.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
this.GridViewDeviceRunLog});
|
|
@@ -434,6 +447,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.drr_commandfrom.Caption = "指令编号";
|
|
|
this.drr_commandfrom.FieldName = "DRR_COMMANDFROM";
|
|
|
this.drr_commandfrom.Name = "drr_commandfrom";
|
|
|
+ this.drr_commandfrom.OptionsColumn.AllowEdit = false;
|
|
|
this.drr_commandfrom.Visible = true;
|
|
|
this.drr_commandfrom.VisibleIndex = 1;
|
|
|
//
|
|
@@ -442,6 +456,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
this.drr_command.Caption = "指令内容";
|
|
|
this.drr_command.FieldName = "DRR_COMMAND";
|
|
|
this.drr_command.Name = "drr_command";
|
|
|
+ this.drr_command.OptionsColumn.AllowEdit = false;
|
|
|
this.drr_command.Visible = true;
|
|
|
this.drr_command.VisibleIndex = 0;
|
|
|
//
|
|
@@ -498,7 +513,7 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
private ValueLabel dpg_onlinetime;
|
|
|
private DevExpress.XtraEditors.LabelControl labelControl14;
|
|
|
private ValueLabel dpg_senddatasize;
|
|
|
- private ValueLabel dpg_interval;
|
|
|
+ private ValueLabel dnc_ip;
|
|
|
private DevExpress.XtraEditors.GroupControl groupControl3;
|
|
|
private ValueLabel de_linecode;
|
|
|
private ValueLabel de_address;
|
|
@@ -521,5 +536,6 @@ namespace UAS_PLCDataReader.Device.Infomation
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn drr_commandfrom;
|
|
|
private ValueLabel dnc_port;
|
|
|
private ValueLabel dpg_receivedatasize;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dr_updatedate;
|
|
|
}
|
|
|
}
|