This commit is contained in:
Roland Drabesch 2022-11-30 09:36:31 +01:00
parent 2325046e07
commit 2e27eaeb35
5 changed files with 16 additions and 2 deletions

View File

@ -155,7 +155,7 @@
</site>
<site name="MeterProcessState" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="D:\Projekte\SENSUS_GitLab\laa_production\Common\Service\MeterProcessState" />
<virtualDirectory path="/" physicalPath="C:\Users\drabesch_ro\Repo\lab\la_operations\laa_production\Common\Service\MeterProcessState" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:56011:localhost" />

View File

@ -605,8 +605,16 @@ namespace Xylem.Common.Hardware.Interfaces.Ports.SerialPorts
if (_serialPort.IsOpen)
{
_serialPort.Close();
if (_serialPort.IsOpen)
{
_byteDataLogger.Info($"{Ident} Port close delay!");
Thread.Sleep(50);
_serialPort.Close();
}
_serialPort.Dispose();
_byteDataLogger.Info($"{Ident} Port is closed");
}
}
}

View File

@ -1 +1 @@
1a3d4919c9c702245832d925951f2b7cb72fc333
5ed75d99ee45ff67821090f1b3dbb001dd9e4fe3

View File

@ -387,6 +387,7 @@
this.rbtProd.TabStop = true;
this.rbtProd.Text = "Prod Database";
this.rbtProd.UseVisualStyleBackColor = true;
this.rbtProd.CheckedChanged += new System.EventHandler(this.rbtProd_CheckedChanged);
this.rbtProd.Click += new System.EventHandler(this.SwitchView);
//
// cbxDbLuts

View File

@ -810,6 +810,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
_resetTimeMeasurement = true;
}
}
private void rbtProd_CheckedChanged(Object sender, EventArgs e)
{
}
}
}