CUST: - added meterProcessState prj, - removed copy configuration.json
This commit is contained in:
@@ -4528,8 +4528,10 @@ namespace Xylem.ServiceFwUpdate.Ui.ServiceFwUpdateSw
|
||||
InfoProcessActive(lblLutFileCheck, Resources.StrLutFileRestoreActive, false);
|
||||
|
||||
//1. If InstalledFwVersion is below 1.2.xxx a LUT file is NOT required
|
||||
if ((_currentGenesis.Region == "EMEA" && _currentGenesis.InstalledFwVersion < MeterLutUpdate.EmeaFwThresholdForLutFile) ||
|
||||
(_currentGenesis.Region == "NA" && _currentGenesis.InstalledFwVersion < MeterLutUpdate.NaFwThresholdForLutFile))
|
||||
if ((_currentGenesis.Region == "EMEA"
|
||||
&& _currentGenesis.InstalledFwVersion < MeterLutUpdate.EmeaFwThresholdForLutFile) ||
|
||||
(_currentGenesis.Region == "NA"
|
||||
&& _currentGenesis.InstalledFwVersion < MeterLutUpdate.NaFwThresholdForLutFile))
|
||||
{
|
||||
InfoProcessSuccess(lblLutFileCheck, Resources.StrLutFileNotNeeded);
|
||||
_processState = successExitState;
|
||||
@@ -4537,8 +4539,10 @@ namespace Xylem.ServiceFwUpdate.Ui.ServiceFwUpdateSw
|
||||
}
|
||||
|
||||
// 2. LUT file is needed but invalid indicated by CRC or cannot be observed in file list
|
||||
if ((!string.IsNullOrEmpty(_currentGenesis.LutCrc) && _currentGenesis.LutCrc.Contains(MeterLutFile.StrLutFileInvalidCrc))
|
||||
|| (_readMeterFiles != null && !_readMeterFiles.Any(f => f.Contains(MeterLutFile.StrLutMeterFileName))))
|
||||
if ( (!string.IsNullOrEmpty(_currentGenesis.LutCrc)
|
||||
&& _currentGenesis.LutCrc.Contains(MeterLutFile.StrLutFileInvalidCrc))
|
||||
|| (_readMeterFiles != null
|
||||
&& !_readMeterFiles.Any(f => f.Contains(MeterLutFile.StrLutMeterFileName))))
|
||||
{
|
||||
InfoProcessFailed(lblLutFileCheck, Resources.StrLutFileNotInstalled);
|
||||
_processState = errorExitState;
|
||||
|
||||
Reference in New Issue
Block a user