using KGIS.Framework.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace Kingo.Plugin.MakeTaskPackage.Model { [XmlRoot("TaskPackagePathConfig")] public class TaskPackagePathConfig { public TaskPackagePathConfig() { outputPaths = new OutputPaths(); } [XmlElement(ElementName = "OutputPaths")] public OutputPaths outputPaths { get; set; } public string ToXML() { string Str = SerializeAPI.SerializeToXML(this); return Str; } } public class OutputPaths { public OutputPaths() { outputPathList = new List(); } [XmlElement(ElementName = "OutputPath")] public List outputPathList { get; set; } } public class OutputPath { [XmlAttribute("AppName")] public string AppName { get; set; } [XmlAttribute("RootDirectory")] public string RootDirectory { get; set; } [XmlAttribute("TaskName")] public string TaskName { get; set; } [XmlAttribute("ProfileName")] public string ProfileName { get; set; } [XmlAttribute("EncryFileDirectory")] public string EncryFileDirectory { get; set; } [XmlAttribute("EncryFileName")] public string EncryFileName { get; set; } } }