using System;
|
using System.Configuration;
|
|
namespace iWareCommon.Utils
|
{
|
/// <summary>
|
/// web.config操作类
|
/// Copyright (C) TBEA.WMS
|
/// </summary>
|
public sealed class WCSConfigHelper
|
{
|
|
|
/// <summary>
|
/// 获取当前程序配置的 是否模拟PLC
|
/// </summary>
|
/// <returns></returns>
|
public static bool GetConfig_IsSimulationPLC()
|
{
|
return ConfigHelper.GetConfigBool("IsSimulationPLC");
|
//*/
|
//return false;//!!!!!注意:这里一定是FALSE!!!!!
|
}
|
|
|
}
|
}
|