Es können jetzt von xml 2006 importiert werden
This commit is contained in:
@@ -6,10 +6,22 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SanShared
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class BilderObject
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Kommentar { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Path { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ImgID { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,20 +7,37 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SanShared.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class LangNotFoundException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public LangNotFoundException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
public LangNotFoundException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <param name="innerException"></param>
|
||||
public LangNotFoundException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="info"></param>
|
||||
/// <param name="context"></param>
|
||||
protected LangNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -6,9 +6,18 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SanShared
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public interface ILanguage
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
Dictionary<string, string> Fehlermeldungen { get; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
Dictionary<string, string> Labels { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,8 +7,16 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SanShared
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public interface IMakeProtokol
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="destinationPath"></param>
|
||||
/// <returns></returns>
|
||||
Hashtable MakeProtokoll(string destinationPath);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,16 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SanShared
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public interface ITemperature
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <returns></returns>
|
||||
double GetTemperatur(out string message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,14 +6,25 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SanShared
|
||||
{
|
||||
/// <summary>
|
||||
/// CSV Dateistruktur
|
||||
/// </summary>
|
||||
public class UVcsvStrukture
|
||||
{
|
||||
DateTime zeitstempel;
|
||||
double temperatur;
|
||||
double druck;
|
||||
|
||||
/// <summary>
|
||||
/// Zeitstempel vom Eintrag
|
||||
/// </summary>
|
||||
public DateTime Zeitstempel { get => zeitstempel; set => zeitstempel = value; }
|
||||
/// <summary>
|
||||
/// Temperatur anzeige vom Eintrag
|
||||
/// </summary>
|
||||
public double Temperatur { get => temperatur; set => temperatur = value; }
|
||||
/// <summary>
|
||||
/// Druckanzeige vom Eintrag
|
||||
/// </summary>
|
||||
public double Druck { get => druck; set => druck = value; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user