CommonCore: - Constants for inter-program communication introduced

This commit is contained in:
Thomas Wiedebusch
2023-02-18 10:09:12 +01:00
parent 4f2fc66ef2
commit 8aaeb27f17
16 changed files with 165 additions and 110 deletions
@@ -7,6 +7,7 @@ using Logic.ProductionToProductMapper.Cordonel;
using Logic.ProductionToProductMapper.Files.Fw;
using Newtonsoft.Json;
using Xylem.Common.CommonCore.Configuration;
using Xylem.Common.CommonCore.Consts;
using Xylem.Common.Cryptology.Security;
using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisPwd;
using Xylem.Common.Logic.ProductionOrderCore.FW;
@@ -674,11 +675,11 @@ namespace Xylem.ServiceFwUpdate.Common.FwUpdateDb
/// <remarks date="2021-Mar-31" author="Thomas Wiedebusch">
/// - Initial.
/// </remarks>
public Boolean GetAllCordonelCustomersFromDb(String searchPattern = "*")
public Boolean GetAllCordonelCustomersFromDb(String searchPattern = Constants.StrWildcard)
{
// for the DB interface a specific search pattern will be used, so replace it from the user interface
// as there is a "*" the placeholder for "all".
searchPattern = searchPattern.Replace("*", "%");
// as there is a Constants.StrWildcard the placeholder for "all".
searchPattern = searchPattern.Replace(Constants.StrWildcard, "%");
if (DbSearchedCordonelCustomers == null)
DbSearchedCordonelCustomers = new List<CordonelCustomerInfosDb>();
DbSearchedCordonelCustomers.Clear();
@@ -87,6 +87,10 @@
<Project>{9eb1f659-6f73-4f65-bcab-4114fd94f5fc}</Project>
<Name>CommonCore.Configuration</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Common\CommonCore\CommonCore.csproj">
<Project>{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}</Project>
<Name>CommonCore</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Common\Cryptology\Security\Cryptology.csproj">
<Project>{A25A96FD-604B-43BE-80CD-A953152C2175}</Project>
<Name>Cryptology</Name>