1st commit

This commit is contained in:
2024-03-22 01:35:19 +01:00
parent b224604cd1
commit cd53574fba
18 changed files with 1334 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
using System;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
namespace xmlserializetest
{
public class Groups
{
[XmlAttribute("xmlns")]
public string Xmlns { get; set; }
[XmlElement("group")]
public Group[] Group { get; set; }
}
public class Group
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("desc")]
public string Desc { get; set; }
[XmlAttribute("type")]
public string Type { get; set; }
[XmlAttribute("color")]
public string Color { get; set; }
[XmlElement("pin")]
public Pin[] Pin { get; set; }
}
public class Pin
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("desc")]
public string Desc { get; set; }
}
}