Exemplo n.º 1
0
 static void publishTomahawk(Channel topic, int position, string timestamp)
 {
     topic.send(new Dictionary <string, object> {
         { "liveValue", position },
         { "liveTimestamp", timestamp }
     });
 }
Exemplo n.º 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 },
     });
 }
Exemplo n.º 3
0
 public FerretControl(FerretControlGui gui, Channel status)
 {
     this.gui = gui;
     status.subscribe(fields => changeStatus(fields.text("FERRETSTATE")));
 }