FrmLutUpdate: - [Clear Display] locked if not connented
This commit is contained in:
@@ -9,6 +9,7 @@ using System.Linq;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using System.Security.Authentication;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -944,6 +945,9 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
|
||||
/// <remarks date="2022-Nov-02" author="T.Wiedebusch">
|
||||
/// - PcbId handling improved.
|
||||
/// </remarks>
|
||||
/// <remarks date="2022-Dec-12" author="T.Wiedebusch">
|
||||
/// - PcbId unknown returns immediately.
|
||||
/// </remarks>
|
||||
private String GetPassword()
|
||||
{
|
||||
var url = ServiceUrls.GenesisGetPasswordServiceUrl();
|
||||
@@ -954,7 +958,8 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
|
||||
if (string.IsNullOrEmpty(PcbId))
|
||||
{
|
||||
//GetPcbId fills the PsbId property
|
||||
GetPcbId();
|
||||
if (string.IsNullOrEmpty(GetPcbId()))
|
||||
return "";
|
||||
}
|
||||
|
||||
url += PcbId;
|
||||
|
||||
Reference in New Issue
Block a user