static void publishTomahawk(Channel topic, int position, string timestamp) { topic.send(new Dictionary <string, object> { { "liveValue", position }, { "liveTimestamp", timestamp } }); }
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 }, }); }