修改导入显示
This commit is contained in:
23
U8AppMain/ResultEnity/Item.cs
Normal file
23
U8AppMain/ResultEnity/Item.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
namespace U8AppMain.ResultEnity
|
||||
{
|
||||
public class Item
|
||||
{
|
||||
// <item key = "CGQGD2132133" succeed="0" dsc="ok" u8key="CGQGD2132133"></item>
|
||||
|
||||
[XmlAttribute]
|
||||
public string key { get; set; }
|
||||
[XmlAttribute]
|
||||
|
||||
public string succeed { get; set; }
|
||||
[XmlAttribute]
|
||||
public string dsc { get; set; }
|
||||
[XmlAttribute]
|
||||
public string u8key { get; set; }
|
||||
}
|
||||
}
|
||||
29
U8AppMain/ResultEnity/ufinterface.cs
Normal file
29
U8AppMain/ResultEnity/ufinterface.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
namespace U8AppMain.ResultEnity
|
||||
{
|
||||
public class ufinterface
|
||||
{
|
||||
// <ufinterface roottag = "return" docid="123" proc="add" sender="u8" receiver="003"
|
||||
// request-roottag="purchaseapp">
|
||||
// <item key = "CGQGD2132133" succeed="0" dsc="ok" u8key="CGQGD2132133"></item>
|
||||
//</ufinterface>
|
||||
[XmlAttribute]
|
||||
public string roottag { get; set; }
|
||||
[XmlAttribute]
|
||||
public string docid { get; set; }
|
||||
[XmlAttribute]
|
||||
public string proc { get; set; }
|
||||
[XmlAttribute]
|
||||
public string receiver { get; set; }
|
||||
[XmlAttribute(attributeName: "request-roottag")]
|
||||
public string requestroottag { get; set; }
|
||||
|
||||
[XmlElement(Type = typeof(Item),ElementName ="item")]
|
||||
public List<Item> Items { get; set; } = new List<Item>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user