Comments, removed unused usings

This commit is contained in:
Thomas Wiedebusch
2025-09-01 12:53:00 +02:00
parent d7f11e65cc
commit 76747d71a8
7 changed files with 21 additions and 11 deletions
@@ -30,7 +30,7 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.Consts
METROLOGY_PARAMS = 1 << 14, //Bit 14
METROLOGY_MEASURE = 1 << 15, //Bit 15
ALL = 0xFFFFFF,
ALL = 0x7FFFFFFF //enum is defined as Int32
#pragma warning restore CS1591
// ReSharper restore InconsistentNaming
}
@@ -50,7 +50,6 @@ using Xylem.Common.Metrology.Measurements.Consts;
using Xylem.Common.Utils.Logging;
using Access = Xylem.Common.Hardware.WaterMeter.Genesis.Registers.Access;
using Timer = System.Timers.Timer;
using System.Runtime.ConstrainedExecution;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
{
@@ -2081,6 +2080,8 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
return fullAlarm;
}
/// <inheritdoc/>
public void ClearAlarm()
{
var beforeCancelAlarmEnableMask = RegisterConverter.ByteArrayToValue<UInt32>(ReadRegister("CUSTOMER_AlarmEnableMask"));
@@ -2895,6 +2896,12 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
}
}
/// <summary>
/// Dummy
/// </summary>
/// <remarks date="???" author="Roland Drabesch">
/// - Initial.
/// </remarks>
public void BuildAndCheckCalibFactorsAllChannels(Double refVolumeCm, Double? refTimeS = null, Double reqDeviationPercent = 0, Double maxCalibFactorTolerancePercent = 0)
{
throw new NotImplementedException();
@@ -265,6 +265,13 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
/// <returns>value as byte array in raw format or null</returns>
Byte[] ReadRegister(String regName, Int32? expectedLength = null,
UInt16 skipRetryErrorCode = CommunicationConfig.SkipRetryErrorCode);
/// <summary>
/// Clear all pending alarms.
/// </summary>
/// <remarks date="2025-Aug-26" author="Roland Drabesch">
/// - Initial.
/// </remarks>
void ClearAlarm();
#endregion
@@ -1 +1 @@
89102b0142e574de38a9f47d370f3334e5e6c268
8cb55c312de586b683d72cf58c13e2801d10e14b767777d98338d3e1473a1213