using System; using System.Configuration; namespace Xylem.Common.CommonCore.Configuration { /// /// Urls for data base accesses /// public static class ServiceUrls { //#if URI_OLD_DNS // this is defined in build configuration 'VPN_Debug' as the new DNS cannot be reached via VPN // private const String ServerDns = "http://sla12iis01.emea.sensus.net"; // private const String ProductionUiServerDns = "http://sla12iis01.emea.sensus.net"; //#else private const String ServerDns = "http://delaz1web01.world.fluidtechnology.net"; private const String ProductionUiServerDns = "http://delaz1web01.world.fluidtechnology.net/LaaProductionWeb"; //#endif private static readonly String DefaultInspectCordonelRequirementInfoUrl = $"{ProductionUiServerDns}/"; // return code: 404 not found, 400 Error with text, 200 okay private static readonly String DefaultEolDataForSentinelServiceUrl = $"{ProductionUiServerDns}/api/cordonel/eolprogress/"; private static readonly String DefaultGetPcbIdsFromSafeServiceUrl = $"{ServerDns}/MeterProcessState/GetPcbIdsFromSafe?ContainerDbId="; private static readonly String DefaultGetExportDataServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/GetExportData?PcbId="; private static readonly String DefaultGetCordonelMappingServiceUrl = $"{ServerDns}/MeterProcessState/api/Order/GetCordonelMapping?PcbId="; private static readonly String DefaultAddPcbIdsToSafeServiceUrl = $"{ServerDns}/MeterProcessState/AddPcbIdsToSafe?ContainerDbId="; private static readonly String DefaultGetOrderOverviewServiceUrl = $"{ServerDns}/MeterProcessState/api/FinalCheck/GetOrderOverview?ProductionOrderNumber="; private static readonly String DefaultGetOrderDetailsServiceUrl = $"{ServerDns}/MeterProcessState/api/FinalCheck/GetOrderDetails?ProductionOrderNumber="; private static readonly String DefaultDownloadFilesPartsServiceUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetFileParts?ParentFileId="; private static readonly String DefaultGetLutUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetLutFiles"; private static readonly String DefaultListAllFwPackagesServiceUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetFwFiles?FileIsForDeveloperOnly=false&FileCategoryID=1"; private static readonly String DefaultListAllSwPackagesServiceUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetFwFiles?FileIsForDeveloperOnly=false&FileCategoryID=5"; private static readonly String DefaultListAllConfigFilePackagesServiceUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetFwFiles?FileIsForDeveloperOnly=false&FileCategoryID=6"; private static readonly String DefaultListAllFwUpdateSafesServiceUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetFwFiles?FileIsForDeveloperOnly=false&FileCategoryID=4"; private static readonly String DefaultSetCordonelAppVersionServiceUrl = $"{ServerDns}/MeterProcessState/api/ProccesState/SetCordonelProgress?PcbId="; private static readonly String DefaultGetCordonelRequirementInfoUrl = $"{ProductionUiServerDns}/api/cordonel/requirements/pcbid/"; private static readonly String DefaultGetCordonelAppVersionServiceUrl = $"{ServerDns}/MeterProcessState/api/ProccesState/GetCordonelAppVersion?PcbId="; private static readonly String DefaultListAllCordonelCustomersWithFilterServiceUrl = $"{ServerDns}/MeterProcessState/api/Order/GetCordonelCustomers?FilterName="; private static readonly String DefaultListAllCordonelCustomerOrdersServiceUrl = $"{ServerDns}/MeterProcessState/api/Order/GetCustomersCordonelOrders?CustomerNumber="; private static readonly String DefaultListCordonelOrderDetailsServiceUrl = $"{ServerDns}/MeterProcessState/api/Order/GetCordonelOrderDetails?OrderNr="; private static readonly String DefaultListAllOrderCordonelsServiceUrl = $"{ServerDns}/MeterProcessState/api/Order/GetCordonelOrderList?CustomerOrderNumber="; private static readonly String DefaultDownloadFwUpdateSafeServiceUrl = $"{ServerDns}/MeterProcessState/GetFWUpdateSafeContainerContent?SafeContainerId="; private static readonly String DefaultListAllFwUpdateSafesForUserServiceUrl = $"{ServerDns}/MeterProcessState/GetFWUpdateSafeContainers?UserId="; private static readonly String DefaultFileContentDownloadServiceUrl = $"{ServerDns}/MeterProcessState/GetFileContent?FileId="; private static readonly String DefaultFwUpdateReportUploadServiceUrl = $"{ServerDns}/MeterProcessState/PostFWUpdateReportFile"; private static readonly String DefaultFwUpdateReportDownloadServiceUrl = $"{ServerDns}/MeterProcessState/GetFWUpdateReportFile?"; private static readonly String DefaultFwUpdateSafeContainerUploadServiceUrl = $"{ServerDns}/MeterProcessState/PostFWUpdateSafeOdd"; private static readonly String DefaultEditFwUpdateUserValidityServiceUrl = $"{ServerDns}/MeterProcessState/EditUserValidity?Id="; private static readonly String DefaultRefreshFwUpdateUsersHardwareIdServiceUrl = $"{ServerDns}/MeterProcessState/RefreshUsersHardwareId?Id="; private static readonly String DefaultRefreshFwUpdateUsersPasswordHashServiceUrl = $"{ServerDns}/MeterProcessState/RefreshUsersPasswordHash?Id="; private static readonly String DefaultCreateNewFwUpdateUserServiceUrl = $"{ServerDns}/MeterProcessState/AddNewUser?"; private static readonly String DefaultListAllFwUpdateUsersServiceUrl = $"{ServerDns}/MeterProcessState/GetUserList"; private static readonly String DefaultListAllFwUpdateBuilderOperatorsServiceUrl = $"{ServerDns}/MeterProcessState/GetAllBuilderOperator"; private static readonly String DefaultGetFwUpdateUserByIdServiceUrl = $"{ServerDns}/MeterProcessState/GetUserList?Id="; private static readonly String DefaultGetFwUpdateUserByLoginNameServiceUrl = $"{ServerDns}/MeterProcessState/GetUserList?LogInName="; private static readonly String DefaultRegisterWatchServiceUrl = $"{ServerDns}/MeterProcessState/api/RegisterWatch/"; private static readonly String DefaultGenesisGetOrderNumberServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/ordernumber?PcbId="; private static readonly String DefaultGenesisGetRadioAddressServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/radioadress?PcbId="; private static readonly String DefaultGenesisGetKeySetIdServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/getkeysetid?PcbId="; private static readonly String DefaultGenesisSetPickingStateServiceUrl = $"{ServerDns}/MeterProcessState/api/ProccesState/SetPickingState?PcbID="; private static readonly String DefaultGenesisGetPasswordServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/GetPassword?PcbId="; private static readonly String DefaultGenesisSetPasswordServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/setpassword?PcbId="; private static readonly String DefaultGenesisPasswordContainerServiceUrl = $"{ServerDns}/MeterProcessState/api/Password/GetPasswordHashFileContent?PcbId="; private static readonly String DefaultMarriageServiceUrl = $"{ServerDns}/MeterProcessState/api/Marriage/"; private static readonly String DefaultMeterProcessStateUrl = $"{ServerDns}/MeterProcessState/api/ProccesState/"; private static readonly String DefaultGenesisFinalCheckServiceUrl = $"{ServerDns}/MeterProcessState/api/FinalCheck/"; private static readonly String DefaultGenesisRadioCheckServiceUrl = $"{ServerDns}/MeterProcessState/api/RadioCheck/"; private static readonly String DefaultGetSoftwareStartUpAccessUrl = $"{ServerDns}/MeterProcessState/api/SoftwareAccess/GetVersionIsValid"; private static readonly String DefaultSetSoftwareLicenseUrl = $"{ServerDns}/MeterProcessState/api/SoftwareAccess/SetVersionIsValid?Program="; private static readonly String DefaultGetSoftwareLicenseUrl = $"{ServerDns}/MeterProcessState/api/SoftwareAccess/GetCurrentVersion?Program="; private static readonly String DefaultGenesisCalibrationResult = $"{ServerDns}/MeterProcessState/api/GenesisMeter/PostCalibrationResult"; private static readonly String DefaultGetGenesisCalibrationResults = $"{ServerDns}/MeterProcessState/api/FinalCheck/CalibrationResults/"; private static readonly String DefaultGenesisMeter = $"{ServerDns}/MeterProcessState/api/GenesisMeter/"; private static readonly String DefaultFileContentController = $"{ServerDns}/MeterProcessState/api/FileUpToDate/"; private static readonly String DefaultKeyServerCustom = "https://nodes.sms-esaap.com/keygenproxy/api/v3/custom/"; private static readonly String DefaultMeterInfoForTestBench = $"{ServerDns}/MeterProcessState/api/TestBench/GetMeterInfoForTestBench?PcbID="; private static readonly String DefaultCordonelFwInfoUrl = $"{ServerDns}/MeterProcessState/api/FileUpToDate/GetCordonelFw"; private static readonly String DefaultDbDataAtEolServiceUrl = $"{ServerDns}/MeterProcessState/api/fwupdate/databaseateol/"; public static readonly String PressureSensorTestURL_GetTestSpec = $"{ServerDns}/MeterProcessState/api/CordonelPressureSensorTest/GetTestSpec"; public static readonly String PressureSensorTestURL_PostTestResults = $"{ServerDns}/MeterProcessState/api/CordonelPressureSensorTest/PostTestResults"; public static readonly String PickingURL_GetPcbInfoPicking = $"{ServerDns}/MeterProcessState/api/LuController/GetPcbInfoPicking?PcbId="; /// /// usage: string.Format(CordonelPressureSensorTestURL_GetTestResults, pcbId); /// public static readonly String PressureSensorTestURL_GetTestResults = $"{ServerDns}/MeterProcessState/api/CordonelPressureSensorTest/GetTestResults/{0}"; public const String LaaProductionAPI #if DEBUG == false // when false uses always the production url. = "http://localhost:52822"; #else = "http://delaz1web01.world.fluidtechnology.net/"; #endif /// /// GET: test specification for water meter with pressure sensor. /// public static String GetPressureSensorSpecificationURL #if DEBUG => "http://localhost:56011/api/CordonelPressureSensorTest/GetTestSpec"; #else => ConfigurationManager.AppSettings[nameof(GetPressureSensorSpecificationURL)] ?? PressureSensorTestURL_GetTestSpec; #endif /// /// POST: test result for water meter with pressure sensor. /// public static String PostPressureSensorResultURL #if DEBUG => "http://localhost:56011/api/CordonelPressureSensorTest/PostTestResults"; public static String Q3CalibrationResultURL { get; set; } #else => ConfigurationManager.AppSettings[nameof(PostPressureSensorResultURL)] ?? PressureSensorTestURL_PostTestResults; #endif /// /// GET: a list of test results for the water meter with specified pcbId. /// public static String PressureSensorResultsURL(this T pcbId) { #if DEBUG var url = "http://localhost:56011/api/CordonelPressureSensorTest/GetTestResults/{0}"; #else var url = ConfigurationManager.AppSettings[nameof(PressureSensorResultsURL)] ?? PressureSensorTestURL_GetTestResults; #endif return string.Format(url, pcbId); } /// /// Get export data /// /// public static String GetExportDataServiceUrl() { return ConfigurationManager.AppSettings["GetExportDataServiceUrl"] ?? DefaultGetExportDataServiceUrl; } /// /// Get Cordonel mapping /// /// public static String GetCordonelMappingServiceUrl() { return ConfigurationManager.AppSettings["GetCordonelMappingServiceUrl"] ?? DefaultGetCordonelMappingServiceUrl; } /// /// Get Cordonel order overview to check the assignment state /// /// public static String GetOrderOverviewServiceUrl() { return ConfigurationManager.AppSettings["GetOrderOverviewServiceUrl"] ?? DefaultGetOrderOverviewServiceUrl; } /// /// Get Cordonel order details to check for order dependent requirements like /// - MeterSize, /// - FrequencyIndicator, /// - PressurePresent. /// /// public static String GetOrderDetailsServiceUrl() { return ConfigurationManager.AppSettings["GetOrderDetailsServiceUrl"] ?? DefaultGetOrderDetailsServiceUrl; } /// /// List all Cordonel FW packages. /// /// public static String GetLutUrl() { return ConfigurationManager.AppSettings["GetLutUrl"] ?? DefaultGetLutUrl; } /// /// List all Cordonel FW packages. /// /// public static String ListAllCordonelFwPackagesUrl() { return ConfigurationManager.AppSettings["CordonelFwInfoUrl"] ?? DefaultCordonelFwInfoUrl; } /// /// List all PCB IDs from a safe. As the safe may be deleted, this information is still accessible. /// /// public static String MeterInfoForTestBench() { return ConfigurationManager.AppSettings["MeterInfoForTestBenchServiceUrl"] ?? DefaultMeterInfoForTestBench; } /// /// List all PCB IDs from a safe. As the safe may be deleted, this information is still accessible. /// /// public static String ListAllPcbIdsFromSafe() { return ConfigurationManager.AppSettings["GetPcbIdsFromSafeServiceUrl"] ?? DefaultGetPcbIdsFromSafeServiceUrl; } /// /// Add PCB IDs to a safe. As the safe may be deleted, this information is still accessible. /// /// public static String AddPcbIdsToSafeServiceUrl() { return ConfigurationManager.AppSettings["AddPcbIdsToSafeServiceUrl"] ?? DefaultAddPcbIdsToSafeServiceUrl; } /// /// Get all Cordonel FW package. /// /// public static String DownloadFileParts() { return ConfigurationManager.AppSettings["DownloadFilePartsServiceUrl"] ?? DefaultDownloadFilesPartsServiceUrl; } /// /// FW-Update Safe container list for specific user /// /// public static String ListAllFwUpdateSafesForUserServiceUrl() { return ConfigurationManager.AppSettings["ListAllFwUpdateSafesForUserServiceUrl"] ?? DefaultListAllFwUpdateSafesForUserServiceUrl; } /// /// FW-Update Safe container /// /// public static String DownloadFwUpdateSafeServiceUrl() { return ConfigurationManager.AppSettings["DownloadFwUpdateSafeServiceUrl"] ?? DefaultDownloadFwUpdateSafeServiceUrl; } /// /// Download the EOL logging data for power correction of overestimated power consumption /// /// public static String DownloadDbDataAtEolServiceUrl() { return ConfigurationManager.AppSettings["DownloadDbDataAtEolServiceUrl"] ?? DefaultDbDataAtEolServiceUrl; } /// /// Get EOL data for sentinel /// /// public static String EolDataForSentinelServiceUrl() { return ConfigurationManager.AppSettings["EolDataForSentinelServiceUrl"] ?? DefaultEolDataForSentinelServiceUrl; } /// /// Get all Cordonel safes description files. /// /// public static String ListAllFwUpdateSafes() { return ConfigurationManager.AppSettings["ListAllFwUpdateSafesServiceUrl"] ?? DefaultListAllFwUpdateSafesServiceUrl; } /// /// Get all Cordonel FW package description files. /// /// public static String ListAllFwPackages() { return ConfigurationManager.AppSettings["ListAllFwPackagesServiceUrl"] ?? DefaultListAllFwPackagesServiceUrl; } /// /// Get all Cordonel FW update SW package description files. /// /// public static String ListAllSwPackages() { return ConfigurationManager.AppSettings["ListAllSwPackagesServiceUrl"] ?? DefaultListAllSwPackagesServiceUrl; } /// /// Get all Cordonel FW update SW package description files. /// /// public static String ListAllConfigurationFilePackages() { return ConfigurationManager.AppSettings["ListAllConfigFilePackagesServiceUrl"] ?? DefaultListAllConfigFilePackagesServiceUrl; } /// /// Set all applications versions installed to a specific Cordonel. /// /// public static String UploadCordonelAppVersionServiceUrl() { return ConfigurationManager.AppSettings["SetCordonelAppVersionServiceUrl"] ?? DefaultSetCordonelAppVersionServiceUrl; } /// /// Inspect a specific requirement (read only). /// /// public static String InspectCordonelRequirementInfoServiceUrl() { return ConfigurationManager.AppSettings["InspectCordonelRequirementInfoServiceUrl"] ?? DefaultInspectCordonelRequirementInfoUrl; } /// /// Get all production infos for skip process checks or limits for production like: /// - Battery drained percentage upper limit, /// - Production due date for a special register, /// - Required lifetime for assembly line, /// - Required lifetime for shipping line. /// /// public static String GetCordonelRequirementInfoServiceUrl() { return ConfigurationManager.AppSettings["GetCordonelRequirementInfoServiceUrl"] ?? DefaultGetCordonelRequirementInfoUrl; } /// /// Get all production infos for skip process checks or limits for production like: /// - Battery drained percentage upper limit, /// - Production due date for a special register, /// - Required lifetime for assembly line, /// - Required lifetime for shipping line. /// /// public static String GetCordonelRequirementByFANrInfoServiceUrl(String ponr) { return $"{ProductionUiServerDns}/api/cordonel/requirements/pono/{ponr}"; } /// /// Get all production infos for skip process checks or limits for production like: /// - Battery drained percentage upper limit, /// - Production due date for a special register, /// - Required lifetime for assembly line, /// - Required lifetime for shipping line. /// /// public static String GetCordonelRequirementByMeterSizeInfoServiceUrl(Int32 size) { return $"{ProductionUiServerDns}/api/cordonel/requirements/isize/{size}"; } /// /// Get all applications versions installed to a specific Cordonel. /// /// public static String DownloadCordonelAppVersionServiceUrl() { return ConfigurationManager.AppSettings["GetCordonelAppVersionServiceUrl"] ?? DefaultGetCordonelAppVersionServiceUrl; } /// /// List all Cordonel customers with search filter (e.g. %sus% where % is a filter for 0 to multiple /// alphanumeric characters) to get the customer names and the order numbers. /// /// public static String ListAllCordonelCustomersWithFilterServiceUrl() { return ConfigurationManager.AppSettings["ListAllCordonelCustomersWithFilterServiceUrl"] ?? DefaultListAllCordonelCustomersWithFilterServiceUrl; } /// /// Get Cordonel order details to capture the production order /// /// public static String ListCordonelOrderDetailsServiceUrl() { return ConfigurationManager.AppSettings["ListCordonelOrderDetailsServiceUrl"] ?? DefaultListCordonelOrderDetailsServiceUrl; } /// /// List all Cordonel orders of a selected customer /// /// public static String ListAllCordonelCustomerOrdersServiceUrl() { return ConfigurationManager.AppSettings["ListAllCordonelCustomerOrdersServiceUrl"] ?? DefaultListAllCordonelCustomerOrdersServiceUrl; } /// /// List all Cordonels of a specific order number to get the customer serial number and the Pcb ID. /// /// public static String ListAllOrderCordonelsServiceUrl() { return ConfigurationManager.AppSettings["ListAllOrderCordonelsServiceUrl"] ?? DefaultListAllOrderCordonelsServiceUrl; } /// /// Register watch service /// /// public static String RegisterWatchServiceUrl() { return ConfigurationManager.AppSettings["RegisterWatchServiceUrl"] ?? DefaultRegisterWatchServiceUrl; } /// /// File content download /// /// public static String DownloadFileContentServiceUrl() { return ConfigurationManager.AppSettings["FileContentDownloadServiceUrl"] ?? DefaultFileContentDownloadServiceUrl; } /// /// FW-Update report download as string /// /// public static String DownloadFwUpdateReportServiceUrl() { return ConfigurationManager.AppSettings["FwUpdateReportDownloadServiceUrl"] ?? DefaultFwUpdateReportDownloadServiceUrl; } /// /// FW-Update report upload as string /// /// public static String UploadFwUpdateReportServiceUrl() { return ConfigurationManager.AppSettings["FwUpdateReportUploadServiceUrl"] ?? DefaultFwUpdateReportUploadServiceUrl; } /// /// FW-Update Safe container upload /// /// public static String UploadFwUpdateSafeContainerServiceUrl() { return ConfigurationManager.AppSettings["FwUpdateSafeContainerUploadServiceUrl"] ?? DefaultFwUpdateSafeContainerUploadServiceUrl; } /// /// FW-Update user validation url /// /// public static String EditFwUpdateUserValidityServiceUrl() { return ConfigurationManager.AppSettings["EditFwUpdateUserValidityServiceUrl"] ?? DefaultEditFwUpdateUserValidityServiceUrl; } /// /// FW-Update user HW-Id url /// /// public static String RefreshFwUpdateUsersHardwareIdServiceUrl() { return ConfigurationManager.AppSettings["RefreshFwUpdateUsersHardwareIdServiceUrl"] ?? DefaultRefreshFwUpdateUsersHardwareIdServiceUrl; } /// /// FW-Update user password hash for encryption url /// /// public static String RefreshFwUpdateUsersPasswordHashServiceUrl() { return ConfigurationManager.AppSettings["RefreshFwUpdateUsersPasswordHashServiceUrl"] ?? DefaultRefreshFwUpdateUsersPasswordHashServiceUrl; } /// /// FW-Update create new user url /// /// public static String CreateNewFwUpdateUserServiceUrl() { return ConfigurationManager.AppSettings["CreateNewFwUpdateUserServiceUrl"] ?? DefaultCreateNewFwUpdateUserServiceUrl; } /// /// FW-Update list all users url /// /// public static String ListAllFwUpdateUsersServiceUrl() { return ConfigurationManager.AppSettings["ListAllFwUpdateUsersServiceUrl"] ?? DefaultListAllFwUpdateUsersServiceUrl; } /// /// FW-Update list all users url /// /// public static String ListAllFwUpdateBuilderOperatorsServiceUrl() { return ConfigurationManager.AppSettings["ListAllFwUpdateBuilderOperatorsServiceUrl"] ?? DefaultListAllFwUpdateBuilderOperatorsServiceUrl; } /// /// FW-Update get user information by user Id url /// /// public static String GetFwUpdateUserByIdServiceUrl() { return ConfigurationManager.AppSettings["GetFwUpdateUserByIdServiceUrl"] ?? DefaultGetFwUpdateUserByIdServiceUrl; } /// /// FW-Update get user information by user login name url /// /// public static String GetFwUpdateUserByLoginNameServiceUrl() { return ConfigurationManager.AppSettings["GetFwUpdateUserByLoginNameServiceUrl"] ?? DefaultGetFwUpdateUserByLoginNameServiceUrl; } /// /// Genesis check radio parameter url /// /// public static String GenesisRadioCheckServiceUrl() { return ConfigurationManager.AppSettings["GenesisRadioCheckServiceUrl"] ?? DefaultGenesisRadioCheckServiceUrl; } /// /// Genesis radio parameter get url /// /// public static String GenesisFinalCheckServiceUrl() { return ConfigurationManager.AppSettings["GenesisFinalCheckServiceUrl"] ?? DefaultGenesisFinalCheckServiceUrl; } /// /// Marriage service url /// /// public static String MarriageServiceUrl() { return ConfigurationManager.AppSettings["MarriageServiceUrl"] ?? DefaultMarriageServiceUrl; } /// /// Genesis process status url /// /// public static String MeterProcessStateUrl() { return ConfigurationManager.AppSettings["MeterProcessStateUrl"] ?? DefaultMeterProcessStateUrl; } /// /// Genesis get radio address url /// /// public static String GenesisGetRadioAddressServiceUrl() { return ConfigurationManager.AppSettings["GenesisGetRadioAddressServiceUrl"] ?? DefaultGenesisGetRadioAddressServiceUrl; } /// /// Genesis get key set id url /// /// public static String GenesisGetOrderNumberServiceUrl() { return ConfigurationManager.AppSettings["GenesisGetOrderNumberServiceUrl"] ?? DefaultGenesisGetOrderNumberServiceUrl; } /// /// Genesis get key set id url /// /// public static String GenesisGetKeySetIdServiceUrl() { return ConfigurationManager.AppSettings["GenesisGetKeySetIdServiceUrl"] ?? DefaultGenesisGetKeySetIdServiceUrl; } /// /// Genesis get password url /// /// public static String GenesisSetPickingStateServiceUrl() { return ConfigurationManager.AppSettings["GenesisSetPickingStateServiceUrl"] ?? DefaultGenesisSetPickingStateServiceUrl; } /// /// Genesis get password url /// /// public static String GenesisGetPasswordServiceUrl() { return ConfigurationManager.AppSettings["GenesisGetPasswordServiceUrl"] ?? DefaultGenesisGetPasswordServiceUrl; } /// /// Genesis get password url /// /// public static String GenesisGetPasswordContainerServiceUrl() { return ConfigurationManager.AppSettings["GenesisPasswordContainerServiceUrl"] ?? DefaultGenesisPasswordContainerServiceUrl; } /// /// Genesis set password url /// /// public static String GenesisSetPasswordServiceUrl() { return ConfigurationManager.AppSettings["GenesisSetPasswordServiceUrl"] ?? DefaultGenesisSetPasswordServiceUrl; } /// /// Set the SW license /// /// public static String SetSoftwareLicenseUrl() { return ConfigurationManager.AppSettings["SetSoftwareLicenseUrl"] ?? DefaultSetSoftwareLicenseUrl; } /// /// Set the SW license /// /// public static String GetSoftwareLicenseUrl() { return ConfigurationManager.AppSettings["GetSoftwareLicenseUrl"] ?? DefaultGetSoftwareLicenseUrl; } /// /// Check the SW license with a given name and version /// /// public static String GetSoftwareStartUpAccessUrl() { return ConfigurationManager.AppSettings["GetSoftwareStartUpAccessUrl"] ?? DefaultGetSoftwareStartUpAccessUrl; } /// /// Get Genesis calibration results for final check if those have been correctly set /// /// public static String GetGenesisCalibrationResultsUrl() { return ConfigurationManager.AppSettings["GetGenesisCalibrationResults"] ?? DefaultGetGenesisCalibrationResults; } /// /// Post Genesis calibration results /// /// public static String PostGenesisCalibrationResultUrl() { return ConfigurationManager.AppSettings["GenesisCalibrationResult"] ?? DefaultGenesisCalibrationResult; } /// /// Post Genesis calibration results /// /// public static String FileContentControllerUrl() { return ConfigurationManager.AppSettings["DefaultFileContentController"] ?? DefaultFileContentController; } /// /// Root for all function regarding the BSI Key generation service /// /// public static String KeyServerCustom() { return ConfigurationManager.AppSettings["DefaultKeyServerCustom"] ?? DefaultKeyServerCustom; } /// /// Root for all function regarding the meter itself /// /// public static String GenesisMeter() { return ConfigurationManager.AppSettings["GenesisMeter"] ?? DefaultGenesisMeter; } public static String GetQ3CalibrationsURI(String currentPcbId) { throw new NotImplementedException(); } } }