You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
55 lines
1.5 KiB
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<TaskPackagePathConfig>(this); |
|
return Str; |
|
} |
|
} |
|
|
|
|
|
public class OutputPaths |
|
{ |
|
public OutputPaths() |
|
{ |
|
outputPathList = new List<OutputPath>(); |
|
} |
|
[XmlElement(ElementName = "OutputPath")] |
|
public List<OutputPath> 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; } |
|
|
|
} |
|
}
|
|
|