GTB: - Refactoring RegisterStore
This commit is contained in:
parent
7398be3273
commit
6256d1636c
@ -171,7 +171,7 @@
|
||||
</site>
|
||||
<site name="MeterProcessState(2)" id="4">
|
||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||
<virtualDirectory path="/" physicalPath="E:\REPO\lab\la_operations\laa_production\Common\Service\MeterProcessState" />
|
||||
<virtualDirectory path="/" physicalPath="D:\Projekte\SENSUS_GitLab\LAA_PRODUCTION\Common\Service\MeterProcessState" />
|
||||
</application>
|
||||
<bindings>
|
||||
<binding protocol="http" bindingInformation="*:50075:localhost" />
|
||||
|
||||
@ -152,7 +152,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("not connected");
|
||||
MessageBox.Show(@"not connected");
|
||||
}
|
||||
}
|
||||
private void clbAlarms_SelectedIndexChanged(Object sender, EventArgs e)
|
||||
@ -163,7 +163,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
{
|
||||
if (e.NewValue == CheckState.Checked)
|
||||
{
|
||||
MessageBox.Show("Alarms cannot write, they have to set by meter");
|
||||
MessageBox.Show(@"Alarms cannot write, they have to set by meter");
|
||||
e.NewValue = CheckState.Unchecked;
|
||||
}
|
||||
else if (e.NewValue == CheckState.Unchecked)
|
||||
@ -456,11 +456,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
_currentGenesis.WriteRegister(Register.Metrologyasst.PulseMode, 0);
|
||||
button6.Enabled = true;
|
||||
button7.Enabled = false;
|
||||
MessageBox.Show("Weiter");
|
||||
MessageBox.Show(@"Weiter");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Noch mal 1. Connect");
|
||||
MessageBox.Show(@"Noch mal 1. Connect");
|
||||
}
|
||||
|
||||
|
||||
@ -498,11 +498,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
{
|
||||
if (cAlarm == Alarm.EMPTY_PIPE)
|
||||
{
|
||||
MessageBox.Show("weiter");
|
||||
MessageBox.Show(@"weiter");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Emptypipe fehlt bitte vor dem verpacken überprüfen");
|
||||
MessageBox.Show(@"Emptypipe fehlt bitte vor dem verpacken überprüfen");
|
||||
}
|
||||
|
||||
button7.Enabled = true;
|
||||
@ -511,7 +511,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("fehler");
|
||||
MessageBox.Show(@"fehler");
|
||||
}
|
||||
}
|
||||
|
||||
@ -521,7 +521,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
{
|
||||
finishMeter(_currentGenesis);
|
||||
File.AppendAllText("WriteLines.txt", _currentGenesis.PcbId + "mit Update;");
|
||||
MessageBox.Show("fertig");
|
||||
MessageBox.Show(@"fertig");
|
||||
|
||||
button6.Enabled = false;
|
||||
button7.Enabled = false;
|
||||
@ -533,9 +533,9 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
if (ex.Message.Contains("Check the configuration.json for latest version!"))
|
||||
{
|
||||
_currentGenesis.Login();
|
||||
MessageBox.Show("Wiederholen 3.");
|
||||
MessageBox.Show(@"Wiederholen 3.");
|
||||
}
|
||||
MessageBox.Show("fehler");
|
||||
MessageBox.Show(@"fehler");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("not connected");
|
||||
MessageBox.Show(@"not connected");
|
||||
}
|
||||
}
|
||||
private void btnWriteText_Click(Object sender, EventArgs e)
|
||||
@ -73,18 +73,18 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
|
||||
if (r)
|
||||
{
|
||||
MessageBox.Show($"Write was successful");
|
||||
MessageBox.Show($@"Write was successful");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show($"Write was unsuccessful!");
|
||||
MessageBox.Show($@"Write was unsuccessful!");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("not connected");
|
||||
MessageBox.Show(@"not connected");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -457,7 +457,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"Error On{item.Name}");
|
||||
MessageBox.Show($@"Error On{item.Name}");
|
||||
}
|
||||
|
||||
|
||||
@ -520,7 +520,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"Error On{item.Name}");
|
||||
MessageBox.Show($@"Error On{item.Name}");
|
||||
}
|
||||
}
|
||||
|
||||
@ -533,7 +533,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"Error On{item.Name}");
|
||||
MessageBox.Show($@"Error On{item.Name}");
|
||||
}
|
||||
}
|
||||
|
||||
@ -548,11 +548,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
|
||||
if (result.StatusCode == System.Net.HttpStatusCode.OK)
|
||||
{
|
||||
MessageBox.Show("done");
|
||||
MessageBox.Show(@"done");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show($"error{result.StatusCode} : {result.Content}");
|
||||
MessageBox.Show($@"error{result.StatusCode} : {result.Content}");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -335,7 +335,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
if (int.MaxValue <= estTimeInMs)
|
||||
{
|
||||
lblEstDate.Text = "-";
|
||||
MessageBox.Show("you really think a software from roland can run that long without a fatal crash? No way!");
|
||||
MessageBox.Show(@"you really think a software from roland can run that long without a fatal crash? No way!");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -201,7 +201,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
|
||||
|
||||
}
|
||||
MessageBox.Show("done");
|
||||
MessageBox.Show(@"done");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@ -700,14 +700,14 @@
|
||||
{
|
||||
if (!gen.WriteRegister(row.Cells[0].Value.ToString(), val))
|
||||
{
|
||||
MessageBox.Show("Error");
|
||||
MessageBox.Show(@"Error");
|
||||
}
|
||||
}
|
||||
else if (Int64.TryParse(row.Cells[1].Value.ToString(), out valBig))
|
||||
{
|
||||
if (!gen.WriteRegister(row.Cells[0].Value.ToString(), valBig))
|
||||
{
|
||||
MessageBox.Show("Error");
|
||||
MessageBox.Show(@"Error");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("error");
|
||||
MessageBox.Show(@"error");
|
||||
|
||||
}
|
||||
}
|
||||
@ -73,7 +73,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
var retSeri = LocalWebRequest.GetRequest(url, 18000);
|
||||
if (retSeri.Contains("store"))
|
||||
{
|
||||
MessageBox.Show("hat geklappt");
|
||||
MessageBox.Show(@"hat geklappt");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -141,7 +141,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"Slot #{slotNR} failed: {ex.Message}");
|
||||
MessageBox.Show($@"Slot #{slotNR} failed: {ex.Message}");
|
||||
}
|
||||
|
||||
return _currentGenesis.GetPcbId();
|
||||
@ -171,12 +171,12 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
var ret = LocalWebRequest.PostRequestAsync($"http://10.49.40.25/MeterProcessState/api/Order/DeleteCordonelMapping?PcbId={ipcb}", 80000);
|
||||
if (ret)
|
||||
{
|
||||
MessageBox.Show("succeed. mapping is deleted ");
|
||||
MessageBox.Show(@"succeed. mapping is deleted ");
|
||||
btnRemoveSure.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("something went wrong");
|
||||
MessageBox.Show(@"something went wrong");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -196,11 +196,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
var ret = LocalWebRequest.PostRequestAsync("http://10.49.40.25/MeterProcessState/api/ProccesState/SetPressureStateHydralic?PcbId=" + txtHyMapPcb.Text + "&FertigungsauftragsNr=" + txtHyMapOrder.Text, 80000);
|
||||
if (ret)
|
||||
{
|
||||
MessageBox.Show("Erfogreich");
|
||||
MessageBox.Show(@"Erfogreich");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Fehler");
|
||||
MessageBox.Show(@"Fehler");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,11 +65,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
|
||||
if (res)
|
||||
{
|
||||
MessageBox.Show("success");
|
||||
MessageBox.Show(@"success");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("error");
|
||||
MessageBox.Show(@"error");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -193,11 +193,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
_currentGenesis.StoreAllConfigurations();
|
||||
if (success)
|
||||
{
|
||||
MessageBox.Show("success");
|
||||
MessageBox.Show(@"success");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("wrong");
|
||||
MessageBox.Show(@"wrong");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -273,11 +273,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
|
||||
if (success)
|
||||
{
|
||||
MessageBox.Show("success");
|
||||
MessageBox.Show(@"success");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("wrong");
|
||||
MessageBox.Show(@"wrong");
|
||||
}
|
||||
|
||||
dgvRegisterWrite.DataSource = RegistersGernerated;
|
||||
|
||||
@ -241,11 +241,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
File.WriteAllLines(newfilenanme + "H1.csv", listH1.ToArray());
|
||||
File.WriteAllLines(newfilenanme + "H2.csv", listH2.ToArray());
|
||||
File.WriteAllLines(newfilenanme + "H3.csv", listH3.ToArray());
|
||||
MessageBox.Show("done");
|
||||
MessageBox.Show(@"done");
|
||||
}
|
||||
catch (Exception ex )
|
||||
{
|
||||
MessageBox.Show("abspeichern nicht geklappt . ggf. ist die datei noch geöffnet oder wir haben nicht genug rechte");
|
||||
MessageBox.Show(@"abspeichern nicht geklappt . ggf. ist die datei noch geöffnet oder wir haben nicht genug rechte");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
|
||||
if (!string.IsNullOrEmpty(resp))
|
||||
{
|
||||
MessageBox.Show("Hat geklappt");
|
||||
MessageBox.Show(@"Hat geklappt");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -40,7 +40,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
if (!result)
|
||||
{
|
||||
MessageBox.Show("Hat nicht geklappt");
|
||||
MessageBox.Show(@"Hat nicht geklappt");
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"Slot #{slot} failed: {ex.Message}");
|
||||
MessageBox.Show($@"Slot #{slot} failed: {ex.Message}");
|
||||
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"failed: {ex.Message}");
|
||||
MessageBox.Show($@"failed: {ex.Message}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -548,6 +548,7 @@
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmFrozenMeter.resx">
|
||||
<DependentUpon>FrmFrozenMeter.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmHistory.resx">
|
||||
<DependentUpon>FrmHistory.cs</DependentUpon>
|
||||
@ -637,6 +638,7 @@
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmManCalibration.resx">
|
||||
<DependentUpon>FrmManCalibration.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmTempMeter.resx">
|
||||
<DependentUpon>FrmTempMeter.cs</DependentUpon>
|
||||
|
||||
@ -273,7 +273,7 @@ namespace GenesisToolBox
|
||||
if (endTime.HasValue && startTime.HasValue)
|
||||
{
|
||||
var timeMeasurement = (endTime.Value - startTime.Value);
|
||||
MessageBox.Show($"MeasurementBuffered rund for {timeMeasurement}S");
|
||||
MessageBox.Show($@"MeasurementBuffered rund for {timeMeasurement}S");
|
||||
|
||||
foreach (var item in cblSlots.CheckedItems)
|
||||
{
|
||||
@ -283,7 +283,7 @@ namespace GenesisToolBox
|
||||
{
|
||||
var result = ctlBatch.GetResults(slotNr, 0, flowrateRef, timeMeasurement.TotalSeconds);
|
||||
|
||||
MessageBox.Show($"result.DutTimeS = {result.DutTimeS} & result.DutVolumeCm = {result.DutVolumeCm}");
|
||||
MessageBox.Show($@"result.DutTimeS = {result.DutTimeS} & result.DutVolumeCm = {result.DutVolumeCm}");
|
||||
}
|
||||
|
||||
}
|
||||
@ -655,15 +655,15 @@ namespace GenesisToolBox
|
||||
{
|
||||
case XylemCommonUiLegacyGenCtl.DataPackage.PollingAction.IsDone:
|
||||
continueRequesting = false;
|
||||
MessageBox.Show("isDone");
|
||||
MessageBox.Show(@"isDone");
|
||||
break;
|
||||
case XylemCommonUiLegacyGenCtl.DataPackage.PollingAction.IsOnError:
|
||||
continueRequesting = false;
|
||||
MessageBox.Show("IsOnError");
|
||||
MessageBox.Show(@"IsOnError");
|
||||
break;
|
||||
|
||||
case XylemCommonUiLegacyGenCtl.DataPackage.PollingAction.DoFlush:
|
||||
MessageBox.Show("Request flush");
|
||||
MessageBox.Show(@"Request flush");
|
||||
controlPreAdjWr.SetFlushIsDone();
|
||||
break;
|
||||
default:
|
||||
|
||||
126
Common/Ui/GenesisToolBox/frmRegisterStore.Designer.cs
generated
126
Common/Ui/GenesisToolBox/frmRegisterStore.Designer.cs
generated
@ -32,7 +32,7 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.cbComSlot = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnRead = new System.Windows.Forms.Button();
|
||||
this.btnReadRegister = new System.Windows.Forms.Button();
|
||||
this.registerGridView = new System.Windows.Forms.DataGridView();
|
||||
this.btnConnect = new System.Windows.Forms.Button();
|
||||
this.lblState = new System.Windows.Forms.Label();
|
||||
@ -41,19 +41,18 @@
|
||||
this.pnlBussy = new System.Windows.Forms.Panel();
|
||||
this.lblProgress = new System.Windows.Forms.Label();
|
||||
this.lblAction = new System.Windows.Forms.Label();
|
||||
this.probarBussy = new System.Windows.Forms.ProgressBar();
|
||||
this.probarBusy = new System.Windows.Forms.ProgressBar();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.btnReadFwVersions = new System.Windows.Forms.Button();
|
||||
this.btn_CalibrationRestore = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.btnCalibrationRestore = new System.Windows.Forms.Button();
|
||||
this.btnBatteryIdle = new System.Windows.Forms.Button();
|
||||
this.btnSetDefaultPulse = new System.Windows.Forms.Button();
|
||||
this.btnStoreAll = new System.Windows.Forms.Button();
|
||||
this.btnRegisterToFile = new System.Windows.Forms.Button();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.btnBatLife = new System.Windows.Forms.Button();
|
||||
this.btnRadioPressure = new System.Windows.Forms.Button();
|
||||
this.nundCalResultID = new System.Windows.Forms.NumericUpDown();
|
||||
this.btnFingerWeg = new System.Windows.Forms.Button();
|
||||
this.lblGtbVersion = new System.Windows.Forms.Label();
|
||||
this.lblConfigVersion = new System.Windows.Forms.Label();
|
||||
this.btnFileToRegister = new System.Windows.Forms.Button();
|
||||
@ -84,13 +83,13 @@
|
||||
//
|
||||
// btnRead
|
||||
//
|
||||
this.btnRead.Location = new System.Drawing.Point(251, 123);
|
||||
this.btnRead.Name = "btnRead";
|
||||
this.btnRead.Size = new System.Drawing.Size(110, 30);
|
||||
this.btnRead.TabIndex = 2;
|
||||
this.btnRead.Text = "Read Meter";
|
||||
this.btnRead.UseVisualStyleBackColor = true;
|
||||
this.btnRead.Click += new System.EventHandler(this.btnRead_Click);
|
||||
this.btnReadRegister.Location = new System.Drawing.Point(251, 123);
|
||||
this.btnReadRegister.Name = "btnReadRegister";
|
||||
this.btnReadRegister.Size = new System.Drawing.Size(110, 30);
|
||||
this.btnReadRegister.TabIndex = 2;
|
||||
this.btnReadRegister.Text = "Read Meter";
|
||||
this.btnReadRegister.UseVisualStyleBackColor = true;
|
||||
this.btnReadRegister.Click += new System.EventHandler(this.btnRead_Click);
|
||||
//
|
||||
// registerGridView
|
||||
//
|
||||
@ -149,7 +148,7 @@
|
||||
this.pnlBussy.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pnlBussy.Controls.Add(this.lblProgress);
|
||||
this.pnlBussy.Controls.Add(this.lblAction);
|
||||
this.pnlBussy.Controls.Add(this.probarBussy);
|
||||
this.pnlBussy.Controls.Add(this.probarBusy);
|
||||
this.pnlBussy.Controls.Add(this.label3);
|
||||
this.pnlBussy.Location = new System.Drawing.Point(8, 171);
|
||||
this.pnlBussy.Name = "pnlBussy";
|
||||
@ -179,14 +178,14 @@
|
||||
this.lblAction.Size = new System.Drawing.Size(0, 13);
|
||||
this.lblAction.TabIndex = 2;
|
||||
//
|
||||
// probarBussy
|
||||
// probarBusy
|
||||
//
|
||||
this.probarBussy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.probarBusy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.probarBussy.Location = new System.Drawing.Point(12, 286);
|
||||
this.probarBussy.Name = "probarBussy";
|
||||
this.probarBussy.Size = new System.Drawing.Size(779, 23);
|
||||
this.probarBussy.TabIndex = 1;
|
||||
this.probarBusy.Location = new System.Drawing.Point(12, 286);
|
||||
this.probarBusy.Name = "probarBusy";
|
||||
this.probarBusy.Size = new System.Drawing.Size(779, 23);
|
||||
this.probarBusy.TabIndex = 1;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@ -196,9 +195,9 @@
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(240, 270);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(60, 13);
|
||||
this.label3.Size = new System.Drawing.Size(64, 13);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "please wait";
|
||||
this.label3.Text = "Please wait!";
|
||||
//
|
||||
// btnReadFwVersions
|
||||
//
|
||||
@ -210,37 +209,37 @@
|
||||
this.btnReadFwVersions.UseVisualStyleBackColor = true;
|
||||
this.btnReadFwVersions.Click += new System.EventHandler(this.btnReadFwVersions_Click);
|
||||
//
|
||||
// btn_CalibrationRestore
|
||||
// btnCalibrationRestore
|
||||
//
|
||||
this.btn_CalibrationRestore.Location = new System.Drawing.Point(560, 14);
|
||||
this.btn_CalibrationRestore.Name = "btn_CalibrationRestore";
|
||||
this.btn_CalibrationRestore.Size = new System.Drawing.Size(110, 30);
|
||||
this.btn_CalibrationRestore.TabIndex = 58;
|
||||
this.btn_CalibrationRestore.Text = "CalibrationRestore";
|
||||
this.btn_CalibrationRestore.UseVisualStyleBackColor = true;
|
||||
this.btn_CalibrationRestore.Visible = false;
|
||||
this.btn_CalibrationRestore.Click += new System.EventHandler(this.btn_CalibrationRestore_Click);
|
||||
this.btnCalibrationRestore.Location = new System.Drawing.Point(560, 14);
|
||||
this.btnCalibrationRestore.Name = "btnCalibrationRestore";
|
||||
this.btnCalibrationRestore.Size = new System.Drawing.Size(110, 30);
|
||||
this.btnCalibrationRestore.TabIndex = 58;
|
||||
this.btnCalibrationRestore.Text = "CalibrationRestore";
|
||||
this.btnCalibrationRestore.UseVisualStyleBackColor = true;
|
||||
this.btnCalibrationRestore.Visible = false;
|
||||
this.btnCalibrationRestore.Click += new System.EventHandler(this.btnCalibrationRestore_Click);
|
||||
//
|
||||
// button1
|
||||
// btnBatteryIdle
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(399, 87);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(110, 30);
|
||||
this.button1.TabIndex = 60;
|
||||
this.button1.Text = "Battery Idle";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Visible = false;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click_4);
|
||||
this.btnBatteryIdle.Location = new System.Drawing.Point(399, 87);
|
||||
this.btnBatteryIdle.Name = "btnBatteryIdle";
|
||||
this.btnBatteryIdle.Size = new System.Drawing.Size(110, 30);
|
||||
this.btnBatteryIdle.TabIndex = 60;
|
||||
this.btnBatteryIdle.Text = "Battery Idle";
|
||||
this.btnBatteryIdle.UseVisualStyleBackColor = true;
|
||||
this.btnBatteryIdle.Visible = false;
|
||||
this.btnBatteryIdle.Click += new System.EventHandler(this.btnBatteryIdle_Click);
|
||||
//
|
||||
// button2
|
||||
// btnSetDefaultPulse
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(560, 85);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(110, 30);
|
||||
this.button2.TabIndex = 61;
|
||||
this.button2.Text = "Set default Pulse";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click_2);
|
||||
this.btnSetDefaultPulse.Location = new System.Drawing.Point(560, 85);
|
||||
this.btnSetDefaultPulse.Name = "btnSetDefaultPulse";
|
||||
this.btnSetDefaultPulse.Size = new System.Drawing.Size(110, 30);
|
||||
this.btnSetDefaultPulse.TabIndex = 61;
|
||||
this.btnSetDefaultPulse.Text = "Set default Pulse";
|
||||
this.btnSetDefaultPulse.UseVisualStyleBackColor = true;
|
||||
this.btnSetDefaultPulse.Click += new System.EventHandler(this.btnSetDefaultPulse_Click);
|
||||
//
|
||||
// btnStoreAll
|
||||
//
|
||||
@ -300,17 +299,6 @@
|
||||
this.nundCalResultID.TabIndex = 73;
|
||||
this.nundCalResultID.Visible = false;
|
||||
//
|
||||
// btnFingerWeg
|
||||
//
|
||||
this.btnFingerWeg.Location = new System.Drawing.Point(729, 49);
|
||||
this.btnFingerWeg.Name = "btnFingerWeg";
|
||||
this.btnFingerWeg.Size = new System.Drawing.Size(62, 63);
|
||||
this.btnFingerWeg.TabIndex = 74;
|
||||
this.btnFingerWeg.Text = "Do NOT touch! Recalib!";
|
||||
this.btnFingerWeg.UseVisualStyleBackColor = true;
|
||||
this.btnFingerWeg.Visible = false;
|
||||
this.btnFingerWeg.Click += new System.EventHandler(this.FingerWeg_Clicked);
|
||||
//
|
||||
// lblGtbVersion
|
||||
//
|
||||
this.lblGtbVersion.AutoSize = true;
|
||||
@ -359,22 +347,21 @@
|
||||
this.Controls.Add(this.btnFileToRegister);
|
||||
this.Controls.Add(this.lblConfigVersion);
|
||||
this.Controls.Add(this.lblGtbVersion);
|
||||
this.Controls.Add(this.btnFingerWeg);
|
||||
this.Controls.Add(this.nundCalResultID);
|
||||
this.Controls.Add(this.btnRadioPressure);
|
||||
this.Controls.Add(this.btnBatLife);
|
||||
this.Controls.Add(this.btnRegisterToFile);
|
||||
this.Controls.Add(this.btnStoreAll);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.btn_CalibrationRestore);
|
||||
this.Controls.Add(this.btnSetDefaultPulse);
|
||||
this.Controls.Add(this.btnBatteryIdle);
|
||||
this.Controls.Add(this.btnCalibrationRestore);
|
||||
this.Controls.Add(this.btnReadFwVersions);
|
||||
this.Controls.Add(this.pnlBussy);
|
||||
this.Controls.Add(this.btnGetPCbID);
|
||||
this.Controls.Add(this.lblState);
|
||||
this.Controls.Add(this.btnConnect);
|
||||
this.Controls.Add(this.registerGridView);
|
||||
this.Controls.Add(this.btnRead);
|
||||
this.Controls.Add(this.btnReadRegister);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.cbComSlot);
|
||||
this.Name = "FrmRegisterStore";
|
||||
@ -394,7 +381,7 @@
|
||||
|
||||
private System.Windows.Forms.ComboBox cbComSlot;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button btnRead;
|
||||
private System.Windows.Forms.Button btnReadRegister;
|
||||
private System.Windows.Forms.DataGridView registerGridView;
|
||||
private System.Windows.Forms.Button btnConnect;
|
||||
private System.Windows.Forms.Label lblState;
|
||||
@ -403,19 +390,18 @@
|
||||
private System.Windows.Forms.Panel pnlBussy;
|
||||
private System.Windows.Forms.Label lblProgress;
|
||||
private System.Windows.Forms.Label lblAction;
|
||||
private System.Windows.Forms.ProgressBar probarBussy;
|
||||
private System.Windows.Forms.ProgressBar probarBusy;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button btnReadFwVersions;
|
||||
private System.Windows.Forms.Button btn_CalibrationRestore;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button btnCalibrationRestore;
|
||||
private System.Windows.Forms.Button btnBatteryIdle;
|
||||
private System.Windows.Forms.Button btnSetDefaultPulse;
|
||||
private System.Windows.Forms.Button btnStoreAll;
|
||||
private System.Windows.Forms.Button btnRegisterToFile;
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private System.Windows.Forms.Button btnBatLife;
|
||||
private System.Windows.Forms.Button btnRadioPressure;
|
||||
private System.Windows.Forms.NumericUpDown nundCalResultID;
|
||||
private System.Windows.Forms.Button btnFingerWeg;
|
||||
private System.Windows.Forms.Label lblGtbVersion;
|
||||
private System.Windows.Forms.Label lblConfigVersion;
|
||||
private System.Windows.Forms.Button btnFileToRegister;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -66,7 +66,7 @@ namespace XylemCommonUiLegacyGenCtl
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show($"FATAL Ctor {ex.Message}");
|
||||
MessageBox.Show($@"FATAL Ctor {ex.Message}");
|
||||
}
|
||||
|
||||
|
||||
@ -235,7 +235,7 @@ namespace XylemCommonUiLegacyGenCtl
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Fatal(ex);
|
||||
MessageBox.Show($"FATAL internalPrep {ex.Message}");
|
||||
MessageBox.Show($@"FATAL internalPrep {ex.Message}");
|
||||
}
|
||||
}
|
||||
public void PrepareAction(Int32 slotCount, String cultureStr)
|
||||
@ -253,7 +253,7 @@ namespace XylemCommonUiLegacyGenCtl
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Fatal(ex);
|
||||
MessageBox.Show($"FATAL EnableMeter {ex.Message}");
|
||||
MessageBox.Show($@"FATAL EnableMeter {ex.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
@ -416,7 +416,7 @@ namespace XylemCommonUiLegacyGenCtl
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Fatal(ex);
|
||||
MessageBox.Show($"FATAL Start Action {ex.Message}");
|
||||
MessageBox.Show($@"FATAL Start Action {ex.Message}");
|
||||
pollingAction = PollingAction.IsOnError;
|
||||
}
|
||||
finally
|
||||
|
||||
Loading…
Reference in New Issue
Block a user