Beispiel #1
0
 private Message GenerateMessage(SeriesConfig c, string _group, string _timestamp, double _value)
 {
     return(new Message()
     {
         id = c.Id, group = _group, rank = c.Rank, title = c.Title, timestamp = _timestamp, value = _value
     });
 }
Beispiel #2
0
 private SlimMessage GenerateSlimMessage(SeriesConfig c, string _group, string _timestamp, double _value)
 {
     return(new SlimMessage()
     {
         id = c.Id, value = _value
     });
 }
Beispiel #3
0
 public DoubleSeriesGenerator(string group, GeneratorConfig generatorConfig, Dictionary <string, DoubleSeries> seriesDict, Random rnd, DoubleSeries series, SeriesConfig config)
 {
     this.group           = group;
     this.generatorConfig = generatorConfig;
     this.seriesDict      = seriesDict;
     this.rnd             = rnd;
     this.series          = series;
     this.config          = config;
 }