ProductionUiCordonel: - Accu reset: - Backup sealing state as for the NA region it may be unsealed
This commit is contained in:
parent
5cd09f1094
commit
0c86c58f4e
@ -13,4 +13,4 @@ using System.Reflection;
|
||||
//
|
||||
//[assembly: AssemblyVersion("1.2.*.0")]
|
||||
|
||||
[assembly: AssemblyVersion("2.8.6.*")]
|
||||
[assembly: AssemblyVersion("2.8.5.*")]
|
||||
|
||||
Binary file not shown.
@ -183,6 +183,10 @@ namespace Xylem.Common.Production.ProductionUiCordonel.ProductionProcesses.EolPr
|
||||
while (retryCtr-- > 0 &&
|
||||
(readBackScaledBilling != 0 || readBackUnscaledFwd != 0 || readBackUnscaledRev != 0))
|
||||
{
|
||||
// Backup sealing state as for the NA region it may be unsealed
|
||||
var displaySealingState =
|
||||
RegisterConverter.ByteArrayToValue<Byte>(Meter.ReadRegister("GENESISFLOW_SealDisplay"));
|
||||
|
||||
// Unseal accumulator reset capability
|
||||
retValBol = WriteRegisterLogAndProcessCtr(new ProgrammingParameters("GENESISFLOW_SealDisplay",
|
||||
new Byte[] { 0x00 }, ProgrammingSource.ProgramInternal));
|
||||
@ -201,7 +205,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel.ProductionProcesses.EolPr
|
||||
// Seal accumulator reset capability
|
||||
// ReSharper disable once RedundantAssignment as it is used for DEBUG
|
||||
retValBol &= WriteRegisterLogAndProcessCtr(new ProgrammingParameters("GENESISFLOW_SealDisplay",
|
||||
new Byte[] { 0x01 }, ProgrammingSource.ProgramInternal));
|
||||
new[] { displaySealingState }, ProgrammingSource.ProgramInternal));
|
||||
|
||||
WarningMsgDispatcher(Resources.StrWarningMsgRepeatedAccumulatorReset);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user