Skip to content

Commit

Permalink
rework device data extraction process and enhance ATA loading UX
Browse files Browse the repository at this point in the history
- Refactor the data extraction pipeline to improve maintainability and performance
- Redesign the ATA loading interface to provide clearer feedback during the loading process
  • Loading branch information
msartore committed Nov 8, 2023
1 parent 6cde5f4 commit cef3ad4
Show file tree
Hide file tree
Showing 10 changed files with 626 additions and 452 deletions.
6 changes: 3 additions & 3 deletions ATA-GUI/ATA-GUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<ApplicationIcon>ATALogoGUI.ico</ApplicationIcon>

<!-- Versioning -->
<Version>3.1.1.0</Version>
<FileVersion>3.1.1.0</FileVersion>
<AssemblyVersion>3.1.1.0</AssemblyVersion>
<Version>3.2.0.0</Version>
<FileVersion>3.2.0.0</FileVersion>
<AssemblyVersion>3.2.0.0</AssemblyVersion>
<Copyright>© 2021-2023 Massimiliano Sartore</Copyright>

<!-- Publish settings -->
Expand Down
2 changes: 1 addition & 1 deletion ATA-GUI/Classes/ATA.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ATA_GUI.Classes
{
internal class ATA
{
public static readonly string CURRENTVERSION = "v3.1.1";
public static readonly string CURRENTVERSION = "v3.2.0";
public static readonly string IPFileName = "IPList.txt";

public ATA()
Expand Down
14 changes: 0 additions & 14 deletions ATA-GUI/Classes/Device.cs

This file was deleted.

21 changes: 18 additions & 3 deletions ATA-GUI/Classes/DeviceData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace ATA_GUI.Classes
using System.Collections.Generic;

namespace ATA_GUI.Classes
{
internal class DeviceData
{
Expand All @@ -8,13 +10,17 @@ public DeviceData(string name, string id, DeviceMode mode, DeviceConnection conn
ID = id;
Mode = mode;
Connection = connection;
AppsString = new();
}

public string Name { get; }

public DeviceMode Mode { get; set; }

public DeviceConnection Connection { get; }
public bool IsRotationFreeEnabled { get; set; }
public string User { get; set; }
public List<string> AppsString { get; set; }
public AppMode AppMode { get; set; }
public int Version { get; set; }

public string ID { get; }

Expand Down Expand Up @@ -44,4 +50,13 @@ internal enum DeviceConnection
CABLE,
WIRELESS
}

internal enum AppMode
{
SYSTEM,
NONSYSTEM,
ALL,
DISABLE,
UNINSTALLED
}
}
12 changes: 0 additions & 12 deletions ATA-GUI/Forms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cef3ad4

Please sign in to comment.