|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.PluginServiceInterface
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 举证照片关联配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class WYZPCfg
|
|
|
|
|
{
|
|
|
|
|
public WYZPCfg()
|
|
|
|
|
{
|
|
|
|
|
LayerFields = new List<FieldInfo>();
|
|
|
|
|
WYRelevantModel = new List<RelevantModelInfo>();
|
|
|
|
|
}
|
|
|
|
|
[XmlAttribute("LayerName")]
|
|
|
|
|
public string LayerName { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("LayerAliasName")]
|
|
|
|
|
public string LayerAliasName { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("IsCheck")]
|
|
|
|
|
public bool IsCheck { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("RelevantModel")]
|
|
|
|
|
public string RelevantModel { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("AreaScale")]
|
|
|
|
|
public string AreaScale { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("Order")]
|
|
|
|
|
public int Order { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("AttributeField")]
|
|
|
|
|
public string AttributeField { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement(ElementName = "LayerFields")]
|
|
|
|
|
public List<FieldInfo> LayerFields { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement(ElementName = "WYRelevantModel")]
|
|
|
|
|
public List<RelevantModelInfo> WYRelevantModel { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class FieldInfo
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("Name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
[XmlAttribute("Alias")]
|
|
|
|
|
public string Alias { get; set; }
|
|
|
|
|
[XmlAttribute("Index")]
|
|
|
|
|
public int Index { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RelevantModelInfo
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("Name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("Index")]
|
|
|
|
|
public int Index { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|