GenesisCore/Registers: - default registers added
This commit is contained in:
@@ -277,7 +277,7 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile
|
||||
}
|
||||
if (genesisMeter.MeterAppListVersion.Any(f => f.AppName == "METROLOGYASST" && f.IsInstalled))
|
||||
{
|
||||
_registersBeforeUpdate.Add(Register.Mertrologyasst.PulseMode, new Byte[] { 0 });
|
||||
_registersBeforeUpdate.Add(Register.Metrologyasst.PulseMode, new Byte[] { 0 });
|
||||
}
|
||||
//deny access if NA product, because this does not have the radio app installed
|
||||
if (genesisMeter.MeterAppListVersion.Any(f => f.AppName == "SENSUSRADIO" && f.IsInstalled))
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile
|
||||
_registersBeforeUpdate.Add(Register.Genesisflow.SampleRate, new Byte[] { 1 });
|
||||
}
|
||||
if (genesisMeter.MeterAppListVersion.Any(f => f.AppName == "METROLOGYASST" && f.IsInstalled))
|
||||
_registersBeforeUpdate.Add(Register.Mertrologyasst.PulseMode, new Byte[] { 0 });
|
||||
_registersBeforeUpdate.Add(Register.Metrologyasst.PulseMode, new Byte[] { 0 });
|
||||
//deny access if NA product, because this does not have the radio app installed
|
||||
if (genesisMeter.MeterAppListVersion.Any(f => f.AppName == "SENSUSRADIO" && f.IsInstalled))
|
||||
_registersBeforeUpdate.Add(Register.Sensusradio.WakeupInterval, new Byte[] { 6 });
|
||||
|
||||
@@ -79,7 +79,6 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
public static readonly String FirstHitLvlUp2 = "GENESISFLOW_FirstHitLvlUp2";
|
||||
public static readonly String FirstHitLvlUp3 = "GENESISFLOW_FirstHitLvlUp3";
|
||||
public static readonly String StartHit = "GENESISFLOW_StartHit";
|
||||
|
||||
public static readonly String NumFirePulses = "GENESISFLOW_NumFirePulses";
|
||||
public static readonly String LookupFileCrc = "GENESISFLOW_LookupFileCrc";
|
||||
|
||||
@@ -92,6 +91,7 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
public static readonly String BatteryDrainedLoad = "POWERMON_TotalUsedCharge";
|
||||
public static readonly String BatteryInitialLoad = "POWERMON_BatteryMilliAHrRating";
|
||||
public static readonly String BatteryExceededSeconds = "POWERMON_TotalUsedSeconds";
|
||||
public static readonly String StoreConfiguration = "POWERMON_StoreConfiguration";
|
||||
}
|
||||
|
||||
|
||||
@@ -100,9 +100,10 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
public static readonly String FrequencyIndicator = "SENSUSRADIO_FrequencyIndicator";
|
||||
public static readonly String WakeupInterval = "SENSUSRADIO_WakeupInterval";
|
||||
public static readonly String SystemState = "SENSUSRADIO_SystemState";
|
||||
public static readonly String StoreConfiguration = "SENSUSRADIO_StoreConfiguration";
|
||||
}
|
||||
|
||||
public static class Mertrologyasst
|
||||
public static class Metrologyasst
|
||||
{
|
||||
public static readonly String PulseMode = "METROLOGYASST_PulseMode";
|
||||
public static readonly String StoreConfiguration = "METROLOGYASST_StoreConfiguration";
|
||||
@@ -112,6 +113,10 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
{
|
||||
public static readonly String StoreConfiguration = "IRDA_StoreConfiguration";
|
||||
}
|
||||
public static class Logger
|
||||
{
|
||||
public static readonly String StoreConfiguration = "LOGGER_StoreConfiguration";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -119,6 +124,24 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
{
|
||||
return new List<String>()
|
||||
{
|
||||
System.CheckFwPresence,
|
||||
System.CheckFwCrc,
|
||||
System.TriggerFwUpgrade,
|
||||
System.CoreRevision,
|
||||
System.MonotonicSeconds,
|
||||
System.MetrologyUpgradePermission,
|
||||
|
||||
Customer.AlarmStatus0,
|
||||
Customer.AlarmStatus1,
|
||||
Customer.TriggerAlarmCancel,
|
||||
Customer.AlarmStatus2,
|
||||
Customer.AlarmStatus3,
|
||||
Customer.AlarmStatus4,
|
||||
Customer.AlarmStatus5,
|
||||
Customer.AlarmStatus6,
|
||||
Customer.AlarmStatus7,
|
||||
Customer.StoreConfiguration,
|
||||
|
||||
Configexchange.Privilege,
|
||||
Configexchange.Password,
|
||||
Configexchange.PcbSerialNumber,
|
||||
@@ -131,13 +154,6 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
Configexchange.SetFilePointerOffset,
|
||||
Configexchange.FileRemove,
|
||||
|
||||
System.CheckFwPresence,
|
||||
System.CheckFwCrc,
|
||||
System.TriggerFwUpgrade,
|
||||
System.CoreRevision,
|
||||
System.MonotonicSeconds,
|
||||
System.MetrologyUpgradePermission,
|
||||
|
||||
Genesisflow.TriggerActive,
|
||||
Genesisflow.TriggerIdle,
|
||||
Genesisflow.LedMode,
|
||||
@@ -145,10 +161,26 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
|
||||
Genesisflow.MeterSize,
|
||||
Genesisflow.LookupFileCrc,
|
||||
Genesisflow.StoreCalibration,
|
||||
Genesisflow.StoreConfiguration,
|
||||
|
||||
Powermon.BatteryVoltage,
|
||||
Powermon.BatteryQuantity,
|
||||
Powermon.BatteryDrainedLoad,
|
||||
Powermon.BatteryInitialLoad,
|
||||
Powermon.BatteryExceededSeconds,
|
||||
Powermon.StoreConfiguration,
|
||||
|
||||
Sensusradio.WakeupInterval,
|
||||
Sensusradio.FrequencyIndicator,
|
||||
Sensusradio.SystemState
|
||||
Sensusradio.SystemState,
|
||||
Sensusradio.StoreConfiguration,
|
||||
|
||||
Metrologyasst.PulseMode,
|
||||
Metrologyasst.StoreConfiguration,
|
||||
|
||||
Irda.StoreConfiguration,
|
||||
|
||||
Logger.StoreConfiguration
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user