ProductionUiCordonel: - serial port dispose
This commit is contained in:
Binary file not shown.
Binary file not shown.
+4
-1
@@ -588,11 +588,14 @@ namespace Xylem.Common.Production.ProductionUiCordonel.ProductionProcesses
|
||||
/// <remarks date="2024-Jul-15" author="Thomas Wiedebusch">
|
||||
/// - Handle genesis meter is null as new meter.
|
||||
/// </remarks>
|
||||
/// <remarks date="2025-Mai-12" author="Thomas Wiedebusch">
|
||||
/// - Check _genesisMeter not null before equality with old pcbid.
|
||||
/// </remarks>
|
||||
private Boolean CheckForNewMeter()
|
||||
{
|
||||
if (_genesisMeter == null ||
|
||||
(!string.IsNullOrEmpty(_lastPcbId) &&
|
||||
!_genesisMeter.PcbId.Equals(_lastPcbId)))
|
||||
_genesisMeter != null && !_genesisMeter.PcbId.Equals(_lastPcbId)))
|
||||
{
|
||||
// This loop will be entered after the meter has changed, but not on the initial meter
|
||||
// after program start.
|
||||
|
||||
Reference in New Issue
Block a user