Catalog/imagecatalog/ViewModels/RaceUploadSettingsViewModel.cs

149 lines
3.1 KiB
C#
Raw Normal View History

using System;
namespace ImageCatalog_2.ViewModels;
public class RaceUploadSettingsViewModel : ViewModelBase
{
private string _apiLogin = string.Empty;
public string ApiLogin
{
get => _apiLogin;
set
{
_apiLogin = value;
NotifyPropertyChanged();
}
}
private string _apiPassword = string.Empty;
public string ApiPassword
{
get => _apiPassword;
set
{
_apiPassword = value;
NotifyPropertyChanged();
}
}
private string _apiRaceDescription = string.Empty;
public string ApiRaceDescription
{
get => _apiRaceDescription;
set
{
_apiRaceDescription = value;
NotifyPropertyChanged();
}
}
private string _apiRaceTypeId = "1";
public string ApiRaceTypeId
{
get => _apiRaceTypeId;
set
{
_apiRaceTypeId = value;
NotifyPropertyChanged();
}
}
private DateTime _apiRaceStartDate = DateTime.Today;
public DateTime ApiRaceStartDate
{
get => _apiRaceStartDate;
set
{
_apiRaceStartDate = value;
NotifyPropertyChanged();
}
}
private DateTime _apiRaceEndDate = DateTime.Today;
public DateTime ApiRaceEndDate
{
get => _apiRaceEndDate;
set
{
_apiRaceEndDate = value;
NotifyPropertyChanged();
}
}
private string _apiPathBase = string.Empty;
public string ApiPathBase
{
get => _apiPathBase;
set
{
_apiPathBase = value;
NotifyPropertyChanged();
}
}
private string _apiLocalita = string.Empty;
public string ApiLocalita
{
get => _apiLocalita;
set
{
_apiLocalita = value;
NotifyPropertyChanged();
}
}
private int _apiEventoInLineaIndex;
public int ApiEventoInLineaIndex
{
get => _apiEventoInLineaIndex;
set
{
_apiEventoInLineaIndex = value;
NotifyPropertyChanged();
}
}
private int _apiTipoIndexValue = 1;
public int ApiTipoIndexValue
{
get => _apiTipoIndexValue;
set
{
_apiTipoIndexValue = value;
NotifyPropertyChanged();
}
}
private int _apiFreeEventIndex;
public int ApiFreeEventIndex
{
get => _apiFreeEventIndex;
set
{
_apiFreeEventIndex = value;
NotifyPropertyChanged();
}
}
private string _apiRaceId = string.Empty;
public string ApiRaceId
{
get => _apiRaceId;
set
{
_apiRaceId = value;
NotifyPropertyChanged();
}
}
private string _apiRemoteProcessedBasePath = string.Empty;
public string ApiRemoteProcessedBasePath
{
get => _apiRemoteProcessedBasePath;
set
{
_apiRemoteProcessedBasePath = value;
NotifyPropertyChanged();
}
}
}