Added headers
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : ConfigurationTool.cs
|
||||
/// Brief : Class that contains all the methods needed to create a config file for the OCR
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverData.cs
|
||||
/// Brief : Class used to store Driver informations
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverDrsWindow.cs
|
||||
/// Brief : Window containing DRS related method and infos
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverGapToLeaderWindow.cs
|
||||
/// Brief : Window containing infos about the gap to the leader of a driver
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverLapTimeWindow
|
||||
/// Brief : Window containing infos about the lap time of a driver
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverNameWindow
|
||||
/// Brief : Window containing infos about the name of the driver
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverSectorWindow.cs
|
||||
/// Brief : Window containing infos about a driver sector time. Can be the first second or third, does not matter.
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : DriverTyresWindow.cs
|
||||
/// Brief : Window containing infos about a driver's tyre
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using OpenQA.Selenium;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : F1TVEmulator.cs
|
||||
/// Brief : Class that contains methods to emulate a browser and navigate the F1TV website
|
||||
/// Version : 0.1
|
||||
|
||||
using OpenQA.Selenium;
|
||||
using OpenQA.Selenium.Firefox;
|
||||
using OpenQA.Selenium.Interactions;
|
||||
using OpenQA.Selenium.Support.UI;
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ namespace Test_Merge
|
||||
{
|
||||
Settings settingsForm = new Settings();
|
||||
settingsForm.ShowDialog();
|
||||
MessageBox.Show(settingsForm.GrandPrixUrl);
|
||||
MessageBox.Show(settingsForm.GrandPrixUrl + Environment.NewLine + settingsForm.GrandPrixName + Environment.NewLine + settingsForm.GrandPrixYear);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : OcrImage.cs
|
||||
/// Brief : Class containing all the methods used to enhance images for OCR
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System.Drawing;
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : Reader.cs
|
||||
/// Brief : Class used to Read the config file for the OCR
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
Generated
+22
-22
@@ -42,11 +42,13 @@
|
||||
this.btnAddDriver = new System.Windows.Forms.Button();
|
||||
this.tbxDriverName = new System.Windows.Forms.TextBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.btnResetDriver = new System.Windows.Forms.Button();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.pbxMain = new System.Windows.Forms.PictureBox();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.pbxDriverZone = new System.Windows.Forms.PictureBox();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.btnLoadPreset = new System.Windows.Forms.Button();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.lsbPresets = new System.Windows.Forms.ListBox();
|
||||
this.tbxPresetName = new System.Windows.Forms.TextBox();
|
||||
@@ -56,8 +58,6 @@
|
||||
this.lblWindowPointsRemaining = new System.Windows.Forms.Label();
|
||||
this.btnCreateWindow = new System.Windows.Forms.Button();
|
||||
this.btnCreatZone = new System.Windows.Forms.Button();
|
||||
this.btnResetDriver = new System.Windows.Forms.Button();
|
||||
this.btnLoadPreset = new System.Windows.Forms.Button();
|
||||
this.gpbxInfos.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
@@ -216,6 +216,16 @@
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Preview";
|
||||
//
|
||||
// btnResetDriver
|
||||
//
|
||||
this.btnResetDriver.Location = new System.Drawing.Point(113, 22);
|
||||
this.btnResetDriver.Name = "btnResetDriver";
|
||||
this.btnResetDriver.Size = new System.Drawing.Size(101, 33);
|
||||
this.btnResetDriver.TabIndex = 2;
|
||||
this.btnResetDriver.Text = "Reset";
|
||||
this.btnResetDriver.UseVisualStyleBackColor = true;
|
||||
this.btnResetDriver.Click += new System.EventHandler(this.btnResetDriver_Click);
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Location = new System.Drawing.Point(6, 23);
|
||||
@@ -279,6 +289,16 @@
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "Calibration settings";
|
||||
//
|
||||
// btnLoadPreset
|
||||
//
|
||||
this.btnLoadPreset.Location = new System.Drawing.Point(6, 297);
|
||||
this.btnLoadPreset.Name = "btnLoadPreset";
|
||||
this.btnLoadPreset.Size = new System.Drawing.Size(201, 40);
|
||||
this.btnLoadPreset.TabIndex = 10;
|
||||
this.btnLoadPreset.Text = "LoadPreset";
|
||||
this.btnLoadPreset.UseVisualStyleBackColor = true;
|
||||
this.btnLoadPreset.Click += new System.EventHandler(this.btnLoadPreset_Click);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
@@ -363,26 +383,6 @@
|
||||
this.btnCreatZone.UseVisualStyleBackColor = true;
|
||||
this.btnCreatZone.Click += new System.EventHandler(this.btnCreatZone_Click);
|
||||
//
|
||||
// btnResetDriver
|
||||
//
|
||||
this.btnResetDriver.Location = new System.Drawing.Point(113, 22);
|
||||
this.btnResetDriver.Name = "btnResetDriver";
|
||||
this.btnResetDriver.Size = new System.Drawing.Size(101, 33);
|
||||
this.btnResetDriver.TabIndex = 2;
|
||||
this.btnResetDriver.Text = "Reset";
|
||||
this.btnResetDriver.UseVisualStyleBackColor = true;
|
||||
this.btnResetDriver.Click += new System.EventHandler(this.btnResetDriver_Click);
|
||||
//
|
||||
// btnLoadPreset
|
||||
//
|
||||
this.btnLoadPreset.Location = new System.Drawing.Point(6, 297);
|
||||
this.btnLoadPreset.Name = "btnLoadPreset";
|
||||
this.btnLoadPreset.Size = new System.Drawing.Size(201, 40);
|
||||
this.btnLoadPreset.TabIndex = 10;
|
||||
this.btnLoadPreset.Text = "LoadPreset";
|
||||
this.btnLoadPreset.UseVisualStyleBackColor = true;
|
||||
this.btnLoadPreset.Click += new System.EventHandler(this.btnLoadPreset_Click);
|
||||
//
|
||||
// Settings
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 19F);
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : Window.cs
|
||||
/// Brief : Default Window object that is mainly expected to be inherited.
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
+7
-1
@@ -1,4 +1,10 @@
|
||||
using System;
|
||||
/// Author : Maxime Rohmer
|
||||
/// Date : 08/05/2023
|
||||
/// File : Zone.cs
|
||||
/// Brief : Class that contains all the methods and infos for a zone. This is designed to be potentially be inherited.
|
||||
/// Version : 0.1
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
||||
Reference in New Issue
Block a user