写着玩的个人笔记
[XmlRoot("configuration")]
public class SurveillanceData
{
[XmlElement("node")]
public List<Data2> node { get; set; }
[XmlElement("play")]
public string play { get; set; }
}
public class Data2
{
private string _playtype;
[XmlAttribute]
public string group { get; set; }
[XmlAttribute]
public string name { get; set; }
[XmlAttribute]
public string playtype { get; set; }
public string mainUrl { get; set; }
public string childUrl { get; set; }
}