MiniPrf: - UI design
This commit is contained in:
Generated
+442
-367
@@ -33,72 +33,83 @@
|
||||
this.gbxFM2014Setup = new System.Windows.Forms.GroupBox();
|
||||
this.btnConnect = new System.Windows.Forms.Button();
|
||||
this.cbxFM2014ComPort = new System.Windows.Forms.ComboBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lblConnectPcb = new System.Windows.Forms.Label();
|
||||
this.tbxPcbId = new System.Windows.Forms.TextBox();
|
||||
this.grpBoxStatistic = new System.Windows.Forms.GroupBox();
|
||||
this.lblDrainedBatteryLoad = new System.Windows.Forms.Label();
|
||||
this.tbxStorageMonths = new System.Windows.Forms.TextBox();
|
||||
this.lblRemainingLifetimeFw = new System.Windows.Forms.Label();
|
||||
this.lblStorageMonths = new System.Windows.Forms.Label();
|
||||
this.lblRemainingLifeTimeSw = new System.Windows.Forms.Label();
|
||||
this.tbxDrainedBatteryLoad_percent = new System.Windows.Forms.TextBox();
|
||||
this.tbxRemainingLifeTimeFw = new System.Windows.Forms.TextBox();
|
||||
this.tbxRemainingLifeTimeSw = new System.Windows.Forms.TextBox();
|
||||
this.lblSerialPort = new System.Windows.Forms.Label();
|
||||
this.lblConnectFM2014 = new System.Windows.Forms.Label();
|
||||
this.tbxFullId = new System.Windows.Forms.TextBox();
|
||||
this.gbxRegulationSetup = new System.Windows.Forms.GroupBox();
|
||||
this.lblRefPulsePerVolume = new System.Windows.Forms.Label();
|
||||
this.lblDutPulsePerVolume = new System.Windows.Forms.Label();
|
||||
this.lblAttenuation = new System.Windows.Forms.Label();
|
||||
this.lblScaleRefToDut = new System.Windows.Forms.Label();
|
||||
this.tbxRefPulsePerVolume = new System.Windows.Forms.TextBox();
|
||||
this.tbxDutPulsePerVolume = new System.Windows.Forms.TextBox();
|
||||
this.tbxScaleRefToDut = new System.Windows.Forms.TextBox();
|
||||
this.lblUpdateTime = new System.Windows.Forms.Label();
|
||||
this.tmrProgressUpdate = new System.Windows.Forms.Timer(this.components);
|
||||
this.lblFwVersion = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.grpBoxCordonelReadout = new System.Windows.Forms.GroupBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbxMeterLutCrc = new System.Windows.Forms.TextBox();
|
||||
this.tbxInitialBatteryLoad = new System.Windows.Forms.TextBox();
|
||||
this.tbxMeterSize = new System.Windows.Forms.TextBox();
|
||||
this.tbxMeterFw = new System.Windows.Forms.TextBox();
|
||||
this.lblBatteryMilliAHrRating = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.tbxRegion = new System.Windows.Forms.TextBox();
|
||||
this.tbxExpiredLifeTime = new System.Windows.Forms.TextBox();
|
||||
this.tbxRadio = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.tbxBatteries = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tbxDateTime = new System.Windows.Forms.TextBox();
|
||||
this.tbxDrainedLoad_uAs = new System.Windows.Forms.TextBox();
|
||||
this.lblTotalUsedSeconds = new System.Windows.Forms.Label();
|
||||
this.lblBatteryQuantity = new System.Windows.Forms.Label();
|
||||
this.lblTotalUsedCharge = new System.Windows.Forms.Label();
|
||||
this.lblSerialNumber = new System.Windows.Forms.Label();
|
||||
this.tbxFM2014SerialNumber = new System.Windows.Forms.TextBox();
|
||||
this.tbxFwVersion = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.lblWaitingForMeterResponse = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.lblFwUpdateInfo = new System.Windows.Forms.Label();
|
||||
this.barSingleProgressUpdate = new System.Windows.Forms.ProgressBar();
|
||||
this.lblActualProcess = new System.Windows.Forms.Label();
|
||||
this.cbxFM2014Address = new System.Windows.Forms.ComboBox();
|
||||
this.lblFM2014Address = new System.Windows.Forms.Label();
|
||||
this.cbxFM2014Tolerance = new System.Windows.Forms.ComboBox();
|
||||
this.lblFM2014Tolerance = new System.Windows.Forms.Label();
|
||||
this.cbxAttenuation = new System.Windows.Forms.ComboBox();
|
||||
this.btnRegulation = new System.Windows.Forms.Button();
|
||||
this.grpRefCalibration = new System.Windows.Forms.GroupBox();
|
||||
this.gbxRegulation = new System.Windows.Forms.GroupBox();
|
||||
this.btnCalibration = new System.Windows.Forms.Button();
|
||||
this.lblMeasuredRefPulses = new System.Windows.Forms.Label();
|
||||
this.tbxMeasuredRefPulses = new System.Windows.Forms.TextBox();
|
||||
this.lblWeightScaleMass = new System.Windows.Forms.Label();
|
||||
this.tbxWeightScaleMass = new System.Windows.Forms.TextBox();
|
||||
this.lblPulseVolumeCmRelation = new System.Windows.Forms.Label();
|
||||
this.tbxPulseVolumeCmRelation = new System.Windows.Forms.TextBox();
|
||||
this.lblActualFlowRateCmPerHour = new System.Windows.Forms.Label();
|
||||
this.tbxActualFlowRateCmPerHour = new System.Windows.Forms.TextBox();
|
||||
this.lblTolerance = new System.Windows.Forms.Label();
|
||||
this.tbxTolerance = new System.Windows.Forms.TextBox();
|
||||
this.ckbxUseDampedTolerance = new System.Windows.Forms.CheckBox();
|
||||
this.gbxFM2014Setup.SuspendLayout();
|
||||
this.grpBoxStatistic.SuspendLayout();
|
||||
this.grpBoxCordonelReadout.SuspendLayout();
|
||||
this.gbxRegulationSetup.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.grpRefCalibration.SuspendLayout();
|
||||
this.gbxRegulation.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// gbxFM2014Setup
|
||||
//
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblSerialNumber);
|
||||
this.gbxFM2014Setup.Controls.Add(this.cbxFM2014Tolerance);
|
||||
this.gbxFM2014Setup.Controls.Add(this.tbxFM2014SerialNumber);
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblFM2014Tolerance);
|
||||
this.gbxFM2014Setup.Controls.Add(this.cbxFM2014Address);
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblFM2014Address);
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblFwVersion);
|
||||
this.gbxFM2014Setup.Controls.Add(this.btnConnect);
|
||||
this.gbxFM2014Setup.Controls.Add(this.cbxFM2014ComPort);
|
||||
this.gbxFM2014Setup.Controls.Add(this.label3);
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblConnectPcb);
|
||||
this.gbxFM2014Setup.Controls.Add(this.tbxPcbId);
|
||||
this.gbxFM2014Setup.Location = new System.Drawing.Point(1, 38);
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblSerialPort);
|
||||
this.gbxFM2014Setup.Controls.Add(this.lblConnectFM2014);
|
||||
this.gbxFM2014Setup.Controls.Add(this.tbxFullId);
|
||||
this.gbxFM2014Setup.Controls.Add(this.tbxFwVersion);
|
||||
this.gbxFM2014Setup.Location = new System.Drawing.Point(8, 6);
|
||||
this.gbxFM2014Setup.Name = "gbxFM2014Setup";
|
||||
this.gbxFM2014Setup.Size = new System.Drawing.Size(308, 136);
|
||||
this.gbxFM2014Setup.Size = new System.Drawing.Size(275, 210);
|
||||
this.gbxFM2014Setup.TabIndex = 84;
|
||||
this.gbxFM2014Setup.TabStop = false;
|
||||
this.gbxFM2014Setup.Text = "FM2014";
|
||||
//
|
||||
// btnConnect
|
||||
//
|
||||
this.btnConnect.Location = new System.Drawing.Point(141, 18);
|
||||
this.btnConnect.Location = new System.Drawing.Point(140, 175);
|
||||
this.btnConnect.Name = "btnConnect";
|
||||
this.btnConnect.Size = new System.Drawing.Size(146, 25);
|
||||
this.btnConnect.Size = new System.Drawing.Size(120, 25);
|
||||
this.btnConnect.TabIndex = 24;
|
||||
this.btnConnect.Text = "Connect";
|
||||
this.btnConnect.UseVisualStyleBackColor = true;
|
||||
@@ -107,128 +118,124 @@
|
||||
// cbxFM2014ComPort
|
||||
//
|
||||
this.cbxFM2014ComPort.FormattingEnabled = true;
|
||||
this.cbxFM2014ComPort.Location = new System.Drawing.Point(69, 21);
|
||||
this.cbxFM2014ComPort.Location = new System.Drawing.Point(140, 100);
|
||||
this.cbxFM2014ComPort.Name = "cbxFM2014ComPort";
|
||||
this.cbxFM2014ComPort.Size = new System.Drawing.Size(62, 21);
|
||||
this.cbxFM2014ComPort.Size = new System.Drawing.Size(60, 21);
|
||||
this.cbxFM2014ComPort.TabIndex = 5;
|
||||
this.cbxFM2014ComPort.Text = "1";
|
||||
this.cbxFM2014ComPort.Text = "NA";
|
||||
this.cbxFM2014ComPort.SelectedIndexChanged += new System.EventHandler(this.cbxFM2014ComPort_SelectedIndexChanged);
|
||||
//
|
||||
// label3
|
||||
// lblSerialPort
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(8, 24);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(55, 13);
|
||||
this.label3.TabIndex = 20;
|
||||
this.label3.Text = "Serial Port";
|
||||
this.lblSerialPort.AutoSize = true;
|
||||
this.lblSerialPort.Location = new System.Drawing.Point(10, 103);
|
||||
this.lblSerialPort.Name = "lblSerialPort";
|
||||
this.lblSerialPort.Size = new System.Drawing.Size(58, 13);
|
||||
this.lblSerialPort.TabIndex = 20;
|
||||
this.lblSerialPort.Text = "Serial Port:";
|
||||
//
|
||||
// lblConnectPcb
|
||||
// lblConnectFM2014
|
||||
//
|
||||
this.lblConnectPcb.AutoSize = true;
|
||||
this.lblConnectPcb.Location = new System.Drawing.Point(9, 54);
|
||||
this.lblConnectPcb.Name = "lblConnectPcb";
|
||||
this.lblConnectPcb.Size = new System.Drawing.Size(33, 13);
|
||||
this.lblConnectPcb.TabIndex = 23;
|
||||
this.lblConnectPcb.Text = "NOT ";
|
||||
this.lblConnectFM2014.AutoSize = true;
|
||||
this.lblConnectFM2014.Location = new System.Drawing.Point(10, 28);
|
||||
this.lblConnectFM2014.Name = "lblConnectFM2014";
|
||||
this.lblConnectFM2014.Size = new System.Drawing.Size(100, 13);
|
||||
this.lblConnectFM2014.TabIndex = 23;
|
||||
this.lblConnectFM2014.Text = "NOT CONNECTED";
|
||||
//
|
||||
// tbxPcbId
|
||||
// tbxFullId
|
||||
//
|
||||
this.tbxPcbId.Location = new System.Drawing.Point(141, 51);
|
||||
this.tbxPcbId.Name = "tbxPcbId";
|
||||
this.tbxPcbId.ReadOnly = true;
|
||||
this.tbxPcbId.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxPcbId.TabIndex = 32;
|
||||
this.tbxFullId.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxFullId.Location = new System.Drawing.Point(140, 25);
|
||||
this.tbxFullId.Name = "tbxFullId";
|
||||
this.tbxFullId.ReadOnly = true;
|
||||
this.tbxFullId.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxFullId.TabIndex = 32;
|
||||
//
|
||||
// grpBoxStatistic
|
||||
// gbxRegulationSetup
|
||||
//
|
||||
this.grpBoxStatistic.Controls.Add(this.lblDrainedBatteryLoad);
|
||||
this.grpBoxStatistic.Controls.Add(this.tbxStorageMonths);
|
||||
this.grpBoxStatistic.Controls.Add(this.lblRemainingLifetimeFw);
|
||||
this.grpBoxStatistic.Controls.Add(this.lblStorageMonths);
|
||||
this.grpBoxStatistic.Controls.Add(this.lblRemainingLifeTimeSw);
|
||||
this.grpBoxStatistic.Controls.Add(this.tbxDrainedBatteryLoad_percent);
|
||||
this.grpBoxStatistic.Controls.Add(this.tbxRemainingLifeTimeFw);
|
||||
this.grpBoxStatistic.Controls.Add(this.tbxRemainingLifeTimeSw);
|
||||
this.grpBoxStatistic.Location = new System.Drawing.Point(2, 225);
|
||||
this.grpBoxStatistic.Name = "grpBoxStatistic";
|
||||
this.grpBoxStatistic.Size = new System.Drawing.Size(307, 136);
|
||||
this.grpBoxStatistic.TabIndex = 82;
|
||||
this.grpBoxStatistic.TabStop = false;
|
||||
this.grpBoxStatistic.Text = "Statistic";
|
||||
this.gbxRegulationSetup.Controls.Add(this.cbxAttenuation);
|
||||
this.gbxRegulationSetup.Controls.Add(this.lblRefPulsePerVolume);
|
||||
this.gbxRegulationSetup.Controls.Add(this.lblDutPulsePerVolume);
|
||||
this.gbxRegulationSetup.Controls.Add(this.lblAttenuation);
|
||||
this.gbxRegulationSetup.Controls.Add(this.lblScaleRefToDut);
|
||||
this.gbxRegulationSetup.Controls.Add(this.tbxRefPulsePerVolume);
|
||||
this.gbxRegulationSetup.Controls.Add(this.tbxDutPulsePerVolume);
|
||||
this.gbxRegulationSetup.Controls.Add(this.tbxScaleRefToDut);
|
||||
this.gbxRegulationSetup.Location = new System.Drawing.Point(8, 222);
|
||||
this.gbxRegulationSetup.Name = "gbxRegulationSetup";
|
||||
this.gbxRegulationSetup.Size = new System.Drawing.Size(275, 161);
|
||||
this.gbxRegulationSetup.TabIndex = 82;
|
||||
this.gbxRegulationSetup.TabStop = false;
|
||||
this.gbxRegulationSetup.Text = "Regulation Setup";
|
||||
//
|
||||
// lblDrainedBatteryLoad
|
||||
// lblRefPulsePerVolume
|
||||
//
|
||||
this.lblDrainedBatteryLoad.AutoSize = true;
|
||||
this.lblDrainedBatteryLoad.Location = new System.Drawing.Point(15, 29);
|
||||
this.lblDrainedBatteryLoad.Name = "lblDrainedBatteryLoad";
|
||||
this.lblDrainedBatteryLoad.Size = new System.Drawing.Size(127, 13);
|
||||
this.lblDrainedBatteryLoad.TabIndex = 62;
|
||||
this.lblDrainedBatteryLoad.Text = "Drained Battery Load [%]:";
|
||||
this.lblRefPulsePerVolume.AutoSize = true;
|
||||
this.lblRefPulsePerVolume.Location = new System.Drawing.Point(10, 28);
|
||||
this.lblRefPulsePerVolume.Name = "lblRefPulsePerVolume";
|
||||
this.lblRefPulsePerVolume.Size = new System.Drawing.Size(86, 13);
|
||||
this.lblRefPulsePerVolume.TabIndex = 62;
|
||||
this.lblRefPulsePerVolume.Text = "REF [pulses/m³]:";
|
||||
//
|
||||
// tbxStorageMonths
|
||||
// lblDutPulsePerVolume
|
||||
//
|
||||
this.tbxStorageMonths.Location = new System.Drawing.Point(170, 98);
|
||||
this.tbxStorageMonths.Name = "tbxStorageMonths";
|
||||
this.tbxStorageMonths.ReadOnly = true;
|
||||
this.tbxStorageMonths.Size = new System.Drawing.Size(116, 20);
|
||||
this.tbxStorageMonths.TabIndex = 69;
|
||||
this.lblDutPulsePerVolume.AutoSize = true;
|
||||
this.lblDutPulsePerVolume.Location = new System.Drawing.Point(10, 53);
|
||||
this.lblDutPulsePerVolume.Name = "lblDutPulsePerVolume";
|
||||
this.lblDutPulsePerVolume.Size = new System.Drawing.Size(88, 13);
|
||||
this.lblDutPulsePerVolume.TabIndex = 63;
|
||||
this.lblDutPulsePerVolume.Text = "DUT [pulses/m³]:";
|
||||
//
|
||||
// lblRemainingLifetimeFw
|
||||
// lblAttenuation
|
||||
//
|
||||
this.lblRemainingLifetimeFw.AutoSize = true;
|
||||
this.lblRemainingLifetimeFw.Location = new System.Drawing.Point(15, 53);
|
||||
this.lblRemainingLifetimeFw.Name = "lblRemainingLifetimeFw";
|
||||
this.lblRemainingLifetimeFw.Size = new System.Drawing.Size(153, 13);
|
||||
this.lblRemainingLifetimeFw.TabIndex = 63;
|
||||
this.lblRemainingLifetimeFw.Text = "Remaining Lifetime FW [years]:";
|
||||
this.lblAttenuation.AutoSize = true;
|
||||
this.lblAttenuation.Location = new System.Drawing.Point(10, 103);
|
||||
this.lblAttenuation.Name = "lblAttenuation";
|
||||
this.lblAttenuation.Size = new System.Drawing.Size(73, 13);
|
||||
this.lblAttenuation.TabIndex = 68;
|
||||
this.lblAttenuation.Text = "Attenuation []:";
|
||||
//
|
||||
// lblStorageMonths
|
||||
// lblScaleRefToDut
|
||||
//
|
||||
this.lblStorageMonths.AutoSize = true;
|
||||
this.lblStorageMonths.Location = new System.Drawing.Point(15, 101);
|
||||
this.lblStorageMonths.Name = "lblStorageMonths";
|
||||
this.lblStorageMonths.Size = new System.Drawing.Size(128, 13);
|
||||
this.lblStorageMonths.TabIndex = 68;
|
||||
this.lblStorageMonths.Text = "Storage Months [months]:";
|
||||
this.lblScaleRefToDut.AutoSize = true;
|
||||
this.lblScaleRefToDut.Location = new System.Drawing.Point(10, 78);
|
||||
this.lblScaleRefToDut.Name = "lblScaleRefToDut";
|
||||
this.lblScaleRefToDut.Size = new System.Drawing.Size(118, 13);
|
||||
this.lblScaleRefToDut.TabIndex = 64;
|
||||
this.lblScaleRefToDut.Text = "Scale REF/DUT [norm]";
|
||||
//
|
||||
// lblRemainingLifeTimeSw
|
||||
// tbxRefPulsePerVolume
|
||||
//
|
||||
this.lblRemainingLifeTimeSw.AutoSize = true;
|
||||
this.lblRemainingLifeTimeSw.Location = new System.Drawing.Point(15, 78);
|
||||
this.lblRemainingLifeTimeSw.Name = "lblRemainingLifeTimeSw";
|
||||
this.lblRemainingLifeTimeSw.Size = new System.Drawing.Size(154, 13);
|
||||
this.lblRemainingLifeTimeSw.TabIndex = 64;
|
||||
this.lblRemainingLifeTimeSw.Text = "Remaining Lifetime SW [years]:";
|
||||
this.tbxRefPulsePerVolume.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxRefPulsePerVolume.Location = new System.Drawing.Point(140, 25);
|
||||
this.tbxRefPulsePerVolume.Name = "tbxRefPulsePerVolume";
|
||||
this.tbxRefPulsePerVolume.ReadOnly = true;
|
||||
this.tbxRefPulsePerVolume.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxRefPulsePerVolume.TabIndex = 67;
|
||||
//
|
||||
// tbxDrainedBatteryLoad_percent
|
||||
// tbxDutPulsePerVolume
|
||||
//
|
||||
this.tbxDrainedBatteryLoad_percent.Location = new System.Drawing.Point(170, 25);
|
||||
this.tbxDrainedBatteryLoad_percent.Name = "tbxDrainedBatteryLoad_percent";
|
||||
this.tbxDrainedBatteryLoad_percent.ReadOnly = true;
|
||||
this.tbxDrainedBatteryLoad_percent.Size = new System.Drawing.Size(116, 20);
|
||||
this.tbxDrainedBatteryLoad_percent.TabIndex = 67;
|
||||
this.tbxDutPulsePerVolume.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxDutPulsePerVolume.Location = new System.Drawing.Point(140, 50);
|
||||
this.tbxDutPulsePerVolume.Name = "tbxDutPulsePerVolume";
|
||||
this.tbxDutPulsePerVolume.ReadOnly = true;
|
||||
this.tbxDutPulsePerVolume.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxDutPulsePerVolume.TabIndex = 65;
|
||||
//
|
||||
// tbxRemainingLifeTimeFw
|
||||
// tbxScaleRefToDut
|
||||
//
|
||||
this.tbxRemainingLifeTimeFw.Location = new System.Drawing.Point(170, 50);
|
||||
this.tbxRemainingLifeTimeFw.Name = "tbxRemainingLifeTimeFw";
|
||||
this.tbxRemainingLifeTimeFw.ReadOnly = true;
|
||||
this.tbxRemainingLifeTimeFw.Size = new System.Drawing.Size(116, 20);
|
||||
this.tbxRemainingLifeTimeFw.TabIndex = 65;
|
||||
//
|
||||
// tbxRemainingLifeTimeSw
|
||||
//
|
||||
this.tbxRemainingLifeTimeSw.Location = new System.Drawing.Point(170, 75);
|
||||
this.tbxRemainingLifeTimeSw.Name = "tbxRemainingLifeTimeSw";
|
||||
this.tbxRemainingLifeTimeSw.ReadOnly = true;
|
||||
this.tbxRemainingLifeTimeSw.Size = new System.Drawing.Size(116, 20);
|
||||
this.tbxRemainingLifeTimeSw.TabIndex = 66;
|
||||
this.tbxScaleRefToDut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxScaleRefToDut.Location = new System.Drawing.Point(140, 75);
|
||||
this.tbxScaleRefToDut.Name = "tbxScaleRefToDut";
|
||||
this.tbxScaleRefToDut.ReadOnly = true;
|
||||
this.tbxScaleRefToDut.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxScaleRefToDut.TabIndex = 66;
|
||||
//
|
||||
// lblUpdateTime
|
||||
//
|
||||
this.lblUpdateTime.AutoSize = true;
|
||||
this.lblUpdateTime.Location = new System.Drawing.Point(342, 437);
|
||||
this.lblUpdateTime.Location = new System.Drawing.Point(290, 393);
|
||||
this.lblUpdateTime.Name = "lblUpdateTime";
|
||||
this.lblUpdateTime.Size = new System.Drawing.Size(28, 13);
|
||||
this.lblUpdateTime.TabIndex = 81;
|
||||
@@ -242,206 +249,43 @@
|
||||
// lblFwVersion
|
||||
//
|
||||
this.lblFwVersion.AutoSize = true;
|
||||
this.lblFwVersion.Location = new System.Drawing.Point(8, 19);
|
||||
this.lblFwVersion.Location = new System.Drawing.Point(10, 52);
|
||||
this.lblFwVersion.Name = "lblFwVersion";
|
||||
this.lblFwVersion.Size = new System.Drawing.Size(57, 13);
|
||||
this.lblFwVersion.Size = new System.Drawing.Size(107, 13);
|
||||
this.lblFwVersion.TabIndex = 25;
|
||||
this.lblFwVersion.Text = "Meter FW:";
|
||||
this.lblFwVersion.Text = "Application Firmware:";
|
||||
//
|
||||
// label6
|
||||
// lblSerialNumber
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(8, 44);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(86, 13);
|
||||
this.label6.TabIndex = 27;
|
||||
this.label6.Text = "Meter LUT CRC:";
|
||||
this.lblSerialNumber.AutoSize = true;
|
||||
this.lblSerialNumber.Location = new System.Drawing.Point(10, 78);
|
||||
this.lblSerialNumber.Name = "lblSerialNumber";
|
||||
this.lblSerialNumber.Size = new System.Drawing.Size(76, 13);
|
||||
this.lblSerialNumber.TabIndex = 27;
|
||||
this.lblSerialNumber.Text = "Serial Number:";
|
||||
//
|
||||
// grpBoxCordonelReadout
|
||||
// tbxFM2014SerialNumber
|
||||
//
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.lblFwVersion);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.label6);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.label5);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxMeterLutCrc);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxInitialBatteryLoad);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxMeterSize);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxMeterFw);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.lblBatteryMilliAHrRating);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.label8);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxRegion);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxExpiredLifeTime);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxRadio);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.label10);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxBatteries);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.label2);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxDateTime);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.tbxDrainedLoad_uAs);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.lblTotalUsedSeconds);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.lblBatteryQuantity);
|
||||
this.grpBoxCordonelReadout.Controls.Add(this.lblTotalUsedCharge);
|
||||
this.grpBoxCordonelReadout.Location = new System.Drawing.Point(315, 92);
|
||||
this.grpBoxCordonelReadout.Name = "grpBoxCordonelReadout";
|
||||
this.grpBoxCordonelReadout.Size = new System.Drawing.Size(308, 269);
|
||||
this.grpBoxCordonelReadout.TabIndex = 83;
|
||||
this.grpBoxCordonelReadout.TabStop = false;
|
||||
this.grpBoxCordonelReadout.Text = "Cordonel Read Out";
|
||||
this.tbxFM2014SerialNumber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxFM2014SerialNumber.Location = new System.Drawing.Point(140, 75);
|
||||
this.tbxFM2014SerialNumber.Name = "tbxFM2014SerialNumber";
|
||||
this.tbxFM2014SerialNumber.ReadOnly = true;
|
||||
this.tbxFM2014SerialNumber.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxFM2014SerialNumber.TabIndex = 29;
|
||||
//
|
||||
// label5
|
||||
// tbxFwVersion
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(8, 69);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(60, 13);
|
||||
this.label5.TabIndex = 28;
|
||||
this.label5.Text = "Meter Size:";
|
||||
//
|
||||
// tbxMeterLutCrc
|
||||
//
|
||||
this.tbxMeterLutCrc.Location = new System.Drawing.Point(141, 41);
|
||||
this.tbxMeterLutCrc.Name = "tbxMeterLutCrc";
|
||||
this.tbxMeterLutCrc.ReadOnly = true;
|
||||
this.tbxMeterLutCrc.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxMeterLutCrc.TabIndex = 29;
|
||||
//
|
||||
// tbxInitialBatteryLoad
|
||||
//
|
||||
this.tbxInitialBatteryLoad.Location = new System.Drawing.Point(140, 238);
|
||||
this.tbxInitialBatteryLoad.Name = "tbxInitialBatteryLoad";
|
||||
this.tbxInitialBatteryLoad.ReadOnly = true;
|
||||
this.tbxInitialBatteryLoad.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxInitialBatteryLoad.TabIndex = 61;
|
||||
//
|
||||
// tbxMeterSize
|
||||
//
|
||||
this.tbxMeterSize.Location = new System.Drawing.Point(141, 66);
|
||||
this.tbxMeterSize.Name = "tbxMeterSize";
|
||||
this.tbxMeterSize.ReadOnly = true;
|
||||
this.tbxMeterSize.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxMeterSize.TabIndex = 30;
|
||||
//
|
||||
// tbxMeterFw
|
||||
//
|
||||
this.tbxMeterFw.Location = new System.Drawing.Point(141, 16);
|
||||
this.tbxMeterFw.Name = "tbxMeterFw";
|
||||
this.tbxMeterFw.ReadOnly = true;
|
||||
this.tbxMeterFw.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxMeterFw.TabIndex = 31;
|
||||
//
|
||||
// lblBatteryMilliAHrRating
|
||||
//
|
||||
this.lblBatteryMilliAHrRating.AutoSize = true;
|
||||
this.lblBatteryMilliAHrRating.Location = new System.Drawing.Point(8, 241);
|
||||
this.lblBatteryMilliAHrRating.Name = "lblBatteryMilliAHrRating";
|
||||
this.lblBatteryMilliAHrRating.Size = new System.Drawing.Size(127, 13);
|
||||
this.lblBatteryMilliAHrRating.TabIndex = 60;
|
||||
this.lblBatteryMilliAHrRating.Text = "Initial Battery Load [mAh]:";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(8, 94);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(44, 13);
|
||||
this.label8.TabIndex = 33;
|
||||
this.label8.Text = "Region:";
|
||||
//
|
||||
// tbxRegion
|
||||
//
|
||||
this.tbxRegion.Location = new System.Drawing.Point(141, 91);
|
||||
this.tbxRegion.Name = "tbxRegion";
|
||||
this.tbxRegion.ReadOnly = true;
|
||||
this.tbxRegion.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxRegion.TabIndex = 34;
|
||||
//
|
||||
// tbxExpiredLifeTime
|
||||
//
|
||||
this.tbxExpiredLifeTime.Location = new System.Drawing.Point(140, 165);
|
||||
this.tbxExpiredLifeTime.Name = "tbxExpiredLifeTime";
|
||||
this.tbxExpiredLifeTime.ReadOnly = true;
|
||||
this.tbxExpiredLifeTime.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxExpiredLifeTime.TabIndex = 59;
|
||||
//
|
||||
// tbxRadio
|
||||
//
|
||||
this.tbxRadio.Location = new System.Drawing.Point(141, 116);
|
||||
this.tbxRadio.Name = "tbxRadio";
|
||||
this.tbxRadio.ReadOnly = true;
|
||||
this.tbxRadio.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxRadio.TabIndex = 35;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(8, 119);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(116, 13);
|
||||
this.label10.TabIndex = 36;
|
||||
this.label10.Text = "Radio frequency[MHz]:";
|
||||
//
|
||||
// tbxBatteries
|
||||
//
|
||||
this.tbxBatteries.Location = new System.Drawing.Point(140, 215);
|
||||
this.tbxBatteries.Name = "tbxBatteries";
|
||||
this.tbxBatteries.ReadOnly = true;
|
||||
this.tbxBatteries.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxBatteries.TabIndex = 58;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(8, 144);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(104, 13);
|
||||
this.label2.TabIndex = 37;
|
||||
this.label2.Text = "Cordonel Date Time:";
|
||||
//
|
||||
// tbxDateTime
|
||||
//
|
||||
this.tbxDateTime.Location = new System.Drawing.Point(141, 141);
|
||||
this.tbxDateTime.Name = "tbxDateTime";
|
||||
this.tbxDateTime.ReadOnly = true;
|
||||
this.tbxDateTime.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxDateTime.TabIndex = 38;
|
||||
//
|
||||
// tbxDrainedLoad_uAs
|
||||
//
|
||||
this.tbxDrainedLoad_uAs.Location = new System.Drawing.Point(140, 190);
|
||||
this.tbxDrainedLoad_uAs.Name = "tbxDrainedLoad_uAs";
|
||||
this.tbxDrainedLoad_uAs.ReadOnly = true;
|
||||
this.tbxDrainedLoad_uAs.Size = new System.Drawing.Size(146, 20);
|
||||
this.tbxDrainedLoad_uAs.TabIndex = 57;
|
||||
//
|
||||
// lblTotalUsedSeconds
|
||||
//
|
||||
this.lblTotalUsedSeconds.AutoSize = true;
|
||||
this.lblTotalUsedSeconds.Location = new System.Drawing.Point(8, 169);
|
||||
this.lblTotalUsedSeconds.Name = "lblTotalUsedSeconds";
|
||||
this.lblTotalUsedSeconds.Size = new System.Drawing.Size(98, 13);
|
||||
this.lblTotalUsedSeconds.TabIndex = 54;
|
||||
this.lblTotalUsedSeconds.Text = "Expired Lifetime [s]:";
|
||||
//
|
||||
// lblBatteryQuantity
|
||||
//
|
||||
this.lblBatteryQuantity.AutoSize = true;
|
||||
this.lblBatteryQuantity.Location = new System.Drawing.Point(8, 218);
|
||||
this.lblBatteryQuantity.Name = "lblBatteryQuantity";
|
||||
this.lblBatteryQuantity.Size = new System.Drawing.Size(92, 13);
|
||||
this.lblBatteryQuantity.TabIndex = 56;
|
||||
this.lblBatteryQuantity.Text = "Batteries [Pieces]:";
|
||||
//
|
||||
// lblTotalUsedCharge
|
||||
//
|
||||
this.lblTotalUsedCharge.AutoSize = true;
|
||||
this.lblTotalUsedCharge.Location = new System.Drawing.Point(8, 193);
|
||||
this.lblTotalUsedCharge.Name = "lblTotalUsedCharge";
|
||||
this.lblTotalUsedCharge.Size = new System.Drawing.Size(101, 13);
|
||||
this.lblTotalUsedCharge.TabIndex = 55;
|
||||
this.lblTotalUsedCharge.Text = "Drained Load [µAs]:";
|
||||
this.tbxFwVersion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxFwVersion.Location = new System.Drawing.Point(140, 50);
|
||||
this.tbxFwVersion.Name = "tbxFwVersion";
|
||||
this.tbxFwVersion.ReadOnly = true;
|
||||
this.tbxFwVersion.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxFwVersion.TabIndex = 31;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(274, 437);
|
||||
this.label9.Location = new System.Drawing.Point(218, 393);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(66, 13);
|
||||
this.label9.TabIndex = 79;
|
||||
@@ -451,7 +295,7 @@
|
||||
//
|
||||
this.lblWaitingForMeterResponse.AutoSize = true;
|
||||
this.lblWaitingForMeterResponse.ForeColor = System.Drawing.Color.Red;
|
||||
this.lblWaitingForMeterResponse.Location = new System.Drawing.Point(440, 437);
|
||||
this.lblWaitingForMeterResponse.Location = new System.Drawing.Point(381, 393);
|
||||
this.lblWaitingForMeterResponse.Name = "lblWaitingForMeterResponse";
|
||||
this.lblWaitingForMeterResponse.Size = new System.Drawing.Size(183, 13);
|
||||
this.lblWaitingForMeterResponse.TabIndex = 76;
|
||||
@@ -460,7 +304,7 @@
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = global::Sensus.MiniPrf.Ui.Properties.Resources.Sensus_Logo;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(456, 6);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(399, 6);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(166, 54);
|
||||
this.pictureBox1.TabIndex = 78;
|
||||
@@ -470,7 +314,7 @@
|
||||
//
|
||||
this.lblFwUpdateInfo.AutoSize = true;
|
||||
this.lblFwUpdateInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblFwUpdateInfo.Location = new System.Drawing.Point(7, 12);
|
||||
this.lblFwUpdateInfo.Location = new System.Drawing.Point(301, 21);
|
||||
this.lblFwUpdateInfo.Name = "lblFwUpdateInfo";
|
||||
this.lblFwUpdateInfo.Size = new System.Drawing.Size(72, 13);
|
||||
this.lblFwUpdateInfo.TabIndex = 77;
|
||||
@@ -478,30 +322,257 @@
|
||||
//
|
||||
// barSingleProgressUpdate
|
||||
//
|
||||
this.barSingleProgressUpdate.Location = new System.Drawing.Point(1, 453);
|
||||
this.barSingleProgressUpdate.Location = new System.Drawing.Point(7, 409);
|
||||
this.barSingleProgressUpdate.Name = "barSingleProgressUpdate";
|
||||
this.barSingleProgressUpdate.Size = new System.Drawing.Size(621, 18);
|
||||
this.barSingleProgressUpdate.Size = new System.Drawing.Size(558, 18);
|
||||
this.barSingleProgressUpdate.TabIndex = 75;
|
||||
this.barSingleProgressUpdate.Visible = false;
|
||||
//
|
||||
// lblActualProcess
|
||||
//
|
||||
this.lblActualProcess.AutoSize = true;
|
||||
this.lblActualProcess.Location = new System.Drawing.Point(10, 437);
|
||||
this.lblActualProcess.Location = new System.Drawing.Point(5, 393);
|
||||
this.lblActualProcess.Name = "lblActualProcess";
|
||||
this.lblActualProcess.Size = new System.Drawing.Size(76, 13);
|
||||
this.lblActualProcess.TabIndex = 74;
|
||||
this.lblActualProcess.Text = "Process status";
|
||||
//
|
||||
// cbxFM2014Address
|
||||
//
|
||||
this.cbxFM2014Address.FormattingEnabled = true;
|
||||
this.cbxFM2014Address.Items.AddRange(new object[] {
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10",
|
||||
"11",
|
||||
"12",
|
||||
"13",
|
||||
"14",
|
||||
"15",
|
||||
"16",
|
||||
"22"});
|
||||
this.cbxFM2014Address.Location = new System.Drawing.Point(140, 125);
|
||||
this.cbxFM2014Address.Name = "cbxFM2014Address";
|
||||
this.cbxFM2014Address.Size = new System.Drawing.Size(60, 21);
|
||||
this.cbxFM2014Address.TabIndex = 33;
|
||||
this.cbxFM2014Address.Text = "1";
|
||||
//
|
||||
// lblFM2014Address
|
||||
//
|
||||
this.lblFM2014Address.AutoSize = true;
|
||||
this.lblFM2014Address.Location = new System.Drawing.Point(10, 128);
|
||||
this.lblFM2014Address.Name = "lblFM2014Address";
|
||||
this.lblFM2014Address.Size = new System.Drawing.Size(48, 13);
|
||||
this.lblFM2014Address.TabIndex = 34;
|
||||
this.lblFM2014Address.Text = "Address:";
|
||||
//
|
||||
// cbxFM2014Tolerance
|
||||
//
|
||||
this.cbxFM2014Tolerance.FormattingEnabled = true;
|
||||
this.cbxFM2014Tolerance.Items.AddRange(new object[] {
|
||||
"3%",
|
||||
"5%"});
|
||||
this.cbxFM2014Tolerance.Location = new System.Drawing.Point(140, 150);
|
||||
this.cbxFM2014Tolerance.Name = "cbxFM2014Tolerance";
|
||||
this.cbxFM2014Tolerance.Size = new System.Drawing.Size(60, 21);
|
||||
this.cbxFM2014Tolerance.TabIndex = 35;
|
||||
this.cbxFM2014Tolerance.Text = "3%";
|
||||
//
|
||||
// lblFM2014Tolerance
|
||||
//
|
||||
this.lblFM2014Tolerance.AutoSize = true;
|
||||
this.lblFM2014Tolerance.Location = new System.Drawing.Point(10, 153);
|
||||
this.lblFM2014Tolerance.Name = "lblFM2014Tolerance";
|
||||
this.lblFM2014Tolerance.Size = new System.Drawing.Size(58, 13);
|
||||
this.lblFM2014Tolerance.TabIndex = 36;
|
||||
this.lblFM2014Tolerance.Text = "Tolerance:";
|
||||
//
|
||||
// cbxAttenuation
|
||||
//
|
||||
this.cbxAttenuation.FormattingEnabled = true;
|
||||
this.cbxAttenuation.Items.AddRange(new object[] {
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9"});
|
||||
this.cbxAttenuation.Location = new System.Drawing.Point(140, 100);
|
||||
this.cbxAttenuation.Name = "cbxAttenuation";
|
||||
this.cbxAttenuation.Size = new System.Drawing.Size(60, 21);
|
||||
this.cbxAttenuation.TabIndex = 69;
|
||||
this.cbxAttenuation.Text = "3";
|
||||
//
|
||||
// btnRegulation
|
||||
//
|
||||
this.btnRegulation.Location = new System.Drawing.Point(140, 126);
|
||||
this.btnRegulation.Name = "btnRegulation";
|
||||
this.btnRegulation.Size = new System.Drawing.Size(120, 25);
|
||||
this.btnRegulation.TabIndex = 37;
|
||||
this.btnRegulation.Text = "Start Regulation";
|
||||
this.btnRegulation.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grpRefCalibration
|
||||
//
|
||||
this.grpRefCalibration.Controls.Add(this.lblPulseVolumeCmRelation);
|
||||
this.grpRefCalibration.Controls.Add(this.tbxPulseVolumeCmRelation);
|
||||
this.grpRefCalibration.Controls.Add(this.lblWeightScaleMass);
|
||||
this.grpRefCalibration.Controls.Add(this.tbxWeightScaleMass);
|
||||
this.grpRefCalibration.Controls.Add(this.lblMeasuredRefPulses);
|
||||
this.grpRefCalibration.Controls.Add(this.tbxMeasuredRefPulses);
|
||||
this.grpRefCalibration.Controls.Add(this.btnCalibration);
|
||||
this.grpRefCalibration.Location = new System.Drawing.Point(293, 66);
|
||||
this.grpRefCalibration.Name = "grpRefCalibration";
|
||||
this.grpRefCalibration.Size = new System.Drawing.Size(275, 150);
|
||||
this.grpRefCalibration.TabIndex = 83;
|
||||
this.grpRefCalibration.TabStop = false;
|
||||
this.grpRefCalibration.Text = "Manual REF Calibration";
|
||||
//
|
||||
// gbxRegulation
|
||||
//
|
||||
this.gbxRegulation.Controls.Add(this.ckbxUseDampedTolerance);
|
||||
this.gbxRegulation.Controls.Add(this.lblTolerance);
|
||||
this.gbxRegulation.Controls.Add(this.tbxTolerance);
|
||||
this.gbxRegulation.Controls.Add(this.lblActualFlowRateCmPerHour);
|
||||
this.gbxRegulation.Controls.Add(this.tbxActualFlowRateCmPerHour);
|
||||
this.gbxRegulation.Controls.Add(this.btnRegulation);
|
||||
this.gbxRegulation.Location = new System.Drawing.Point(290, 222);
|
||||
this.gbxRegulation.Name = "gbxRegulation";
|
||||
this.gbxRegulation.Size = new System.Drawing.Size(275, 161);
|
||||
this.gbxRegulation.TabIndex = 84;
|
||||
this.gbxRegulation.TabStop = false;
|
||||
this.gbxRegulation.Text = "DUT to REF Regulation";
|
||||
//
|
||||
// btnCalibration
|
||||
//
|
||||
this.btnCalibration.Location = new System.Drawing.Point(138, 115);
|
||||
this.btnCalibration.Name = "btnCalibration";
|
||||
this.btnCalibration.Size = new System.Drawing.Size(120, 25);
|
||||
this.btnCalibration.TabIndex = 38;
|
||||
this.btnCalibration.Text = "Start Calibration";
|
||||
this.btnCalibration.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblMeasuredRefPulses
|
||||
//
|
||||
this.lblMeasuredRefPulses.AutoSize = true;
|
||||
this.lblMeasuredRefPulses.Location = new System.Drawing.Point(10, 28);
|
||||
this.lblMeasuredRefPulses.Name = "lblMeasuredRefPulses";
|
||||
this.lblMeasuredRefPulses.Size = new System.Drawing.Size(121, 13);
|
||||
this.lblMeasuredRefPulses.TabIndex = 68;
|
||||
this.lblMeasuredRefPulses.Text = "Measured REF [Pulses]:";
|
||||
//
|
||||
// tbxMeasuredRefPulses
|
||||
//
|
||||
this.tbxMeasuredRefPulses.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxMeasuredRefPulses.Location = new System.Drawing.Point(140, 25);
|
||||
this.tbxMeasuredRefPulses.Name = "tbxMeasuredRefPulses";
|
||||
this.tbxMeasuredRefPulses.ReadOnly = true;
|
||||
this.tbxMeasuredRefPulses.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxMeasuredRefPulses.TabIndex = 69;
|
||||
//
|
||||
// lblWeightScaleMass
|
||||
//
|
||||
this.lblWeightScaleMass.AutoSize = true;
|
||||
this.lblWeightScaleMass.Location = new System.Drawing.Point(10, 53);
|
||||
this.lblWeightScaleMass.Name = "lblWeightScaleMass";
|
||||
this.lblWeightScaleMass.Size = new System.Drawing.Size(107, 13);
|
||||
this.lblWeightScaleMass.TabIndex = 70;
|
||||
this.lblWeightScaleMass.Text = "Weight Scale [liters]:";
|
||||
//
|
||||
// tbxWeightScaleMass
|
||||
//
|
||||
this.tbxWeightScaleMass.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxWeightScaleMass.Location = new System.Drawing.Point(140, 50);
|
||||
this.tbxWeightScaleMass.Name = "tbxWeightScaleMass";
|
||||
this.tbxWeightScaleMass.ReadOnly = true;
|
||||
this.tbxWeightScaleMass.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxWeightScaleMass.TabIndex = 71;
|
||||
//
|
||||
// lblPulseVolumeCmRelation
|
||||
//
|
||||
this.lblPulseVolumeCmRelation.AutoSize = true;
|
||||
this.lblPulseVolumeCmRelation.Location = new System.Drawing.Point(10, 78);
|
||||
this.lblPulseVolumeCmRelation.Name = "lblPulseVolumeCmRelation";
|
||||
this.lblPulseVolumeCmRelation.Size = new System.Drawing.Size(86, 13);
|
||||
this.lblPulseVolumeCmRelation.TabIndex = 72;
|
||||
this.lblPulseVolumeCmRelation.Text = "REF [pulses/m³]:";
|
||||
//
|
||||
// tbxPulseVolumeCmRelation
|
||||
//
|
||||
this.tbxPulseVolumeCmRelation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxPulseVolumeCmRelation.Location = new System.Drawing.Point(140, 75);
|
||||
this.tbxPulseVolumeCmRelation.Name = "tbxPulseVolumeCmRelation";
|
||||
this.tbxPulseVolumeCmRelation.ReadOnly = true;
|
||||
this.tbxPulseVolumeCmRelation.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxPulseVolumeCmRelation.TabIndex = 73;
|
||||
//
|
||||
// lblActualFlowRateCmPerHour
|
||||
//
|
||||
this.lblActualFlowRateCmPerHour.AutoSize = true;
|
||||
this.lblActualFlowRateCmPerHour.Location = new System.Drawing.Point(10, 28);
|
||||
this.lblActualFlowRateCmPerHour.Name = "lblActualFlowRateCmPerHour";
|
||||
this.lblActualFlowRateCmPerHour.Size = new System.Drawing.Size(89, 13);
|
||||
this.lblActualFlowRateCmPerHour.TabIndex = 74;
|
||||
this.lblActualFlowRateCmPerHour.Text = "Flow Rate [m³/h]:";
|
||||
//
|
||||
// tbxActualFlowRateCmPerHour
|
||||
//
|
||||
this.tbxActualFlowRateCmPerHour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxActualFlowRateCmPerHour.Location = new System.Drawing.Point(140, 25);
|
||||
this.tbxActualFlowRateCmPerHour.Name = "tbxActualFlowRateCmPerHour";
|
||||
this.tbxActualFlowRateCmPerHour.ReadOnly = true;
|
||||
this.tbxActualFlowRateCmPerHour.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxActualFlowRateCmPerHour.TabIndex = 75;
|
||||
//
|
||||
// lblTolerance
|
||||
//
|
||||
this.lblTolerance.AutoSize = true;
|
||||
this.lblTolerance.Location = new System.Drawing.Point(10, 53);
|
||||
this.lblTolerance.Name = "lblTolerance";
|
||||
this.lblTolerance.Size = new System.Drawing.Size(75, 13);
|
||||
this.lblTolerance.TabIndex = 76;
|
||||
this.lblTolerance.Text = "Tolerance [%]:";
|
||||
//
|
||||
// tbxTolerance
|
||||
//
|
||||
this.tbxTolerance.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbxTolerance.Location = new System.Drawing.Point(140, 50);
|
||||
this.tbxTolerance.Name = "tbxTolerance";
|
||||
this.tbxTolerance.ReadOnly = true;
|
||||
this.tbxTolerance.Size = new System.Drawing.Size(120, 20);
|
||||
this.tbxTolerance.TabIndex = 77;
|
||||
//
|
||||
// ckbxUseDampedTolerance
|
||||
//
|
||||
this.ckbxUseDampedTolerance.AutoSize = true;
|
||||
this.ckbxUseDampedTolerance.Location = new System.Drawing.Point(13, 78);
|
||||
this.ckbxUseDampedTolerance.Name = "ckbxUseDampedTolerance";
|
||||
this.ckbxUseDampedTolerance.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.ckbxUseDampedTolerance.Size = new System.Drawing.Size(117, 17);
|
||||
this.ckbxUseDampedTolerance.TabIndex = 78;
|
||||
this.ckbxUseDampedTolerance.Text = "Damped Tolerance";
|
||||
this.ckbxUseDampedTolerance.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// FrmMainMiniPrf
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(630, 476);
|
||||
this.ClientSize = new System.Drawing.Size(573, 443);
|
||||
this.Controls.Add(this.gbxRegulation);
|
||||
this.Controls.Add(this.gbxFM2014Setup);
|
||||
this.Controls.Add(this.grpBoxStatistic);
|
||||
this.Controls.Add(this.gbxRegulationSetup);
|
||||
this.Controls.Add(this.lblUpdateTime);
|
||||
this.Controls.Add(this.grpBoxCordonelReadout);
|
||||
this.Controls.Add(this.grpRefCalibration);
|
||||
this.Controls.Add(this.label9);
|
||||
this.Controls.Add(this.lblWaitingForMeterResponse);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
@@ -515,11 +586,13 @@
|
||||
this.Load += new System.EventHandler(this.FrmMainMiniPrf_Load);
|
||||
this.gbxFM2014Setup.ResumeLayout(false);
|
||||
this.gbxFM2014Setup.PerformLayout();
|
||||
this.grpBoxStatistic.ResumeLayout(false);
|
||||
this.grpBoxStatistic.PerformLayout();
|
||||
this.grpBoxCordonelReadout.ResumeLayout(false);
|
||||
this.grpBoxCordonelReadout.PerformLayout();
|
||||
this.gbxRegulationSetup.ResumeLayout(false);
|
||||
this.gbxRegulationSetup.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.grpRefCalibration.ResumeLayout(false);
|
||||
this.grpRefCalibration.PerformLayout();
|
||||
this.gbxRegulation.ResumeLayout(false);
|
||||
this.gbxRegulation.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -530,47 +603,49 @@
|
||||
private System.Windows.Forms.GroupBox gbxFM2014Setup;
|
||||
private System.Windows.Forms.Button btnConnect;
|
||||
private System.Windows.Forms.ComboBox cbxFM2014ComPort;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label lblConnectPcb;
|
||||
private System.Windows.Forms.TextBox tbxPcbId;
|
||||
private System.Windows.Forms.GroupBox grpBoxStatistic;
|
||||
private System.Windows.Forms.Label lblDrainedBatteryLoad;
|
||||
private System.Windows.Forms.TextBox tbxStorageMonths;
|
||||
private System.Windows.Forms.Label lblRemainingLifetimeFw;
|
||||
private System.Windows.Forms.Label lblStorageMonths;
|
||||
private System.Windows.Forms.Label lblRemainingLifeTimeSw;
|
||||
private System.Windows.Forms.TextBox tbxDrainedBatteryLoad_percent;
|
||||
private System.Windows.Forms.TextBox tbxRemainingLifeTimeFw;
|
||||
private System.Windows.Forms.TextBox tbxRemainingLifeTimeSw;
|
||||
private System.Windows.Forms.Label lblSerialPort;
|
||||
private System.Windows.Forms.Label lblConnectFM2014;
|
||||
private System.Windows.Forms.TextBox tbxFullId;
|
||||
private System.Windows.Forms.GroupBox gbxRegulationSetup;
|
||||
private System.Windows.Forms.Label lblRefPulsePerVolume;
|
||||
private System.Windows.Forms.Label lblDutPulsePerVolume;
|
||||
private System.Windows.Forms.Label lblAttenuation;
|
||||
private System.Windows.Forms.Label lblScaleRefToDut;
|
||||
private System.Windows.Forms.TextBox tbxRefPulsePerVolume;
|
||||
private System.Windows.Forms.TextBox tbxDutPulsePerVolume;
|
||||
private System.Windows.Forms.TextBox tbxScaleRefToDut;
|
||||
private System.Windows.Forms.Label lblUpdateTime;
|
||||
private System.Windows.Forms.Timer tmrProgressUpdate;
|
||||
private System.Windows.Forms.Label lblFwVersion;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.GroupBox grpBoxCordonelReadout;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tbxMeterLutCrc;
|
||||
private System.Windows.Forms.TextBox tbxInitialBatteryLoad;
|
||||
private System.Windows.Forms.TextBox tbxMeterSize;
|
||||
private System.Windows.Forms.TextBox tbxMeterFw;
|
||||
private System.Windows.Forms.Label lblBatteryMilliAHrRating;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox tbxRegion;
|
||||
private System.Windows.Forms.TextBox tbxExpiredLifeTime;
|
||||
private System.Windows.Forms.TextBox tbxRadio;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox tbxBatteries;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox tbxDateTime;
|
||||
private System.Windows.Forms.TextBox tbxDrainedLoad_uAs;
|
||||
private System.Windows.Forms.Label lblTotalUsedSeconds;
|
||||
private System.Windows.Forms.Label lblBatteryQuantity;
|
||||
private System.Windows.Forms.Label lblTotalUsedCharge;
|
||||
private System.Windows.Forms.Label lblSerialNumber;
|
||||
private System.Windows.Forms.TextBox tbxFM2014SerialNumber;
|
||||
private System.Windows.Forms.TextBox tbxFwVersion;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label lblWaitingForMeterResponse;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Label lblFwUpdateInfo;
|
||||
private System.Windows.Forms.ProgressBar barSingleProgressUpdate;
|
||||
private System.Windows.Forms.Label lblActualProcess;
|
||||
private System.Windows.Forms.ComboBox cbxFM2014Tolerance;
|
||||
private System.Windows.Forms.Label lblFM2014Tolerance;
|
||||
private System.Windows.Forms.ComboBox cbxFM2014Address;
|
||||
private System.Windows.Forms.Label lblFM2014Address;
|
||||
private System.Windows.Forms.ComboBox cbxAttenuation;
|
||||
private System.Windows.Forms.Button btnRegulation;
|
||||
private System.Windows.Forms.GroupBox grpRefCalibration;
|
||||
private System.Windows.Forms.GroupBox gbxRegulation;
|
||||
private System.Windows.Forms.Button btnCalibration;
|
||||
private System.Windows.Forms.Label lblMeasuredRefPulses;
|
||||
private System.Windows.Forms.TextBox tbxMeasuredRefPulses;
|
||||
private System.Windows.Forms.Label lblPulseVolumeCmRelation;
|
||||
private System.Windows.Forms.TextBox tbxPulseVolumeCmRelation;
|
||||
private System.Windows.Forms.Label lblWeightScaleMass;
|
||||
private System.Windows.Forms.TextBox tbxWeightScaleMass;
|
||||
private System.Windows.Forms.Label lblTolerance;
|
||||
private System.Windows.Forms.TextBox tbxTolerance;
|
||||
private System.Windows.Forms.Label lblActualFlowRateCmPerHour;
|
||||
private System.Windows.Forms.TextBox tbxActualFlowRateCmPerHour;
|
||||
private System.Windows.Forms.CheckBox ckbxUseDampedTolerance;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -129,12 +129,12 @@ namespace Sensus.MiniPrf.Ui
|
||||
private void Init()
|
||||
{
|
||||
ViewProcessControl(false);
|
||||
lblConnectPcb.Text = StrNotConnected;
|
||||
lblConnectPcb.ForeColor = Color.Red;
|
||||
lblConnectFM2014.Text = StrNotConnected;
|
||||
lblConnectFM2014.ForeColor = Color.Red;
|
||||
lblWaitingForMeterResponse.Visible = false;
|
||||
|
||||
tbxMeterFw.Text = "";
|
||||
tbxMeterLutCrc.Text = "";
|
||||
tbxFwVersion.Text = "";
|
||||
tbxFM2014SerialNumber.Text = "";
|
||||
tbxMeterSize.Text = "";
|
||||
tbxRegion.Text = "";
|
||||
tbxDateTime.Text = "";
|
||||
@@ -143,13 +143,13 @@ namespace Sensus.MiniPrf.Ui
|
||||
tbxDrainedLoad_uAs.Text = "";
|
||||
tbxBatteries.Text = "";
|
||||
tbxInitialBatteryLoad.Text = "";
|
||||
tbxDrainedBatteryLoad_percent.Text = "";
|
||||
tbxRemainingLifeTimeFw.Text = "";
|
||||
tbxRemainingLifeTimeSw.Text = "";
|
||||
tbxRefPulsePerVolume.Text = "";
|
||||
tbxDutPulsePerVolume.Text = "";
|
||||
tbxScaleRefToDut.Text = "";
|
||||
tbxStorageMonths.Text = "";
|
||||
|
||||
SetFM2014AccessLocked();
|
||||
tbxPcbId.Visible = false;
|
||||
tbxFullId.Visible = false;
|
||||
btnConnect.Focus();
|
||||
}
|
||||
|
||||
@@ -336,15 +336,15 @@ namespace Sensus.MiniPrf.Ui
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
lblConnectPcb.Text = StrPartPcbConnected;
|
||||
tbxPcbId.Text = _fm2014.FullId;
|
||||
tbxPcbId.Visible = true;
|
||||
tbxMeterFw.Text = _fm2014.FwVersion;
|
||||
lblConnectFM2014.Text = StrPartPcbConnected;
|
||||
tbxFullId.Text = _fm2014.FullId;
|
||||
tbxFullId.Visible = true;
|
||||
tbxFwVersion.Text = _fm2014.FwVersion;
|
||||
LogText("FM2014 Full ID:\t" + _fm2014.FullId);
|
||||
LogText("FM2014 FW Version:\t" + _fm2014.FwVersion);
|
||||
LogText("FM2014 Serial Number:\t" + _fm2014.SerialNumber);
|
||||
LogText("FM2014 Address:\t" + _fm2014.Address);
|
||||
lblConnectPcb.ForeColor = Color.Green;
|
||||
lblConnectFM2014.ForeColor = Color.Green;
|
||||
var dt = DateTime.UtcNow;
|
||||
var msg = $"{dt:yyyy-MM-dd HH:mm:ss} UTC";
|
||||
LogText($"PC date time:\t{msg}");
|
||||
|
||||
Reference in New Issue
Block a user