using System;
|
using System.Collections.Generic;
|
using System.Configuration;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Server
|
{
|
/// <summary>
|
/// AppConfig
|
/// </summary>
|
public class ConfigHelper
|
{
|
|
/// <summary>
|
/// 是否写日志
|
/// </summary>
|
public static bool IsWriteLog
|
{
|
get
|
{
|
return Settings.Handle.Debug.IsWriteLog;
|
}
|
}
|
|
/// <summary>
|
/// 数据对接通道名称
|
/// </summary>
|
public static string DataDockingQueueName
|
{
|
get
|
{
|
return Settings.Queue.DataDockingQueueName;
|
}
|
}
|
|
/// <summary>
|
/// 存储通道名称
|
/// </summary>
|
public static string StoreQueueName
|
{
|
get
|
{
|
return Settings.Queue.StoreQueueName;
|
}
|
}
|
|
/// <summary>
|
/// 运行交换机名称
|
/// </summary>
|
public static string RunExchangeName
|
{
|
get { return Settings.Queue.RunExChangeName; }
|
}
|
|
}
|
}
|