Fix last things on LUT update

This commit is contained in:
Roland Drabesch 2022-08-12 09:33:04 +02:00
parent 5fb9a2e9b8
commit 4d3f2779a0
4 changed files with 9 additions and 8 deletions

View File

@ -1 +1 @@
1a3d4919c9c702245832d925951f2b7cb72fc333
5ed75d99ee45ff67821090f1b3dbb001dd9e4fe3

View File

@ -11,7 +11,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>C:\Users\drabesch_ro\Documents\av2</publishUrl>
<publishUrl>C:\Temp\Pushweb\MeterProcessState</publishUrl>
<DeleteExistingFiles>True</DeleteExistingFiles>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>

View File

@ -203,8 +203,8 @@ namespace Xylem.Common.Ui.GenesisToolBox
StringBuilder sbUrl = new StringBuilder();
// sbUrl.Append("http://10.49.40.25/MeterProcessState/api/FileUpToDate/PostLutFile");
sbUrl.Append("http://localhost:56011//api/FileUpToDate/PostLutFile");
sbUrl.Append("http://10.49.40.25/MeterProcessState/api/FileUpToDate/PostLutFile");
//sbUrl.Append("http://localhost:56011//api/FileUpToDate/PostLutFile");
//
@ -229,8 +229,8 @@ namespace Xylem.Common.Ui.GenesisToolBox
private void btnLoad_Click(object sender, EventArgs e)
{
StringBuilder sbUrl = new StringBuilder();
// sbUrl.Append("http://10.49.40.25/MeterProcessState/api/FileUpToDate/GetLutFiles");
sbUrl.Append("http://localhost:56011/api/FileUpToDate/GetLutFiles");
sbUrl.Append("http://10.49.40.25/MeterProcessState/api/FileUpToDate/GetLutFiles");
//sbUrl.Append("http://localhost:56011/api/FileUpToDate/GetLutFiles");
//sbUrl.Append($"?DataLength={_DataLength}");
//sbUrl.Append($"&version={_Version}");
//sbUrl.Append($"&crc={_FileCrc}");

View File

@ -710,8 +710,8 @@ namespace Xylem.Common.Ui.GenesisToolBox
{
StringBuilder sbUrl = new StringBuilder();
// sbUrl.Append("http://10.49.40.25/MeterProcessState/api/FileUpToDate/GetLutFiles");
sbUrl.Append("http://localhost:56011/api/FileUpToDate/GetLutFiles");
sbUrl.Append("http://10.49.40.25/MeterProcessState/api/FileUpToDate/GetLutFiles");
//sbUrl.Append("http://localhost:56011/api/FileUpToDate/GetLutFiles");
//sbUrl.Append($"?DataLength={_DataLength}");
//sbUrl.Append($"&version={_Version}");
//sbUrl.Append($"&crc={_FileCrc}");
@ -724,6 +724,7 @@ namespace Xylem.Common.Ui.GenesisToolBox
var a = JsonConvert.DeserializeObject<List<CordonelMetrologyLut>>(ret);
cbxDbLuts.SelectedIndex = -1;
cbxDbLuts.Items.Clear();
foreach (var item in a)