01KS 00 X870074746524STADTNAME 4015464 XX
|
Danke für deine Tipps und für dein Mitleid :) Unglaublich, dass die kein xsd machen können...
– Mammal 13.08.09
|
[EdaField("BB")]
class Irgendwas: EdaBase
{
string feld = "wert";
[EdaField(8, "N", "TKEZI")]
string Feld { get { return feld; } set { feld = value; } }
}
class EdaBase
{
public override string ToString()
{
string res = "";
Attribute[] set = GetType().GetCustomAttributes(typeof(EdaSetAttribute));
foreach (Attribute a in set)
res += (a as EdaSetAttribute).Name + " ";
PropertyInfo[] pi = GetType().GetProperties();
foreach( PropertyInfo p in pi )
{
set = p.GetCustomAttributes(typeof(EdaFieldAttribute);
foreach (Attribute a in set)
{
EdaFieldAttribute efa = (a as EdaFieldAttribute);
res += efa.Type + " " + efa.Id + " " +efa.Size + " ";
}
}
return res;
}
}
class EdaSetAttribute : Attribute
{
public string Name;
public EdaSetAttribute(string name)
{
Name = name;
}
}
class EdaFieldAttribute : Attribute
{
public int Size;
public string Type;
public string Id;
public EdaFieldAttribute(int size, string type, string id)
{
Size = size;
Type = type;
Id = id;
}
}
in ein Datenformat schreibt, dass auf einem Bytesystem
|
Klar ist es nicht stand der Zeit, da aber die Gerichte nur dieses eine alte und total lächerliche Format akzeptieren muss es leider so sein :/
– Mammal 13.08.09
|
||
|
Aha - die Mühlen der Justiz ;) Gibts irgendwo Infos wie das Format aufgebaut ist - dann kann ich mir was überlegen.
– gfoidl 13.08.09
|
||
|
Google mal nach "eda 4000 konditionen", ist ein PDF =)
– Mammal 13.08.09
|