예제 #1
0
파일: AppData.cs 프로젝트: af3290/ema
        public static void GasExcelToJson()
        {
            var d = new Downloader();
            var x = d.GetGasFutures();

            foreach (var item in x)
            {
                Commons.SaveFileAsJson(GetAppDataServerPath() + "/Gas/" + item.Name + ".json", item);
            }
        }
예제 #2
0
파일: AppData.cs 프로젝트: af3290/ema
 public static void GasSpotExcelToJson()
 {
     var d = new Downloader();
     var x = d.GetGasSpot();
     Commons.SaveFileAsJson(GetAppDataServerPath() + "/Gas/" + x.Name + ".json", x);
 }