天津投入产出系统后端
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.
 
 
 
 
 
 

51 lines
1.4 KiB

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