-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
365 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Geo.Gps.Serialization.Xml.Gpx.Gpx11; | ||
using GPXRide.Enums; | ||
using GPXRide.Interfaces; | ||
using Microsoft.AspNetCore.Components.Forms; | ||
|
||
namespace GPXRide.Classes | ||
{ | ||
public class TripToGpxConvertTask: IConvertTask | ||
{ | ||
public int? Id { get; init; } | ||
public IBrowserFile InputFile { get; init; } | ||
public FileSourceType FileSourceType { get; init; } | ||
public Trip OriginalTripFile { get; set; } | ||
public string FileName { get; init; } | ||
public GpxFile ConvertedGpxFile { get; set; } | ||
public ConvertState State { get; set; } = ConvertState.None; | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace GPXRide.Enums; | ||
|
||
public enum FileSourceType | ||
{ | ||
Gpx, | ||
MVTrip | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using GPXRide.Enums; | ||
using Microsoft.AspNetCore.Components.Forms; | ||
|
||
namespace GPXRide.Interfaces; | ||
|
||
public interface IConvertTask | ||
{ | ||
public int? Id { get; init; } | ||
|
||
public IBrowserFile InputFile { get; init; } | ||
public FileSourceType FileSourceType { get; init; } | ||
public string FileName { get; init; } | ||
public ConvertState State { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.