Update 20240719
This commit is contained in:
@@ -31,8 +31,8 @@ namespace OnDoc.Klassen
|
||||
|
||||
public class EDK_Parameters
|
||||
{
|
||||
private string name { get; set; }
|
||||
private string value { get; set; }
|
||||
public string name { get; set; }
|
||||
public string value { get; set; }
|
||||
|
||||
public EDK_Parameters(string name, string value)
|
||||
{
|
||||
@@ -43,8 +43,8 @@ namespace OnDoc.Klassen
|
||||
|
||||
public class EDK_Dokumentwerte
|
||||
{
|
||||
private string name { get; set; }
|
||||
private string value { get; set; }
|
||||
public string name { get; set; }
|
||||
public string value { get; set; }
|
||||
|
||||
public EDK_Dokumentwerte (string name, string value)
|
||||
{
|
||||
@@ -131,6 +131,30 @@ namespace OnDoc.Klassen
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetAVQ_Value(string name, string techname)
|
||||
{
|
||||
for (int i = 0; i < dokumentwerte.Count; i++)
|
||||
{
|
||||
EDK_Dokumentwerte d = dokumentwerte[i];
|
||||
if (dokumentwerte[i].name == name || dokumentwerte[i].name == techname)
|
||||
{
|
||||
return dokumentwerte[i].value;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
public static string GetAVQ_Parameter(string name)
|
||||
{
|
||||
for (int i = 0; i < parameters.Count; i++) {
|
||||
if (parameters[i].name.ToUpper() == name.ToUpper())
|
||||
{
|
||||
return parameters[i].value;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user