GTB: - message if 'offline pwd' used
This commit is contained in:
@@ -106,7 +106,12 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
lblConnectPcb.Text = StrNotConnected;
|
||||
lblConnectPcb.ForeColor = Color.Red;
|
||||
lblWaitingForMeterResponse.Visible = false;
|
||||
|
||||
tbxDateTime.Text = "";
|
||||
tbxMeterFw.Text = "";
|
||||
tbxMeterLutCrc.Text = "";
|
||||
tbxMeterMeterSize.Text = "";
|
||||
tbxRadio.Text = "";
|
||||
tbxRegion.Text = "";
|
||||
SetCordonelAccessLocked();
|
||||
tbxPcbId.Visible = false;
|
||||
btnConnect.Focus();
|
||||
@@ -329,7 +334,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
string.IsNullOrEmpty(pwdContainer.Skeleton)))
|
||||
{
|
||||
LowLevelActionControl(false);
|
||||
LogErrorText("ERROR: Login failed and passwords cannot be acquired from the database!");
|
||||
if (!_currentGenesis.UseOfflinePasswords)
|
||||
LogErrorText("ERROR: Login failed and passwords cannot be acquired from the database!");
|
||||
else
|
||||
LogErrorText("ERROR: Login with 'offline password' failed!");
|
||||
|
||||
LogText(StrSeparator);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user