Added a lot to the doc and modified the pdf generation

This commit is contained in:
2023-06-02 13:41:12 +02:00
parent bef8b9d635
commit a368e02453
113 changed files with 54217 additions and 17276 deletions
+8 -8
View File
@@ -1,8 +1,8 @@
/// Author : Maxime Rohmer
/// Date : 08/05/2023
/// File : DriverPosition.cs
/// Date : 30/05/2023
/// File : DriverPositionWindow.cs
/// Brief : Window containing infos about the position of a driver.
/// Version : 0.1
/// Version : Alpha 1.0
using System;
using System.Collections.Generic;
@@ -11,7 +11,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace Test_Merge
namespace TrackTrends
{
public class DriverPositionWindow:Window
{
@@ -22,10 +22,10 @@ namespace Test_Merge
/// <summary>
/// Decodes the position number using Tesseract OCR
/// </summary>
/// <returns>The position of the pilot in int</returns>
public override async Task<object> DecodePng()
{
string ocrResult = await GetStringFromPng(WindowImage, Engine, "0123456789");
/// <returns>An int representing the position of the driver (should be between 1 and 20 included)</returns>
public override object DecodePng()
{
string ocrResult = GetStringFromPng(WindowImage, Engine, "0123456789");
int position;
try