public TimeSeriesResponseType GetValues(string SiteNumber, string Variable, string StartDate, string EndDate) { Stopwatch timer = System.Diagnostics.Stopwatch.StartNew(); GetValuesOD obj = new GetValuesOD(); queryLog2.LogValuesStart(Logging.Methods.GetValues, // method SiteNumber, //locaiton Variable, //variable StartDate, // startdate StartDate, //enddate appContext.Request.UserHostName ); TimeSeriesResponseType resp = obj.getValues(SiteNumber, Variable, StartDate, EndDate); queryLog2.LogValuesEnd(Logging.Methods.GetValues, SiteNumber, //locaiton Variable, //variable StartDate, // startdate StartDate, //enddate timer.ElapsedMilliseconds, // processing time resp.timeSeries.values.value.Length, // count appContext.Request.UserHostName ); return(resp); }
public TimeSeriesResponseType GetValues(string SiteNumber, string Variable, string StartDate, string EndDate) { Stopwatch timer = System.Diagnostics.Stopwatch.StartNew(); GetValuesOD obj = new GetValuesOD(); queryLog2.LogValuesStart(Logging.Methods.GetValues, // method SiteNumber, //locaiton Variable, //variable StartDate, // startdate StartDate, //enddate appContext.Request.UserHostName ); TimeSeriesResponseType resp = obj.getValues(SiteNumber, Variable, StartDate, EndDate); queryLog2.LogValuesEnd(Logging.Methods.GetValues, SiteNumber, //locaiton Variable, //variable StartDate, // startdate StartDate, //enddate timer.ElapsedMilliseconds, // processing time resp.timeSeries.values.value.Length, // count appContext.Request.UserHostName ); return resp; }