public static sysGlobalClass.TRetunrLoadData SaveData(sysGlobalClass.TRetunrLoadData lst, string sFacility, string sYear) { sysGlobalClass.TRetunrLoadData o = new sysGlobalClass.TRetunrLoadData(); Intensity_Function.IntensityClass ic = new Intensity_Function.IntensityClass(); ic.rt = lst; ic.nIndicator = nIndicator; ic.nOperationType = nOperationType; ic.nFacility = SystemFunction.GetIntNullToZero(sFacility); ic.sYear = sYear; ic.sFolderInPathSave = sFolderInPathSave; ic.lstMonth = lst.lstMonth; o = Intensity_Function.SaveData(ic); return(o); }
public static sysGlobalClass.TRetunrLoadData CreateLinkExport(string sFacility, string sYear) { sysGlobalClass.TRetunrLoadData o = new sysGlobalClass.TRetunrLoadData(); Intensity_Function.IntensityClass ic = new Intensity_Function.IntensityClass(); ic.rt = o; ic.nIndicator = nIndicator; ic.nOperationType = nOperationType; ic.nFacility = SystemFunction.GetIntNullToZero(sFacility); ic.sYear = sYear; ic.sFolderInPathSave = sFolderInPathSave; ic.lstMonth = new List <int>(); o = Intensity_Function.CreateLinkExport(ic); return(o); }