Sicherung
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
using Config.Net;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace FSI.BT.Tools.Settings
|
||||
{
|
||||
@@ -11,17 +6,24 @@ namespace FSI.BT.Tools.Settings
|
||||
{
|
||||
public interface IAppSettings
|
||||
{
|
||||
StringValue.IStringValue TimeStampFormat { get; set; }
|
||||
Apps.IApps Apps { get; }
|
||||
IEnumerable<StringValue.IStringValue> Users { get; }
|
||||
IEnumerable<StringValue.IStringValue> Admins { get; }
|
||||
|
||||
Urls.IUrls Urls { get; }
|
||||
string SuperAdmin { get; }
|
||||
|
||||
StringValue.IStringValue Pw { get; set; }
|
||||
|
||||
StringValue.IStringValue TimeStampFormat { get; set; }
|
||||
|
||||
IEnumerable<Cmd.ICmd> Cmds { get; }
|
||||
|
||||
IEnumerable<Folder.IFolder> Folders { get; }
|
||||
|
||||
IEnumerable<TxtToClip.ITxtToClip> TxtToClip { get; }
|
||||
|
||||
//[Option(Alias = "Folders")]
|
||||
//string GetFolderByName(string fodlerName, string keyName);
|
||||
Lib.Guis.SieTiaWinCCMsgMgt.IInterface WinCC { get; set; }
|
||||
|
||||
Lib.Guis.IbaDirSync.IInterface IbaDirSync { get; set; }
|
||||
}
|
||||
|
||||
public static (string path, string description) GetFolderByName(IEnumerable<Folder.IFolder> folders, string name)
|
||||
@@ -29,7 +31,7 @@ namespace FSI.BT.Tools.Settings
|
||||
foreach (var folder in folders)
|
||||
{
|
||||
if (folder.Name.Equals(name))
|
||||
{
|
||||
{
|
||||
return (folder.Path, folder.Description);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FSI.BT.Tools.Settings
|
||||
{
|
||||
public class Apps
|
||||
{
|
||||
public interface IApps
|
||||
{
|
||||
IEnumerable<Exe.IExe> SieSimaticManager { get; }
|
||||
IEnumerable<Exe.IExe> SieTiaV13 { get; }
|
||||
IEnumerable<Exe.IExe> SieTiaV14 { get; }
|
||||
IEnumerable<Exe.IExe> SieTiaV15 { get; }
|
||||
IEnumerable<Exe.IExe> SieTiaV16 { get; }
|
||||
IEnumerable<Exe.IExe> SieTiaV17 { get; }
|
||||
IEnumerable<Exe.IExe> SieTiaVStarter { get; }
|
||||
IEnumerable<Exe.IExe> Epl { get; }
|
||||
IEnumerable<Exe.IExe> Npp { get; }
|
||||
IEnumerable<Exe.IExe> TotalCmd { get; }
|
||||
IEnumerable<Exe.IExe> TeXstudio { get; }
|
||||
IEnumerable<Exe.IExe> Vs { get; }
|
||||
IEnumerable<Exe.IExe> VsCode { get; }
|
||||
IEnumerable<Exe.IExe> Rdp { get; }
|
||||
IEnumerable<Exe.IExe> Outlook { get; }
|
||||
IEnumerable<Exe.IExe> Teams { get; }
|
||||
IEnumerable<Exe.IExe> Excel { get; }
|
||||
IEnumerable<Exe.IExe> Word { get; }
|
||||
IEnumerable<Exe.IExe> PaintNet { get; }
|
||||
IEnumerable<Exe.IExe> Gimp { get; }
|
||||
IEnumerable<Exe.IExe> Vnc { get; }
|
||||
IEnumerable<Exe.IExe> VncAdrBook { get; }
|
||||
IEnumerable<Exe.IExe> IbaAnalyzer { get; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
20
FSI.BT.Tools/Settings/ICmd.cs
Normal file
20
FSI.BT.Tools/Settings/ICmd.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FSI.BT.Tools.Settings
|
||||
{
|
||||
public class Cmd
|
||||
{
|
||||
public interface ICmd
|
||||
{
|
||||
string Cmd { get; set; }
|
||||
|
||||
IEnumerable<Exe.IExe> Exe { get; }
|
||||
IEnumerable<String> Urls { get; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FSI.BT.Tools.Settings
|
||||
namespace FSI.BT.Tools.Settings
|
||||
{
|
||||
public class StringValue
|
||||
{
|
||||
public interface IStringValue
|
||||
public interface IStringValue
|
||||
{
|
||||
string Value { get; set; }
|
||||
}
|
||||
|
||||
public interface IStringValueCrypt
|
||||
{
|
||||
string Value { get; set; }
|
||||
string ValueDeCrypt { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FSI.BT.Tools.Settings
|
||||
{
|
||||
public class Urls
|
||||
{
|
||||
public interface IUrls
|
||||
{
|
||||
string ZentralWeb { get; }
|
||||
string Schichtbuch { get; }
|
||||
string SPS { get; }
|
||||
string Pl1Pls { get; }
|
||||
string Pl2Pls { get; }
|
||||
string Pl2Als { get; }
|
||||
string Pl3Pls { get; }
|
||||
string Gitea { get; }
|
||||
string Wiki { get; }
|
||||
string Erp { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user