Adapted main page for futur data integration

This commit is contained in:
2023-05-23 09:10:46 +02:00
parent 195108bcde
commit 89c7e15a70
5 changed files with 330 additions and 241 deletions
+4 -1
View File
@@ -224,7 +224,7 @@ namespace Test_Merge
/// </summary>
/// <param name="idImage">The id of the image we are working with</param>
/// <returns>a string representation of all the returns</returns>
public async Task<string> Decode(List<Zone> mainZones, List<string> drivers)
public async Task<List<DriverData>> Decode(List<Zone> mainZones, List<string> drivers)
{
string result = "";
List<DriverData> mainResults = new List<DriverData>();
@@ -284,6 +284,7 @@ namespace Test_Merge
}
//Display
/*
int nullDrivers = 0;
foreach (DriverData driver in mainResults)
{
@@ -302,6 +303,8 @@ namespace Test_Merge
{
return result;
}
*/
return mainResults;
}
public void ChangeImage(Bitmap Image)