IGenesisMeter, new GenesisStatus
This commit is contained in:
@@ -9,7 +9,10 @@ namespace Xylem.Common.CommonCore.Configuration
|
||||
/// </summary>
|
||||
public static class ServiceUrls
|
||||
{
|
||||
|
||||
|
||||
private const String DefaultInspectCordonelRequirementInfoUrl =
|
||||
"http://sla12iis01.emea.sensus.net/LaaProductionWeb/";
|
||||
|
||||
// return code: 404 not found, 400 Error with text, 200 okay
|
||||
private const String DefaultEolDataForSentinelServiceUrl =
|
||||
"http://sla12iis01.emea.sensus.net/LaaProductionWeb/api/cordonel/eolprogress/";
|
||||
@@ -143,6 +146,9 @@ namespace Xylem.Common.CommonCore.Configuration
|
||||
private const String DefaultGenesisCalibrationResult =
|
||||
"http://sla12iis01.emea.sensus.net/MeterProcessState/api/GenesisMeter/PostCalibrationResult";
|
||||
|
||||
private const String DefaultGetGenesisCalibrationResults =
|
||||
"http://sla12iis01.emea.sensus.net/MeterProcessState/api/FinalCheck/CalibrationResults/";
|
||||
|
||||
private const String DefaultGenesisMeter =
|
||||
"http://sla12iis01.emea.sensus.net/MeterProcessState/api/GenesisMeter/";
|
||||
|
||||
@@ -390,6 +396,16 @@ namespace Xylem.Common.CommonCore.Configuration
|
||||
DefaultSetCordonelAppVersionServiceUrl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Inspect a specific requirement (read only).
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static String InspectCordonelRequirementInfoServiceUrl()
|
||||
{
|
||||
return ConfigurationManager.AppSettings["InspectCordonelRequirementInfoServiceUrl"] ??
|
||||
DefaultInspectCordonelRequirementInfoUrl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get all production infos for skip process checks or limits for production like:
|
||||
/// - Battery drained percentage upper limit,
|
||||
@@ -716,6 +732,16 @@ namespace Xylem.Common.CommonCore.Configuration
|
||||
DefaultGetSoftwareStartUpAccessUrl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get Genesis calibration results for final check if those have been correctly set
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static String GetGenesisCalibrationResultsUrl()
|
||||
{
|
||||
return ConfigurationManager.AppSettings["GetGenesisCalibrationResults"] ??
|
||||
DefaultGetGenesisCalibrationResults;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Post Genesis calibration results
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user