This commit is contained in:
2021-04-30 10:28:37 +08:00
commit f901e87a6e
9029 changed files with 1810915 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SgManager.AI
{
public class ConfigAppSetting
{
public static double getConfigAppSetting(String name)
{
try
{
return Convert.ToDouble(System.Configuration.ConfigurationManager.AppSettings[name]);
}
catch (Exception ex)
{
return 0;
}
}
}
}