//public static string calculationLibCall(string calculationType, public static string calculationLibCall(string calculationType, string instrumentXml, string parametorXml, string underHistData, DateTime refDate) { DBCalendar dbC = new DBCalendar(); //string result = ""; //string type = "stepdownki"; StringBuilder result = new StringBuilder(10000); StringBuilder log = new StringBuilder(500); //Console.WriteLine(instrumentXml); //Console.WriteLine(parametorXml); testFunction(calculationType, instrumentXml, parametorXml, underHistData, dbC.serialNumber(refDate), result, log, result.Capacity); //Console.WriteLine(result); //return result.ToString(); return result.ToString(); }
//public static string calculationLibCall(string calculationType, public static string calculationLibCall(string calculationType, string instrumentXml, string parametorXml, string underHistData, DateTime refDate) { DBCalendar dbC = new DBCalendar(); //string result = ""; //string type = "stepdownki"; StringBuilder result = new StringBuilder(10000); StringBuilder log = new StringBuilder(500); //Console.WriteLine(instrumentXml); //Console.WriteLine(parametorXml); testFunction(calculationType, instrumentXml, parametorXml, underHistData, dbC.serialNumber(refDate), result, log, result.Capacity); //Console.WriteLine(result); //return result.ToString(); return(result.ToString()); }
public Calendar() { this.dbCalendar_ = new DBCalendar(); this.calendarName_ = "EmptyCalendar"; }