Ejemplo n.º 1
0
 /// <summary>
 /// Creates the range for days
 /// </summary>
 /// <param name="days">period count</param>
 /// <param name="frequncy">frequency rate</param>
 /// <returns>configured range object</returns>
 public static History Days(HowManyDays days, Minutes frequncy)
 {
     return(Create(Models.PeriodType.Day, (ushort?)days, Models.FrequencyType.Minute, (ushort?)frequncy));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the range for day with the default minute rate
 /// </summary>
 /// <param name="days">period count</param>
 /// <returns>configured range object</returns>
 public static History Days(HowManyDays days)
 {
     return(new History(Models.PeriodType.Day, (ushort)days, null, null));
 }