Example #1
0
 static void publishTomahawk(Channel topic, int position, string timestamp)
 {
     topic.send(new Dictionary <string, object> {
         { "liveValue", position },
         { "liveTimestamp", timestamp }
     });
 }
Example #2
0
 static void publishAim(Channel topic, string tag, string ticker, string yellowKey, int position, string timestamp)
 {
     topic.send(new Dictionary <string, object> {
         { "TIMESTAMP", timestamp },
         { "level1TagName", tag },
         { "currentPosition", position + "" },
         { "ticker", ticker },
         { "yellowKey", yellowKey },
     });
 }