Files
FSI.BT.IR.Tools/FSI.Lib/FSI.Lib/Guis/Folder.Mgt/Model.cs
Maier Stephan SI 1c68b8f401 Sicherung
2023-04-17 07:07:49 +02:00

39 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FSI.Lib.Guis.Folder.Mgt
{
public interface IInterface
{
string Plant { get; set; }
string SubPlant { get; set; }
string Name { get; set; }
string Description { get; set; }
string Path { get; set; }
}
public struct Model : IInterface
{
private string _plant;
private string _subPlant;
private string _name;
private string _description;
private string _path;
public string Plant { get => _plant; set => _plant = value; }
public string SubPlant { get => _subPlant; set => _subPlant = value; }
public string Name { get => _name; set => _name = value; }
public string Description { get => _description; set => _description = value; }
public string Path { get => _path; set => _path = value; }
public string DescriptionDtl { get => _plant + " " + SubPlant + " " + Description; }
}
public interface IDataProvider
{
IEnumerable<Model> Load(IEnumerable<IInterface> datas);
}
}