feat: Implement Face AI functionality and race upload settings in Avalonia UI
This commit is contained in:
parent
15b1da4371
commit
6cf0c029fc
4 changed files with 528 additions and 191 deletions
|
|
@ -273,5 +273,66 @@ namespace ImageCatalog_2.Models
|
|||
[JsonPropertyName("CsvOutputPath")]
|
||||
[XmlElement("AI_PercorsoCsv")]
|
||||
public string CsvOutputPath { get; set; }
|
||||
|
||||
[JsonPropertyName("FaceExecutablePath")]
|
||||
[XmlElement("AI_FaceExecutablePath")]
|
||||
public string FaceExecutablePath { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("FaceOutputFolderPath")]
|
||||
[XmlElement("AI_FaceOutputFolderPath")]
|
||||
public string FaceOutputFolderPath { get; set; } = string.Empty;
|
||||
|
||||
// Race upload settings
|
||||
[JsonPropertyName("ApiLogin")]
|
||||
[XmlElement("RaceUpload_Login")]
|
||||
public string ApiLogin { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("ApiPassword")]
|
||||
[XmlElement("RaceUpload_Password")]
|
||||
public string ApiPassword { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("ApiRaceDescription")]
|
||||
[XmlElement("RaceUpload_Description")]
|
||||
public string ApiRaceDescription { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("ApiRaceTypeId")]
|
||||
[XmlElement("RaceUpload_TipoGaraId")]
|
||||
public string ApiRaceTypeId { get; set; } = "1";
|
||||
|
||||
[JsonPropertyName("ApiRaceStartDate")]
|
||||
[XmlElement("RaceUpload_StartDate")]
|
||||
public DateTime ApiRaceStartDate { get; set; } = DateTime.Today;
|
||||
|
||||
[JsonPropertyName("ApiRaceEndDate")]
|
||||
[XmlElement("RaceUpload_EndDate")]
|
||||
public DateTime ApiRaceEndDate { get; set; } = DateTime.Today;
|
||||
|
||||
[JsonPropertyName("ApiPathBase")]
|
||||
[XmlElement("RaceUpload_PathBase")]
|
||||
public string ApiPathBase { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("ApiLocalita")]
|
||||
[XmlElement("RaceUpload_Localita")]
|
||||
public string ApiLocalita { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("ApiEventoInLineaIndex")]
|
||||
[XmlElement("RaceUpload_EventoInLinea")]
|
||||
public int ApiEventoInLineaIndex { get; set; } = 0;
|
||||
|
||||
[JsonPropertyName("ApiTipoIndexValue")]
|
||||
[XmlElement("RaceUpload_TipoIndex")]
|
||||
public int ApiTipoIndexValue { get; set; } = 1;
|
||||
|
||||
[JsonPropertyName("ApiFreeEventIndex")]
|
||||
[XmlElement("RaceUpload_FreeEvent")]
|
||||
public int ApiFreeEventIndex { get; set; } = 0;
|
||||
|
||||
[JsonPropertyName("ApiRaceId")]
|
||||
[XmlElement("RaceUpload_LastRaceId")]
|
||||
public string ApiRaceId { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("ApiRemoteProcessedBasePath")]
|
||||
[XmlElement("RaceUpload_RemoteProcessedBasePath")]
|
||||
public string ApiRemoteProcessedBasePath { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue