requirements class addded, todo: get pwd order nr
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json;
|
||||
using Common.Logic.Extensions.SQL;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
@@ -345,6 +346,16 @@ namespace Xylem.Common.Service.MeterProcessState.Controllers
|
||||
|
||||
private MeterPw getKeys(String Token, String orderNumber, String radioAdress)
|
||||
{
|
||||
//var _orderNumber = SQLConnection
|
||||
// .CreateSQLConnection(GlobalConfig.connectionString.Value)
|
||||
// .CreateCommand("SELECT orderNumber FROM Genesis_PcbPassword WHERE radioAdress = @radioAdress")
|
||||
// .SetParameter(nameof(radioAdress), radioAdress)
|
||||
// .FirstOrDefault(x => x.GetValue<string>(0));
|
||||
|
||||
//if (!string.IsNullOrWhiteSpace(_orderNumber) && orderNumber != _orderNumber)
|
||||
//{
|
||||
// orderNumber = _orderNumber;
|
||||
//}
|
||||
|
||||
ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user