180 lines
6.4 KiB
C#
180 lines
6.4 KiB
C#
using Hardcodet.Wpf.TaskbarNotification;
|
|
|
|
namespace FSI.BT.Tools
|
|
{
|
|
internal static class Global
|
|
{
|
|
|
|
public static FrmRadialMenu? FrmRadialMenu { get; set; }
|
|
|
|
public static TaskbarIcon? TaskbarIcon { get; set; }
|
|
|
|
|
|
public static bool UserRights { get; set; }
|
|
|
|
public static bool AdminRights { get; set; }
|
|
|
|
public static class Settings
|
|
{
|
|
public static class General
|
|
{
|
|
public static string DeEnCryptPasswort
|
|
{
|
|
get
|
|
{
|
|
return FSI.Lib.Settings.Setting<string>("DeEnCryptPasswort", Lib.Settings.Mode.ExeSetttings);
|
|
}
|
|
}
|
|
public static string TimeStampFormat
|
|
{
|
|
get
|
|
{
|
|
return FSI.Lib.Settings.Setting<string>("TimeStamp.Format", Lib.Settings.Mode.ExeSetttings);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static class Apps
|
|
{
|
|
public static string SieSimaticManagerExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.Simatic.Manager.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SieTiaV13Exe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.TIA.V13.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SieTiaV14Exe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.TIA.V14.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SieTiaV15Exe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.TIA.V15.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SieTiaV16Exe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.TIA.V16.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SieTiaV17Exe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.TIA.V17.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SieTiaVStarterExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SIE.Starter.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static class Epl
|
|
{
|
|
public static string Exe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("Epl.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Arguments
|
|
{
|
|
get { return "/Variant:\"Electric P8\""; }
|
|
}
|
|
}
|
|
|
|
public static string NppExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("Npp.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string TotalCmdExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("TotalCmd.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string TeXstudioExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("TeXstudio.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string TeXstudioPath
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("TeXstudio.Path", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string VsExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("VS.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
|
|
public static string VsCodeExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("VS.Code.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
|
|
public static string RdpExe
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("Rdp.Exe", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
}
|
|
|
|
public static class Urls
|
|
{
|
|
public static string ZentralWeb
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("ZentralWeb.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Schichtbuch
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("Schichtbuch.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string SPS
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("SPS.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Pl1Pls
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("PL1.Pls.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Pl2Pls
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("PL2.Pls.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Pl2Als
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("PL2.Als.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Pl3Pls
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("PL3.Pls.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
public static string Gitea
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("FSI.Gitea.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Wiki
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("FSI.Gitea.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
|
|
public static string Erp
|
|
{
|
|
get { return FSI.Lib.Settings.Setting<string>("Erp.Url", FSI.Lib.Settings.Mode.ExeSetttings); }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|