diff --git a/LaaProductionWeb/Data/LaaProduction.Data.Cordonel/Repositories/EOLProgressRepository.cs b/LaaProductionWeb/Data/LaaProduction.Data.Cordonel/Repositories/EOLProgressRepository.cs index 64527faf..66ebf109 100644 --- a/LaaProductionWeb/Data/LaaProduction.Data.Cordonel/Repositories/EOLProgressRepository.cs +++ b/LaaProductionWeb/Data/LaaProduction.Data.Cordonel/Repositories/EOLProgressRepository.cs @@ -394,15 +394,13 @@ if (eolModel.ProductionStatusLutCrc != EOLStatus.NA) { - if (UInt16.TryParse(lutCrcString, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var lutCRCValue)) + if (UInt16.TryParse(lutCrcString, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var lutCRCRequirement)) { - var lutCRCRegister = appsDictionary[Apps.GENESISFLOW][GENESISFLOW.LookupFileCrc]; + var lutCRCRegister = appsDictionary[Apps.GENESISFLOW][GENESISFLOW.LookupFileCrc].GetValue(); - if (!lutCRCRegister.IsEquals(lutCRCValue)) + if (lutCRCRegister != lutCRCRequirement) { - var registerLutCrc = lutCRCRegister.GetValue(); - - yield return new KeyValuePair(pcbidString, $"LUT CRC ambiguous between {requiremetLutCrc}(requirement) and 0x{registerLutCrc:X2}(register)."); + yield return new KeyValuePair(pcbidString, $"LUT CRC ambiguous between {lutCRCRequirement:X2}(requirement) and 0x{lutCRCRegister:X2}(register)."); yield break; } } diff --git a/LaaProductionWeb/LaaPackages b/LaaProductionWeb/LaaPackages index 0bd11ec9..d65271d3 160000 --- a/LaaProductionWeb/LaaPackages +++ b/LaaProductionWeb/LaaPackages @@ -1 +1 @@ -Subproject commit 0bd11ec9087e6fa3a47cb0d3e65af2846c184b1b +Subproject commit d65271d306099eca5e37c68e8dc5e2295acb2771