This commit is contained in:
Stoyan Zlatev
2024-08-07 08:05:31 +02:00
2 changed files with 3 additions and 2 deletions
@@ -37,6 +37,7 @@ namespace Xylem.Common.CommonCore.Configuration
"http://sla12iis01.emea.sensus.net/MeterProcessState/api/ProccesState/GetProductionSkipAndLifeTimeInfo?PcbId="; "http://sla12iis01.emea.sensus.net/MeterProcessState/api/ProccesState/GetProductionSkipAndLifeTimeInfo?PcbId=";
private const String DefaultGetCordonelAppVersionServiceUrl = private const String DefaultGetCordonelAppVersionServiceUrl =
//"http://localhost:56011/api/ProccesState/GetCordonelAppVersion?PcbId=";
"http://sla12iis01.emea.sensus.net/MeterProcessState/api/ProccesState/GetCordonelAppVersion?PcbId="; "http://sla12iis01.emea.sensus.net/MeterProcessState/api/ProccesState/GetCordonelAppVersion?PcbId=";
private const String DefaultListAllCordonelCustomersWithFilterServiceUrl = private const String DefaultListAllCordonelCustomersWithFilterServiceUrl =
@@ -629,9 +629,9 @@ namespace Service.MeterProcessState.Controllers
.SetParameter(nameof(PcbId), PcbId) .SetParameter(nameof(PcbId), PcbId)
.ExecuteReader(x => new .ExecuteReader(x => new
{ {
AppId = x.GetValue<Int32>(0), Id = x.GetValue<Int32>(0),
Version = x.GetValue<String>(1), Version = x.GetValue<String>(1),
IsUpdatable = x.GetValue<Boolean>(2) IsUpdateable = x.GetValue<Boolean>(2)
}); });
return this.Request.CreateResponse(HttpStatusCode.OK, apps); return this.Request.CreateResponse(HttpStatusCode.OK, apps);