57 lines
1.4 KiB
C#
57 lines
1.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Configuration;
|
|
using System.Data;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Windows.Forms;
|
|
using NLog;
|
|
|
|
namespace MTC
|
|
{
|
|
public class utils : MTC.baseUtils
|
|
{
|
|
/// <summary>
|
|
/// folder archiviazione dati configurazione (DATA\CONF)
|
|
/// </summary>
|
|
public static string resxDir
|
|
{
|
|
get
|
|
{
|
|
return string.Format(@"{0}\{1}", Application.StartupPath, CRS("resxPath"));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// folder archiviazione dati configurazione (DATA\CONF)
|
|
/// </summary>
|
|
public static string confDir
|
|
{
|
|
get
|
|
{
|
|
return string.Format(@"{0}\{1}", Application.StartupPath, CRS("dataConfPath"));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// folder archiviazione dati storici giornalieri (DATA\DAT)
|
|
/// </summary>
|
|
public static string dataDatDir
|
|
{
|
|
get
|
|
{
|
|
return string.Format(@"{0}\{1}", Application.StartupPath, CRS("dataDatPath"));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// folder archiviazione dati (DATA)
|
|
/// </summary>
|
|
public static string dataDir
|
|
{
|
|
get
|
|
{
|
|
return string.Format(@"{0}\{1}", Application.StartupPath, CRS("dataPath"));
|
|
}
|
|
}
|
|
}
|
|
}
|