using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QMTask.Core { /// /// /// public class Configuration { /// /// Gets the name of the service. /// /// The name of the service. public static string ServiceName = "QMTaskService"; /// /// Gets the display name of the service. /// /// The display name of the service. public static string ServiceDisplayName = "启明任务调度服务"; /// /// Gets the service description. /// /// The service description. public static string ServiceDescription = "启明任务调度服务"; /// /// 获取任务配置XML路径 /// /// public static string TaskConfigPath() { return System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "TaskConfig.xml"; } /// /// 获取计划配置XML路径 /// /// public static string PlanConfigPath() { return System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "PlanConfig.xml"; } } }