|
@@ -13,6 +13,7 @@ namespace Bellwether.Utility
|
|
|
public static readonly List<string> PageNameList = new List<string>() { "大事記", "產品展示", "社會責任" };
|
|
|
|
|
|
public static int BackHomeSec { get => settingJsonFile.BackHomeSec; }
|
|
|
+ public static string SolarEnergyUrl { get => settingJsonFile.SolarEnergyUrl; }
|
|
|
|
|
|
private static string dataDirectory = System.IO.Path.Combine(Directory.GetCurrentDirectory(), "Data");
|
|
|
private static string settingJsonDataPath = System.IO.Path.Combine(dataDirectory, "setting.ini");
|
|
@@ -71,5 +72,6 @@ namespace Bellwether.Utility
|
|
|
public class SettingJson
|
|
|
{
|
|
|
public int BackHomeSec { get; set; }
|
|
|
+ public string SolarEnergyUrl { get; set; }
|
|
|
}
|
|
|
}
|