using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace WIDESEA.Common { [XmlRoot("ROOT")] public class getInfoByBearingXMLEntity { [XmlElement] public string FLAG { get; set; } [XmlElement] public string ERROR { get; set; } /// /// 轴承条码 /// [XmlElement] public string BEARING { get; set; } /// /// 车型 /// [XmlElement] public string TRAINTYPE { get; set; } /// /// 厂家 /// [XmlElement] public string MANUFACTOR { get; set; } /// /// 轴承类型< /// [XmlElement] public string BEARTYPE { get; set; } /// /// 检修次数 /// [XmlElement] public string MAINFREQ { get; set; } /// /// 批次 /// [XmlElement] public string RKDH { get; set; } [XmlElement] public string REMARK { get; set; } public string ProductDate { get;set; } } [XmlRoot("sendresult")] public class sendresult { [XmlElement] public string billpk { get; set; } [XmlElement] public string bdocid { get; set; } [XmlElement] public string filename { get; set; } [XmlElement] public string resultcode { get; set; } [XmlElement] public string resultdescription { get; set; } [XmlElement] public string content { get; set; } [XmlElement] public invaliddoc invaliddoc { get; set; } } [XmlRoot("invaliddoc")] public class invaliddoc { [XmlElement] public List docitem { get; set; } } [XmlRoot("docitem")] public class docitem { [XmlAttribute] public string name { get; set; } [XmlText] public string value { get; set; } } }