64 lines
2.3 KiB
C#
64 lines
2.3 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace LeanderShiftPlannerV2.Util
|
|
{
|
|
public static class Constants
|
|
{
|
|
// FileIO
|
|
public const string DataPath = @"Data";
|
|
public const string SavedVariablesPath = DataPath + @"/SavedVariables";
|
|
public const string PersonsPath = SavedVariablesPath + @"/Persons.xml";
|
|
public const string ShiftsPath = SavedVariablesPath + @"/Shifts.xml";
|
|
public const string ConnectionsPath = SavedVariablesPath + @"/Conections.xml";
|
|
public const string ExportPath = DataPath + @"/Output";
|
|
public const string ShiftPlanPath = ExportPath + @"/ShiftPlans/";
|
|
public const string TimesheetPath = ExportPath + "/Timesheets/";
|
|
public const string TimesheetResource = @"Resources/templates/timesheet.xlsx";
|
|
public const string FontPath = @"Resources/font/";
|
|
public const string FontEmblem = "Emblem.ttf";
|
|
public const string FontRoboto = "Roboto.ttf";
|
|
public const string GoogleApiFilePath = @"/googleapi.txt";
|
|
public const string GoogleClientId = "GoogleClientId";
|
|
public const string GoogleClientSecret = "GoogleClientSecret";
|
|
public const string GoogleApiFileResource = @"Resources/templates/googleapi.txt";
|
|
public const string GoogleApiTokenPath = @"/googleapitoken.txt";
|
|
|
|
// TimeSheets
|
|
public static readonly string TimeSheetSourceRandom = "Random";
|
|
public static readonly string TimeSheetSourceGoogle = "Google";
|
|
public static readonly string TimeSheetSourceRandomGoogle = "RandomGoogle";
|
|
|
|
public static readonly List<string> Months = new List<string>
|
|
{
|
|
"ERROR!",
|
|
"January",
|
|
"February",
|
|
"March",
|
|
"April",
|
|
"May",
|
|
"June",
|
|
"July",
|
|
"August",
|
|
"September",
|
|
"October",
|
|
"November",
|
|
"December"
|
|
};
|
|
public static readonly List<string> MonthsGerman = new List<string>
|
|
{
|
|
"ERROR!",
|
|
"Januar",
|
|
"Februar",
|
|
"März",
|
|
"April",
|
|
"Mai",
|
|
"Juni",
|
|
"Juli",
|
|
"August",
|
|
"September",
|
|
"Oktober",
|
|
"November",
|
|
"Dezember"
|
|
};
|
|
}
|
|
} |